LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Remote Desktop start (https://www.linuxquestions.org/questions/linux-desktop-74/remote-desktop-start-778169/)

basillica 12-26-2009 07:40 AM

Remote Desktop start
 
Hi,
I am trying to launch a gnome desktop over an ssh connection. Prcoedure I am using is:

- ssh -X host
- startx gnome

and I get the error:

xauth: creating new authority file /home/DummyAcct/.serverauth.7128

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.

Can someone explain how I can get this working please?


Regards,
Dave

rlhartmann 12-27-2009 08:48 AM

The command startx is script to start the Xserver on the local machine, it will not send it back through the SSH tunnel. You have to have send an Xclient program back through the tunnel.

To display the Xclient on your local machine, you first have to an Xserver running on your local box (the one you started the ssh connection from). Is your local machine another linux box?

After running ssh -X host, try typing something like gnome-terminal and see if you get a new terminal window.


All times are GMT -5. The time now is 07:23 PM.