Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


How do I properly quit a screen session?

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> General Discussion
Author Message
pobrien



Joined: 23 Nov 2003
Posts: 4

Posted: Thu Dec 04, 2003 8:35 pm    Post subject: How do I properly quit a screen session?  

I'm using Konsole on KDE to SSH into Linode to the "screen" session of my Linode's console. That all works fine and I can log in and out. :D

But I can't figure out a proper way to exit the screen session. The Quit command (C-a C-\) doesn't work, nor does the suspend command (C-a z). I can simply close the Konsole window, but I'm not sure that's really "proper." What am I missing? :?:
Back to top  
schof



Joined: 18 Sep 2003
Posts: 46
Location: Los Angeles

Posted: Thu Dec 04, 2003 10:58 pm    Post subject: Re: How do I properly quit a screen session?  

pobrien wrote: I'm using Konsole on KDE to SSH into Linode to the "screen" session of my Linode's console. That all works fine and I can log in and out. :D

But I can't figure out a proper way to exit the screen session. The Quit command (C-a C-\) doesn't work, nor does the suspend command (C-a z). I can simply close the Konsole window, but I'm not sure that's really "proper." What am I missing? :?:

I'm not sure I'm answering the question you're asking, but have you tried typing "exit"? (It's always a good idea to get the "is it plugged in?" questions out of the way first.)

Schof
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ

Posted: Thu Dec 04, 2003 10:58 pm    Post subject:  

C-a d detaches and takes you back to Lish, then "d" to disconnect.

-Chris

update: fixed typo
Back to top  
vitre0us



Joined: 22 Jul 2003
Posts: 32
Location: Southern California

Posted: Fri Dec 05, 2003 12:26 am    Post subject:  

I've had times when my connection got interrupted while using the console, and upon reconnecting it thinks I’m still logged in and won't time out for a few hours...

So if you’re unable to get back in through SSH, in that sort of situation you’re stuck :-(

How long is the timeout on that session? Any way anyone can think of to have it drop the connection? Maybe have an option appear when that error reports an existing connection to give you the ability to take over and drop the other?

Just an idea
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ

Posted: Fri Dec 05, 2003 12:42 am    Post subject:  

Check it out now...

[RETURN] to continue, [k]ill active screen sessions, [d]isconnect:

-Chris
Back to top  
vitre0us



Joined: 22 Jul 2003
Posts: 32
Location: Southern California

Posted: Fri Dec 05, 2003 12:49 am    Post subject:  

awesome chris :P
Back to top  
pobrien



Joined: 23 Nov 2003
Posts: 4

Posted: Fri Dec 05, 2003 8:57 am    Post subject: Still not working  

The good news: I created a second ssh session and saw the new options - very nice, Chris. Your support is fantastic.

The bad news: I tried "C-a a" and then "d" and the only thing that happens is a "d" appears after the login: prompt.

I'm sitting at a fairly generic Mandrake 9.1 machine running KDE. I tried this in Konsole, a Gnome Terminal (still under KDE, not Gnome) and Xterm, all with the same results. Closing these programs seems to not have any ill effects. But I sure wish I could quit properly.

Any idea what might be wrong? Am I just being idiotic?
Back to top  
dmuench



Joined: 30 Oct 2003
Posts: 51
Location: Rochester, NY

Posted: Fri Dec 05, 2003 9:14 am    Post subject:  

ctrl-a d to detach from screen.
Back to top  
pobrien



Joined: 23 Nov 2003
Posts: 4

Posted: Sat Dec 06, 2003 4:32 pm    Post subject: Finally!  

I'm not sure how I misread Chris the first time. Thanks. :!:
Back to top  
 
       Linode.com Forum Forum Index -> General Discussion
Page 1 of 1