Remote X

Erik Bågfors zindar at gmail.com
Fri Sep 2 11:27:39 UTC 2005


You are missing 
1) This is VERY insecure
2) This has been disabled by default in most linux distribution because of this
3) Use ssh instead.

ssh -X host
then run your application.

2005/9/2, Henning Kilset Pedersen <henning at mopo.no>:
> Hello.
> 
> I've used Linux/Unix for several years, and whenever I wish to run a
> program on a different machine and redirect the display output to my
> machine, I've done:
> 
> mymachine$ xhost +
> remotemachine$ export DISPLAY=mymachine:0.0
> remotemachine$ blahXapp
> 
> However, on Ubuntu when I try this - the xhost + command works fine, and
> the DISPLAY variable gets properly exported. But when I try to run the
> application, I get:
> 
> (gnome-cups-manager:24021): Gtk-WARNING **: cannot open display:
> 
> Am I missing something here?
> 
> Regards,
> Henning Pedersen
> 
> 
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>




More information about the ubuntu-users mailing list