[winswitch] xpra - ImportError: No module named client.gtk2.client

Stroller stroller at stellar.eclipse.co.uk
Wed Feb 15 17:29:14 GMT 2017


Hello,

It's been some time since I used xpra (I think I previously primarily used winswitch), so I'm feeling a bit helpless and useless for which I apologise.

I've installed xpra through Gentoo's emerge, on a headless HP G7 Microserver (AMD Turion II Neo N54L Dual-Core Processor according to /proc/cpuinfo).

Trying to launch it, I initially got this:

   $ xpra start ssh:localhost --start=xterm
   /usr/bin/Xorg is suid and not readable, Xdummy support unavailable
   xpra main error:
   Traceback (most recent call last):
     File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 140, in main
       return run_mode(script_file, err, options, args, mode, defaults)
     File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 1201, in run_mode
       return run_remote_server(error_cb, options, args, mode, defaults)
     File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 2193, in run_remote_server
       app = make_client(error_cb, opts)
     File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 2110, in make_client
       toolkit_module = __import__(client_module, globals(), locals(), ['XpraClient'])
   ImportError: No module named client.gtk2.client
   
   $ 

I reemerged x11-base/xorg-server-1.18.4 with USE="-suid" and the first part of the error has gone away, but the part about a gtk2 client remains:

   $ xpra start ssh:localhost --start=xterm
   xpra main error:
   Traceback (most recent call last):
     File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 140, in main
       return run_mode(script_file, err, options, args, mode, defaults)
     File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 1201, in run_mode
       return run_remote_server(error_cb, options, args, mode, defaults)
     File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 2193, in run_remote_server
       app = make_client(error_cb, opts)
     File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 2110, in make_client
       toolkit_module = __import__(client_module, globals(), locals(), ['XpraClient'])
   ImportError: No module named client.gtk2.client
   
   $

Any idea what package or library I'm missing, please? 

The above is executed with xpra-1.0.2 but I have since upgraded to 1.0.3 and get the same thing.

x11-wm/xpra is built with USE="clipboard csc lzo server vpx webp x264 x265 -client -cups -dec_av2 -enc_ffmpeg -libav -lz4 -opengl -pulseaudio -sound -webcam" (for clarity: +server -client). 

Stroller.









More information about the shifter-users mailing list