[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: all apps in my screen lost across X reboot

From: ping
Subject: Re: all apps in my screen lost across X reboot
Date: Thu, 28 Jul 2011 17:46:33 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110628 Thunderbird/5.0

hi kevin:
I tried that and it looks good, in terms that my apps inside screen now get retained across X reboot...but then I find another issue that make it hard to use this approach in practice:
it looks now I can't copy$paste between vim and other apps, or even between vim instances I was running inside screen...
previously I can at least achieve that with following vim config:

if match($TERM, "screen")!=-1
  set term=xterm
  let g:GNU_Screen_used = 1
  let g:GNU_Screen_used = 0

function! InScreen(command)
  return g:GNU_Screen_used ? 'screen '.a:command : a:command

I double maybe this related to the fact that, with this approach now screen (and all its child) is not a child of X, so it has problem to access the X selections or clipboards...
any idea?


On 07/07/2011 03:21 PM, ping wrote:
hi Kevin:
thanks and that sounds exactly what my issue was.
I'll try start screen from outside of X and see if it is ok.


On 07/07/2011 09:37 AM, Kevin Van Workum wrote:

If you start screen from an X session,  then screen is a child of X. So when X dies, so does screen. To do what you want, you would have to start screen outside of X. 

There are many ways to do this. For example, you could start a screen session at boot time from rc.local. Or you could just switch to a different tty (e.g. ctrl-alt-F2) and start a new screen session there. Then go back to X (ctrl-alt-F7) and reattach to that screen session.


On Mon, Jul 4, 2011 at 2:44 PM, ping <address@hidden> wrote:
I use screen for years and I'm happy with it.
one thing annoyed me a lot is everytime when i need to reload X (it's not stable), and when I come back and find everything in my screen (vim, news, mutt, telnet, ssh,...everything) also went away, the session/windows are there though. searching the internet I haven't got much useful info.
people are saying they use screen to get persistent sessions across can i archive that?



screen-users mailing list

Kevin Van Workum, PhD
Sabalcore Computing Inc.
Run your code on 500 processors.
Sign up for a free trial account.
877-492-8027 ext. 11

reply via email to

[Prev in Thread] Current Thread [Next in Thread]