LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   closing and resuming x forwarded session? (https://www.linuxquestions.org/questions/linux-networking-3/closing-and-resuming-x-forwarded-session-278024/)

timothee 01-15-2005 05:22 AM

closing and resuming x forwarded session?
 
Hi all,

Newbie here, I'd like to do something I am not sure how to explain so I apologize if the following is messy.

When I connect to a remote computer to launch some gui program via x forwarding (all that through ssh), is there any way to close connection between the 2 PCs *without* closing the x program? And later resume the connection and view again my gui program as I left it?

Basically, I have 2 computers on my home network: one is my desktop machine, the other is a my music player, you may say, connected to my stereo system and to a large mp3/ogg collection. At the moment, I connect to the music player via ssh and launch Juk via x forwarding so it appears on my desktop. From there, I set up my playlist and launch the music. All plays fine, so far so good. Thing is I must keep the ssh connection open, the juk interface is still on my desktop and juk's output scrolls in my console.

I don't need the connection to be on untill I need to change something. So After I launch the music, I'd like to close the connection but somehow be able to resume it so I can see the same Juk and control it again.

Can it be done?

Thanx in advance,
Tim.

acid_kewpie 01-15-2005 05:46 AM

not possible afaik. but you might want to look at a vnc session instead, that will certainly provide a version of the functionalitry you're after.

timothee 01-15-2005 10:50 AM

Thanks for that Chris. I haven't heard of vnc before but I'll start looking. Is there a good resource you know of to get started?

BinaryBob 01-16-2005 02:07 AM

This gets REALLY close to what you are looking for I think. Standard VNC on linux creates its own display, this tool will share the ALREADY OPEN X session. Its called x11vnc.

http://www.karlrunge.com/x11vnc/

keefaz 01-16-2005 09:59 AM

You could create a server/client juke box application or search for a similar software if it
already exists (probably a lot)

Basically, I would do a sound server which post URL of sound and sounds list based on a request
from the jukebox client, it can even be done with an apache server with php and maybe some
javascript to give to client more feature.


All times are GMT -5. The time now is 02:51 PM.