Re: [bitfolk] Screen on console

Top Page
Author: Andy Smith
Date:  
To: users
Subject: Re: [bitfolk] Screen on console

Reply to this message
gpg: Signature made Sun Sep 27 10:34:05 2015 UTC
gpg: using DSA key 2099B64CBF15490B
gpg: Good signature from "Andy Smith <andy@strugglers.net>" [unknown]
gpg: aka "Andrew James Smith <andy@strugglers.net>" [unknown]
gpg: aka "Andy Smith (UKUUG) <andy.smith@ukuug.org>" [unknown]
gpg: aka "Andy Smith (BitFolk Ltd.) <andy@bitfolk.com>" [unknown]
gpg: aka "Andy Smith (Linux User Groups UK) <andy@lug.org.uk>" [unknown]
gpg: aka "Andy Smith (Cernio Technology Cooperative) <andy.smith@cernio.com>" [unknown]
Hi Tony,

On Sun, Sep 27, 2015 at 11:13:17AM +0100, Tony Andersson wrote:
> Maybe it is me that have missed something (as usual), but it seems
> that I have a strange behaviour at (in? on? with?) the vps console. I
> can login as usual, and screen is starting up a shell on my vps. But
> if I detach the screen process from the console (with C^-a d for
> example), I am immediately logged out.


Xen Shell is itself GNU Screen. It sounds like you have started a
screen within Screen. You would, I think, need to double up the
ctrl-a there to send the command to your own Screen, and this
becomes immensely confusing.

If it is any consolation I also find use of GNU Screen on real
serial consoles and IPMI serial-over-lan to be "a bit much" for the
environment and so try to avoid doing it wherever possible, spending
as little time as I can in the console.

> At that stage I expected to get to the xen shell so I could
> control the state of my vps. But that does not happen.


Since the Xen Shell is GNU Screen, using ctrl-a c to create a new
window would result in a new window at the Xen Shell menu and leave
your existing window at your console, with ctrl-a a toggling between
them.

If you really wanted to kill your console session and return to the
Xen Shell menu then it is ctrl-]. I am not sure how or if that would
work if you had made a screen within Screen.

In any case once you have gone into the console it is usually
simpler to create a new window for the menu and toggle between.

If that helped, perhaps https://tools.bitfolk.com/wiki/Xen_Shell
could do with some love to make it more obvious?

Cheers,
Andy

--
http://bitfolk.com/ -- No-nonsense VPS hosting

"What should one say after making love? ``Thank you'' seems too much.
``I'm sorry'' - somehow not enough." — The League Against Tedium