[winswitch] Xpra dump

Antoine Martin antoine at nagafix.co.uk
Tue Jan 17 11:08:58 GMT 2012


On 01/15/2012 09:54 PM, Maciej Pijanka wrote:
> Hello
> 
> 
> I have tried to use xpra, but even copying exact example from man page (xpra start :7; DISPLAY=:7 xterm &; xpra attach :7)
> wont let me see xterm window all i am getting is
> $ xpra attach :7; echo $DISPLAY
> Invalid MIT-MAGIC-COOKIE-1 key/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
>   warnings.warn(str(e), _gtk.Warning)
"Invalid MIT-MAGIC-COOKIE-1"
This tells me that there is probably a problem with your xauth setup..
Can you actually run *any* X11 commands from that session?

> /usr/lib/xpra/xpra/xposix/gui.py:15: GtkWarning: gdk_display_get_name: assertion `GDK_IS_DISPLAY (display)' failed
>   _display = gtk.gdk.get_display()
> Traceback (most recent call last):
>   File "/usr/bin/xpra", line 7, in <module>
>     xpra.scripts.main.main(__file__, sys.argv)
>   File "/usr/lib/xpra/xpra/scripts/main.py", line 194, in main
>     run_client(parser, options, args, mode=="detach")
>   File "/usr/lib/xpra/xpra/scripts/main.py", line 301, in run_client
>     from xpra.client import XpraClient
>   File "/usr/lib/xpra/xpra/client.py", line 23, in <module>
>     from xpra.platform.gui import ClientExtras
>   File "/usr/lib/xpra/xpra/platform/gui.py", line 16, in <module>
>     from xpra.xposix.gui import *
>   File "/usr/lib/xpra/xpra/xposix/gui.py", line 16, in <module>
>     assert _display, "cannot open the display with GTK, is DISPLAY set?"
> AssertionError: cannot open the display with GTK, is DISPLAY set?
> :0.0
> 
> 
> any hints whats wrong here? 
Hmm, that is quite odd, can you try running this from the command line:
python -c "import pygtk;pygtk.require('2.0');\
import gtk;print(gtk.gdk.get_display())"
If that does not work then there is little xpra can do as this means gtk
cannot access your display.

Antoine

> if that matters, its debian 6.0.3, plus backports from which xpra package is
> but i remember something similar when i tried xpra from source too, 
> 
> 




More information about the shifter-users mailing list