7.04: X11 remote display problem
bill purvis
bil at beeb.net
Wed Nov 21 12:18:13 UTC 2007
I'm still having no joy with getting anything to open a remote X11
window on my laptop since I changed to Ubuntu from Mandrake.
I'm using ssh to log in to my server (and yes I've tried using ssh -X
but that makes no difference). Once I'm logged in I try to start an
emacs window on the laptop:
server$ echo $DISPLAY
felix:0.0
server$ emacs &
server$ emacs: Cannot connect to X server felix:0.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.
[1]+ Exit 1 /usr/bin/emacs -geometry 80x48 -font 9x15
running 'xhost +' on the laptop (and yes, I know it's not that
secure, but I'm relying on the firewall on the server to prevent
anyone from outside logging in via X11)
says:
felix$ xhost +
access control disabled, clients can connect from any host
felix$
I've been looking in the /etc/X11 directory and found Xwrapper.config.
This states that Ubuntu has a security wrapper around the X server.
I have tried changing this from 'allowed_users=console' to
'allowed_users=anyone', ran 'dpkg-reconfigure x11-common'
and logged off and on again, but still no improvement.
Does anyone know anything about this security wrapper?
Bill
--
+---------------------------------------+
| Bill Purvis, Amateur Mathematician |
| email: bil at beeb.net |
| http://bil.members.beeb.net |
+---------------------------------------+
More information about the ubuntu-users
mailing list