[Parti-discuss] Can't connect to the X server created by Xpra
Christian Jaeger
chrjae at gmail.com
Sat May 8 10:07:37 PDT 2010
Hello
I can't connect to the X server started by Xpra. Maybe the reason is
found from error messages printed to the Xpra log.
In the following, chrootlogin is a tool (written by me) to enter a
chroot that includes setting up /dev, /proc, etc., and if requested by
-X also by passing in the current X connection (a trusted one, and
timeout 0 means disable X authority from timing out; it should work
the same as ssh -Y). In the chroot I'm running Debian testing. I've
changed do-build to install to $HOME, (and set PATH and PYTHONPATH),
which is why I'm calling xpra without the prefix.
chrisxpra at novo:~$ xpra start :14
Entering daemon mode; any further errors will be reported to:
/home/chrisxpra/.xpra/novo-14.log
At this point, the above log file contains:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/novo:14
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
SELinux: Disabled on system, not enabling in X server
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic,
removing from list!
[dix] Could not init font path element
/usr/share/fonts/X11/100dpi/:unscaled, removing from list!
[dix] Could not init font path element
/usr/share/fonts/X11/75dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/Type1,
removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi,
removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi,
removing from list!
[dix] Could not init font path element
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
SELinux: Disabled on system, not enabling in X server
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic,
removing from list!
[dix] Could not init font path element
/usr/share/fonts/X11/100dpi/:unscaled, removing from list!
[dix] Could not init font path element
/usr/share/fonts/X11/75dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/Type1,
removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi,
removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi,
removing from list!
[dix] Could not init font path element
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
Xlib: extension "RANDR" missing on display ":14.0".
Xlib: extension "RANDR" missing on display ":14.0".
Xlib: extension "RANDR" missing on display ":14.0".
X Error of failed request: BadValue (integer parameter out of range
for operation)
Major opcode of failed request: 118 (X_SetModifierMapping)
Value in failed request: 0x17
Serial number of failed request: 21
Current serial number in output stream: 21
from another x terminal session:
novo:~# chrootlogin -X /mnt/media/chroots/sid chrisxpra --timeout 0
chrisxpra at novo:~$ xpra attach :14
Attached (press Control-C to detach)
Missing window or missing property or wrong property type PULSE_SERVER (latin1)
Missing window or missing property or wrong property type PULSE_COOKIE (latin1)
Missing window or missing property or wrong property type PULSE_ID (latin1)
adding this to the log file:
New connection received
Handshake complete; enabling connection
but (in a third x terminal session):
novo:~# chrootlogin /mnt/media/chroots/sid chrisxpra
chrisxpra at novo:~$ export DISPLAY=:14
chrisxpra at novo:~$ xmessage hello
No protocol specified
Error: Can't open display: :14
chrisxpra at novo:~$ export DISPLAY=novo:14
chrisxpra at novo:~$ xmessage hello
Error: Can't open display: novo:14
Any idea?
Christian.
More information about the Parti-discuss
mailing list