LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-15-2005, 05:22 AM   #1
timothee
LQ Newbie
 
Registered: Jan 2005
Location: Singapore
Distribution: Gentoo / Mepis
Posts: 10

Rep: Reputation: 0
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.
 
Old 01-15-2005, 05:46 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 01-15-2005, 10:50 AM   #3
timothee
LQ Newbie
 
Registered: Jan 2005
Location: Singapore
Distribution: Gentoo / Mepis
Posts: 10

Original Poster
Rep: Reputation: 0
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?
 
Old 01-16-2005, 02:07 AM   #4
BinaryBob
Member
 
Registered: Aug 2002
Posts: 117

Rep: Reputation: 15
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/
 
Old 01-16-2005, 09:59 AM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Crash when closing kde session arubin Slackware 3 12-01-2005 06:25 AM
compressing forwarded X? theonebeyond Linux - General 0 12-02-2004 03:05 AM
SuSE 9.1 hangs when "Resuming session" panostra Linux - Newbie 1 09-09-2004 04:46 PM
Resuming upload with Proftpd JimKyle Linux - Networking 2 03-07-2002 10:30 AM
X-Window Freeze when closing X Session smitchel Linux - Software 3 11-12-2001 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration