Jump to content

Need help getting X over SSH


2 posts in this topic

Recommended Posts

Hey all. I recently set up a server with Ubuntu home edition installed and I'm loving it. However, as much fun as a terminal is, I kinda would like to see things. I am trying to get X (the GUI) over SSH to work. I have already gotten SSH working, but I can't seem to get X to actually move out.


This is what I have tried (I am using Fedora9 (Gnome)):


$ ssh user@IPAddresshere


That gets me into my computer just fine. So now... to get going.


$ssh -X -2 user@IPAddresshere


(Sometimes I don't do -2) However, this doesn't get my very far. I get this immediately upon logon:


"/usr/bin/X11/xauth: /home/epic/.Xauthority not writable, changes will be ignored" Running an application gives me this error:


user@epicness1-server:~$ xclock

X11 connection rejected because of wrong authentication.

Error: Can't open display: localhost:10.0


And if I try and do this (As unsecure as it is):


user@epifoot3-server:~$ xhost +

X11 connection rejected because of wrong authentication.

xhost: unable to open display "localhost:10.0"



So, yeah... not sure what to do. Any suggestions?

Link to comment
Share on other sites


  • Create New...