[xen-tools-discuss] Re: Screen terminates immediately (xen-shell)

doug at wandell.com doug at wandell.com
Wed Oct 29 17:25:27 CET 2008


Quoting Steve Kemp <steve at steve.org.uk>:

> On Tue Oct 21, 2008 at 20:34:23 -0400, doug at wandell.com wrote:
>
>> User 'xstester' can log in when the default shell is /bin/sh.
>
>   Great.
>
>> Invoking /usr/bin/xen-login-shell causes the screen to flash, then
>> screen terminates.  Xstester can run 'screen' however, from the
>> command line, no problem.
>
>   OK that's good then.
>
>   If I were you I'd try running, as this user:
>
>     xen-shell
>
>   That should give no errors, and present you with the xen-shell.
>   If it gives you errors then that is why screen is exiting.

Yes, that's it.  I get:

There were no Xen configuration files found which matched the pattern:

  /etc/xen/*

Please update /etc/xen-shell/xen-shell.conf

Although I can't immediately see why.  Must they end in .cfg?  I  
wouldn't think so.  Making configs world-readable doesn't help.


>
>    If there are no errors next try running:
>
>     screen -d -R -c /etc/xen-shell/_screenrc  -e^Aa -s   
> /usr/bin/xen-shell -S $USER
>
>   That's the command that xen-login-shell eventually ends up running.
>  It might that something is weird with the screen install you have,
>  because that shouldn't fail.
>
> Steve
> --
> Try out tscreen - My fork of GNU Screen:
> http://www.steve.org.uk/Software/tscreen
>
>
>








More information about the xen-tools-discuss mailing list