You are not logged in.

#1 2009-04-10 23:26:40

whoops
Member
Registered: 2009-03-19
Posts: 891

[solved]Remote X windows from server to client connected w. ssh

Hi!


- I connect to a remote (headless) host with ssh (user name matches the one on my desktop)
- I su to root (as ssh login for root is disabled for security reasons)
- Now I want to be able to have applications executed as root show their x-windows on my screen.

No idea where to start... I did:
- on my desktop:
$ xhost +remote.ho
- on the remote:
$ DISPLAY=number.mydesktop.hos.tname.pv

And that already is where my "knowledge" ends and my confusion starts wink
- "I" am the client, on my client the xorg-server is running
- I connect to the remote server, on which the xorg-client applications are supposed to run
- Uhm... what? Wait... yes, ssh client, but xorg server and vice versa.
- And then... I'm sort of logged in... the remote client has the ip of the xorg server, because it's ssh client is logged in at the remote server... su => root...
- And if I open a new connection, I can't connect as root and I can't su inside an application
- And it will involve doing stuff & other things, maybe.


...no idea what to search for and where. Help / some useful names/locations? Thanks!

Last edited by whoops (2009-04-11 00:36:45)

Offline

#2 2009-04-11 00:08:35

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: [solved]Remote X windows from server to client connected w. ssh

ssh -x

I've never used ssh but I only know of this command to tunnel x through to your machine.


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#3 2009-04-11 00:36:31

whoops
Member
Registered: 2009-03-19
Posts: 891

Re: [solved]Remote X windows from server to client connected w. ssh

Thanks, that gave me the error messages I needed (xauth was not installed)!

Would never have guessed, that it's just "built in" like that, was pretty much prepared to having to learn about 4 new programs, 3 new daemons and 2 new protocols, but now it just works with "vanilla" ssh & xauth.

Sadly the connection is so bad, that I can't work with it (almost a Second to type in a letter). Well, I guess I'll search for another solution tomorrow, this one is [solved].

Last edited by whoops (2009-04-11 00:40:30)

Offline

#4 2009-04-12 00:13:02

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: [solved]Remote X windows from server to client connected w. ssh

you could try freenx, there's a wiki page for it.


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

Board footer

Powered by FluxBB