View previous topic :: View next topic |
Author |
Message |
Sm1 Apprentice
Joined: 02 Dec 2003 Posts: 251 Location: Ames, IA
|
Posted: Tue Dec 02, 2003 11:50 pm Post subject: X11 Forward the console session through SSH |
|
|
I'm looking to find a way other than VNC to forward the display 0.0 (The display shown when logged in interactively) when SSHing into my newly compiled machine.
I am at a bit of a level of ambiguity whether this is possible.
I have achieved running cygwin/putty combination and getting an SSH session into the gentoo box and forwarding to a different display, but if that connection is lost then the whole session is lost. I figure if i can share the console display, if i get disconnected, i can just reconnect to that display and all will be as previously.
Last edited by Sm1 on Wed Dec 03, 2003 3:55 am; edited 1 time in total |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Wed Dec 03, 2003 12:37 am Post subject: |
|
|
Console display? The 'console' the text-only (or sometimes framebuffered) screen you see when Linux boots up. Do you mean the first screen on the first X server - :0.0? |
|
Back to top |
|
|
line72 Apprentice
Joined: 13 Jun 2002 Posts: 212
|
Posted: Wed Dec 03, 2003 2:04 am Post subject: |
|
|
install the program called screen, it will let you do what you want |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Wed Dec 03, 2003 2:22 am Post subject: |
|
|
line72 wrote: | install the program called screen, it will let you do what you want |
If he's saying what I now think he's saying, then I agree - 'screen' is what you want. There's plenty of info around on how to get started with it. |
|
Back to top |
|
|
Sm1 Apprentice
Joined: 02 Dec 2003 Posts: 251 Location: Ames, IA
|
Posted: Wed Dec 03, 2003 2:45 am Post subject: |
|
|
Yea what i was looking to do was forward the display 0:0 not the actual console.
i am emerging screen as i type right now, ill see how that goes |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Wed Dec 03, 2003 3:02 am Post subject: |
|
|
Ok, screen will not help with X displays. If you want to remotely access the entire X 'screen' you need to use something like VNC. If you want a remote app to draw it's GUI on your X server, you can use ssh -X. Remember, the application that displays the graphics is the 'X server' and the application that produces the output is the X client (e.g. xterm). |
|
Back to top |
|
|
Sm1 Apprentice
Joined: 02 Dec 2003 Posts: 251 Location: Ames, IA
|
Posted: Wed Dec 03, 2003 3:26 am Post subject: |
|
|
hmmm this is turning into more trouble than i was hoping. And screen doesnt seem to be very much of help |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Wed Dec 03, 2003 3:40 am Post subject: |
|
|
XSession can 'remember' what you had open and reopen apps for you when you restart X. It doesn't remember application state however, so you won't get back to where you were.
There's something like screen for X called xnest but I don't think it works very well. |
|
Back to top |
|
|
Sm1 Apprentice
Joined: 02 Dec 2003 Posts: 251 Location: Ames, IA
|
Posted: Wed Dec 03, 2003 4:19 am Post subject: |
|
|
I have hunted quite a bit across google and it looks as though all signs point towards the only way this would work is through VNC unfortunately.
And now that i seem to understand how this whole X server and client thing works, it wouldnt make sense for an X client such as KDE be connected to two X servers (one on the local machine and one on the remote machine |
|
Back to top |
|
|
|