View previous topic :: View next topic |
Author |
Message |
Efo Guru
Joined: 23 Jun 2005 Posts: 498
|
Posted: Fri Aug 18, 2006 11:53 pm Post subject: Screen and X applications [SOLVED] |
|
|
Hi guys,
I am crunching numbers on a remote machine and I would like to use "screen" to have the machine working while my laptop is turned off.
The problem is that the prompt of the program uses a window in X to work and not just a terminal. So when I deattach from that screen the X window is still active on my laptop and if I close it, the program stops as well.
I hope it is not too confusing. Does anybody has any idea on how to do this? Maybe another program instead of screen?
I will appreciate any help, this could save me tons of time.
Thanks
Efo
Last edited by Efo on Wed Aug 23, 2006 5:52 pm; edited 1 time in total |
|
Back to top |
|
|
shrimp123 Apprentice
Joined: 02 Sep 2004 Posts: 199 Location: Here!
|
Posted: Sat Aug 19, 2006 12:05 am Post subject: |
|
|
would this work?
open a xterm
login remotely
nohup the process in bkground
S |
|
Back to top |
|
|
bobwhoops n00b
Joined: 09 Jan 2005 Posts: 56
|
Posted: Sat Aug 19, 2006 12:25 am Post subject: |
|
|
There's probably a better way, but you could always just set up a VNC session |
|
Back to top |
|
|
James Wells n00b
Joined: 10 Sep 2004 Posts: 57
|
Posted: Sat Aug 19, 2006 2:53 am Post subject: Re: Screen and X applications |
|
|
Greetings,
Efo wrote: | The problem is that the prompt of the program uses a window in X to work and not just a terminal. So when I deattach from that screen the X window is still active on my laptop and if I close it, the program stops as well. |
If you are running X on the remote machine as well, my suggestion would be to use xf4vnc. That way you use use the remote system's X desktop for the application, and then connect as needed without breaking or disrupting anything. |
|
Back to top |
|
|
Efo Guru
Joined: 23 Jun 2005 Posts: 498
|
Posted: Tue Aug 22, 2006 11:50 pm Post subject: |
|
|
Thanks for the help guys,
shrimp123: nope, unfortunately that doesnt work.
I have been playing around for a while and it looks like that VNC is what I need.
Unfortunately I am running into some problem.
I am on machine2.
I "telnet machine1" and then I "vncserver". Everything works fine if I "vncviewer" from machine2.
However, when I disconnect my telnet connection to machine1 the terminal in vncviewer of machine2 disappear.
I tried to disconnect and connect again vncviewer from machine2 but the terminal is not there.
If I chech machine1 vncserver is still running though.
Any idea?
Thanks
Efo
P.S. Machine1 is in the basement and I cannot access it any time I want. |
|
Back to top |
|
|
Efo Guru
Joined: 23 Jun 2005 Posts: 498
|
Posted: Wed Aug 23, 2006 5:52 pm Post subject: |
|
|
Found it!
The remote machine with nvcserver is an old machine and runs "Compaq Tru64 UNIX V5.0A". Rpm was added to it in order to install other files and nvcserver as well. The problem described above was due to a missing path for "xauth" which at first I added manually. By disconnecting to the remote machine the path got lost. Now the path for "xauth" is loaded in the shell and everything works fine.
Thanks for your help!
Efo |
|
Back to top |
|
|
|