Zophar's Message Domain

Go Back   Zophar's Message Domain > General Chat > Talk of the Town

Reply
 
Thread Tools Display Modes
Old 04-03-2006, 12:25 PM   #1
hcs
Senior Member
 
hcs's Avatar
 
Join Date: Oct 2001
Location: California
Posts: 1,585
Default forwarding running X clients

I use X11 forwarding over SSH a lot on campus, but I'd like to be able to use it without actually starting the X client from SSH. Such as, I have a program running on my dorm machine, displaying on it's X server, is there a way I can SSH into it and have it reconnect the client to the remote X server? Or do I have to exit the client and restart it with DISPLAY set for the forwarding (which I do regularly already)?
I know there are some other programs to allow this, but I'd like to do it with just X and SSH if possible...
<P ID="signature"></P>
hcs is offline   Reply With Quote
Old 04-03-2006, 05:03 PM   #2
Kijutsu
Senior Member
 
Kijutsu's Avatar
 
Join Date: Jul 2001
Posts: 1,066
Default Re: forwarding running X clients

> I know there are some other programs to allow this, but I'd
> like to do it with just X and SSH if possible...

Sounds like what your needing is called 'screen'. It's console based so I'm not sure if it will work for X11. But give it a lookup and see if that will work for you.
<P ID="signature"><hr width=75%>
<center>
</center></P>
Kijutsu is offline   Reply With Quote
Old 04-03-2006, 11:15 PM   #3
hcs
Senior Member
 
hcs's Avatar
 
Join Date: Oct 2001
Location: California
Posts: 1,585
Default Re: forwarding running X clients

> Sounds like what your needing is called 'screen'.

Yeah, I've worked with screen. It's only for text terminals.
<P ID="signature"></P>
hcs is offline   Reply With Quote
Old 04-03-2006, 11:53 PM   #4
Ugly Joe
Senior Member
 
Ugly Joe's Avatar
 
Join Date: Dec 2003
Posts: 1,461
Default Re: forwarding running X clients

Something like this, maybe:

http://www.faqs.org/docs/Linux-mini/...X-Apps.html#s7http://www.faqs.org/docs/Linux-mini/Remote-X-Apps.html#s7</a>

edit: Maybe not. Still an interesting read, though.
<P ID="signature">___________________________________ ____
</P><P ID="edit"><FONT class="small">Edited by Ugly Joe on 04/03/06 08:09 PM.</FONT></P>
__________________
Ugly Joe is offline   Reply With Quote
Old 04-04-2006, 12:21 AM   #5
hcs
Senior Member
 
hcs's Avatar
 
Join Date: Oct 2001
Location: California
Posts: 1,585
Default Re: forwarding running X clients

> Something like this, maybe:

Yep, that document was helpful when I was learning X11 forwarding over SSH. Not so much anymore.

What I seem to be gathering is that it's not possible, so you have to have something *like* an X server that the client connects to, then that variously connects to real servers.<P ID="edit"><FONT class="small">Edited by hcs on 04/03/06 08:22 PM.</FONT></P>
hcs is offline   Reply With Quote
Old 04-04-2006, 12:25 AM   #6
Ugly Joe
Senior Member
 
Ugly Joe's Avatar
 
Join Date: Dec 2003
Posts: 1,461
Default Re: forwarding running X clients

> What I seem to be gathering is that it's not possible, so
> you have to have something *like* an X server that the
> client connects to, then that variously connects to real
> servers.

So is a VNC server/client setup out of the question?
<P ID="signature">___________________________________ ____
</P>
__________________
Ugly Joe is offline   Reply With Quote
Old 04-04-2006, 12:28 AM   #7
SirDaShadow
Senior Member
 
Join Date: Aug 2001
Posts: 1,291
Default Re: forwarding running X clients

> So is a VNC server/client setup out of the question?
>
I was thinking about suggesting that...I'm able to run X apps via vncviewer...fucking simple too!
<P ID="signature"></P>
SirDaShadow is offline   Reply With Quote
Old 04-04-2006, 09:38 AM   #8
hcs
Senior Member
 
hcs's Avatar
 
Join Date: Oct 2001
Location: California
Posts: 1,585
Default Re: forwarding running X clients

> So is a VNC server/client setup out of the question?

Does that do essentially what I said, stand as a go-between for the clients and the actual server? If that's the only way then I guess I'll look into it...
<P ID="signature"></P>
hcs is offline   Reply With Quote
Old 04-06-2006, 10:14 AM   #9
hcs
Senior Member
 
hcs's Avatar
 
Join Date: Oct 2001
Location: California
Posts: 1,585
Default Re: forwarding running X clients

So I set up VNC, seems to work nicely except there's a root window... I'd rather run it rootless. Is there a way to achieve this?

[edit]
still wondering about that, but not worrying much anymore since I have discovered http://www.realvnc.com/products/free/4.1/x0.htmlthe source of all awesome</a>.<P ID="edit"><FONT class="small">Edited by hcs on 04/06/06 08:55 AM.</FONT></P>
hcs is offline   Reply With Quote
Old 04-07-2006, 02:54 PM   #10
mFC
Senior Member
 
Join Date: Oct 2003
Posts: 1,178
Default Re: forwarding running X clients

> still wondering about that, but not worrying much anymore
> since I have discovered the source of all awesome.
>

he's right. it is pretty awesome, thanks for pointing to that
does anyone know if its possible to have vnc work like remote desktop in the sense that what i do doesnt show up at my terminal? nothing major, but it would be nice
<P ID="signature">Chris

[img]/personal/mfc/newsig.png[/img]</P>
mFC is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:41 PM.

Contact Us - Zophar's Domain - Archive - Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.