[Lxc-users] Exiting container inside a screen session

Martin Konečný martin.konecny at sourcefabric.org
Fri Feb 1 21:51:36 UTC 2013


Thanks guys, remapping to ^B worked like a charm.

M


On Fri, Feb 1, 2013 at 4:08 PM, Serge Hallyn <serge.hallyn at canonical.com>wrote:

> Quoting Martin Konečný (martin.konecny at sourcefabric.org):
> > As you may know, screen overrides the shortcut Ctrl-a for it's own
> > commands. I accidentally lxc-console'd into a container inside screen,
> and
> > now I can't get out of it using Ctrl-a q since screen is intercepting
> this.
> >
> > Any tips?
>
> 1. type ctrl-a ctrl-a to tell screen you want to hit a ctrl-a
>
> 2. use screen with a different escape sequence.  I often use
>         screen -e^Yy
>    in a terminal, with dvtm inside that, and from there I will launch
>    byobu-screen or byobu-tmux using ctrl-a, or lxc consoles, without
>    having to escape.
>
> -serge
>



-- 
Open source radio in the cloud. Get yours now! ---> http://airtime.pro

Martin Konecny
Software Developer, Sourcefabric
martin.konecny at sourcefabric.org

720 Bathurst St. Suite 203
M5S 2R4, Toronto, ON, Canada
+1 (416) 892-8420 (Cell)
Skype: martin.konecny15

http://www.sourcefabric.org
http://www.twitter.com/Sourcefabric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130201/19e3c0fd/attachment.html>


More information about the lxc-users mailing list