Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Screen and X applications [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Efo
Guru
Guru


Joined: 23 Jun 2005
Posts: 498

PostPosted: Fri Aug 18, 2006 11:53 pm    Post subject: Screen and X applications [SOLVED] Reply with quote

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
View user's profile Send private message
shrimp123
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 199
Location: Here!

PostPosted: Sat Aug 19, 2006 12:05 am    Post subject: Reply with quote

would this work?

open a xterm
login remotely
nohup the process in bkground

S
Back to top
View user's profile Send private message
bobwhoops
n00b
n00b


Joined: 09 Jan 2005
Posts: 56

PostPosted: Sat Aug 19, 2006 12:25 am    Post subject: Reply with quote

There's probably a better way, but you could always just set up a VNC session
Back to top
View user's profile Send private message
James Wells
n00b
n00b


Joined: 10 Sep 2004
Posts: 57

PostPosted: Sat Aug 19, 2006 2:53 am    Post subject: Re: Screen and X applications Reply with quote

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
View user's profile Send private message
Efo
Guru
Guru


Joined: 23 Jun 2005
Posts: 498

PostPosted: Tue Aug 22, 2006 11:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Efo
Guru
Guru


Joined: 23 Jun 2005
Posts: 498

PostPosted: Wed Aug 23, 2006 5:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum