SSH'ing to my machine attaches an existing screen session and detaching it ends my SSH session

Posted by jsplaine on Ask Ubuntu See other posts from Ask Ubuntu or by jsplaine
Published on 2012-08-04T20:02:45Z Indexed on 2012/10/14 9:51 UTC
Read the original article Hit count: 372

Filed under:
|
|

ssh'ing to my Ubuntu machine automatically attaches an existing screen session and detaching ends my ssh session


What I want is to be able to ssh to my Ubuntu machine without automatically attaching to the screen session on that machine. Or at least, I should be able to to detach from that screen session w/o ending my ssh session .. right? Doesn't seem to work.

This so that I can attempt to run firefox --display <whichever one is being forwarded to my ssh session>, so that I can debug a website that the remote Ubuntu machine is running (via localhost).

Best case scenario is that I could just remote-desktop to my Ubuntu machine. But it's not set up to allow remote-desktop, and I see no way to set it up remotely via shell/ssh. Also, it sounds like you need a static IP in order to remote desktop to an Ubuntu machine (so I keep reading).

© Ask Ubuntu or respective owner

Related posts about ssh

Related posts about screen