LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-09-2009, 08:12 AM   #1
drobert
LQ Newbie
 
Registered: Dec 2007
Location: Budapest, Hungary
Distribution: Fedora Core 11
Posts: 10

Rep: Reputation: 0
interrupting remote gui app with/wthout vnc


Hi all!

I can't actually formulate my problem to feed it with google, maybe you have some idea.

I have a FC11 pc and I have qtoctave on it. There are users using this pc as desktop pc. I want to run qtoctave with a very long computation, of course remotely. Because the desktop users I can't use vnc. I may use "ssh user@remotehost -X" off a laptop for that, but I would like to switch off my laptop during the very long computation and later reconnect to the screen (or at least to the window) of my qtoctave, without interrupting the the previously started qtoctave (or whatever other program).

So what is the solution I am looking for?

Thank you!

Best,
Robert
 
Old 07-09-2009, 08:59 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
I would see if I could run qtoctave in a queue via the at utility. I don't know if turning off the remote machine would hang qtoctave or if qtoctave would reconnect to your remote display when you turn the remote computer back on. I'd give it a try to see what happens.

I'm going to put this on my todo list of things to find out. It sounds like it could be very useful.

Last edited by stress_junkie; 07-09-2009 at 09:00 AM.
 
Old 07-10-2009, 01:11 AM   #3
drobert
LQ Newbie
 
Registered: Dec 2007
Location: Budapest, Hungary
Distribution: Fedora Core 11
Posts: 10

Original Poster
Rep: Reputation: 0
I have an idea with Xvnc.
It makes a virtual X session at connecting - as far as I unterstood that right - and closes is while disconnecting. An option would solve my problem I think, where at disconnecting it would be possible not to close that virtual X session, and later it'd be possible to reconnect to the last virtual X session - that is still running in the background.
I'm not so far to solve this alone, but I'll do some further reading.
Help is always welcome!

Idea refers to: Xvnc, xdmcp, vncviewer at localhost, connecting via ssh
 
Old 07-10-2009, 08:47 AM   #4
drobert
LQ Newbie
 
Registered: Dec 2007
Location: Budapest, Hungary
Distribution: Fedora Core 11
Posts: 10

Original Poster
Rep: Reputation: 0
Found possible solution, but I need help with vncserver.

I managed to set up Xvnc and vncts. I ssh to the server and do a local "vncviewer 127.0.0.1", and it created for me a new xdm session that will be closed upon disconnecting. But I want to start the vncviewer without ssh, just directly as usual to get the screen that can be seen on the pc. Both services are running (vncserver, vncts), 5900 udp & tcp ports opened on firewall.

How to enable this second thing? It just says stream ended.

Robert
 
Old 07-10-2009, 02:53 PM   #5
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
I'm hoping someone with some knowledge of this will jump in here and help out. I'd like to understand this better myself.
 
  


Reply

Tags
gui, remote, session, vnc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
gui remote to slackware fluxbox vnc / nxserver benni1 Linux - Networking 5 04-25-2009 09:12 AM
rhel4 vnc problem, where to configure GUI vnc server? hocheetiong Linux - Newbie 1 10-24-2007 06:05 AM
trying to remote to vnc server through vnc client on XP. Kilahchris Linux - Newbie 3 11-22-2006 03:50 PM
How to shrink reiserfs wthout any data lose? moog Linux - General 3 11-09-2006 10:34 AM
How to start remote GUI app? ZiGiE Suse/Novell 13 01-30-2006 06:35 PM


All times are GMT -5. The time now is 07:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration