xhost + problems

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Thu May 12 13:33:22 UTC 2005


On Thu, May 12, 2005 at 02:08:17PM +0200, Niels L. Ellegaard wrote:
> [lpc2~]$ setenv DISPLAY niels:0.0
> [lpc2~]$ gv
> 
> (gv:26655): Gtk-WARNING **: cannot open display: niels:0.0

Like Erik mentioned, you need to tell GDM to listen on a tcp port.

Also, please do not use xhost. Use xauth instead. For example,

[lpc1 ~]$ xauth extract someTemporaryFilename :0.0

Then transfer the auth cookie to lpc2 via sneakernet, ftp, etc.

[lpc2 ~]$ xauth merge someTemporaryFilename
[lpc2 ~]$ xclock &

-- 
Daniel T. Chen          crimsun at fungus.sh.nu
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050512/66015c21/attachment.sig>


More information about the ubuntu-users mailing list