Quote:
Originally Posted by acid_kewpie
just run it. assuming you are tunnelling X over SSH, which is a default in most setups then it should "just work". see "man ssh_config" for details on X forwarding.
|
When I just run it I get this:
(gedit:23417): Gtk-WARNING **: cannot open display:
All right, I solved this particular problem. I need to do
export DISPLAY=:0 to run it on my desktop
When I try ssh -X , I get:
X11 connection rejected because of wrong authentication.
http://www.cyberciti.biz/faq/x11-con...uthentication/
I followed the instructions on the above site but they didn't help.
I use public key authentication for ssh so that I don't have to type passwords.
EDIT: ssh -X worked for me to open a X program over the LAN for other machines. Does it not work because I use certificate based authentication?
Giving sudo gedit worked.