You are not logged in.
I have the following in my .zshrc:
if [[ $STY = '' ]] then screen -d -R chris; fi
This works great when using GDM: I log in, and upon opening a terminal, I have my screen session. I can then open another terminal and the screen session is transferred across, detached in the previous terminal window.
If I don't use GDM, screen starts when I log in (in framebuffer mode?), as I'd expect. But then when I type 'startx' and open a terminal in GNOME, my screen session isn't transferred.
Is there a way to get screen to start in gnome-terminal, after running 'startx'?
Offline
if you got a screen running with the same user screen -d -r should do the trick in gnome-terminal.
Offline
It does, I'd just rather not type it.
Using GDM as my login method, gnome-terminal automatically grabs the screen session (because it's not already started?).
Using startx method, gnome-terminal doesn't get the screen session.
I just wonder if there's a way to get the first outcome with the second method?
Offline
doesn't gnome have an autostart? Couldn't you write a small script to open a terminal window and attatch to a screen session after gnome boots. I assume your using gnome.
Offline