[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh + X11



Rodrigo Valenzuela wrote:
hi everyone:
	When i connect via ssh to my computers it goes fine, but when i tried
'startx ' it complains with
'X: user noy authorized to tun the x server'.  Obviously the user can
startx with no complain when sitting in front of the computer, so it is
authorized. What is missing? Any comments? Pointers?

ps: is this the best option in order to access my desktop remotely, and
do all the stuff I'm used to?
thanks in advance



there's no need to start X on remote comupter, as long as you have X on local computer you can use ssh X forwarding to run X programs from remote machine and display them on local machine (ssh -X host.com, make sure that both client and server have X forwarding enabled)

another option is vnc (it's basically an X server that you can view remotely, using vncviewer, the advantage is that if your connection goes down you can reconnect or if you want to connect from different location you can do tht as well)

	erik



Reply to: