[winswitch] /run/xpra directory permissions

Stroller stroller at stellar.eclipse.co.uk
Thu Feb 16 19:15:15 GMT 2017

I'll respond to my other thread momentarily, but I now have xpra running, and thank Antoine for his help.

In the process of this, I got this error:
   $ xpra start :100 --start-child=xterm
   $ Entering daemon mode; any further errors will be reported to:
   $ tail -n 100 -f /home/stroller/.xpra/\:100.log
   X.Org X Server 1.18.4
   Release Date: 2016-07-19
   X Protocol Version 11, Revision 0
   Build Operating System: Linux 4.9.4-gentoo x86_64 Gentoo
   Current Operating System: Linux alrai 4.9.4-gentoo #2 SMP Fri Jan 20 08:38:04 GMT 2017 x86_64
   Kernel command line: BOOT_IMAGE=/kernel-4.9.4-gentoo root=/dev/sda4 ro
   Build Date: 16 February 2017  06:34:00PM
   Current version of pixman: 0.34.0
           Before reporting problems, check http://wiki.x.org
           to make sure that you have the latest version.
   Markers: (--) probed, (**) from config file, (==) default setting,
           (++) from command line, (!!) notice, (II) informational,
           (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
   (++) Log file: "/home/stroller/.xpra/Xorg.:100.log", Time: Thu Feb 16 18:39:49 2017
   (++) Using config file: "/etc/xpra/xorg.conf"
   2017-02-16 18:39:51,748 Warning: failed to create socket directory '/run/xpra'
   2017-02-16 18:39:51,749  [Errno 13] Permission denied: '/run/xpra'
   2017-02-16 18:39:51,750 Error: failed to create socket '/run/xpra/alrai-100':
   2017-02-16 18:39:51,750  [Errno 2] No such file or directory
   xpra initialization error:
    failed to create socket /run/xpra/alrai-100
   2017-02-16 18:39:51,752 killing xvfb with pid 31722
   (II) Server terminated successfully (0). Closing log file.

I was able to resolve this by creating a /run/xpra directory and I temporarily gave it permissions 777.

As I said before, I'm running Gentoo xpra-1.0.3, installed with the latest x11-wm/xpra ebuild currently in the Portage tree.

The ebuild creates an xpra group (in /etc/group) when the package is installed on the system.

I'm thinking the install should also create a /run/xpra directory on installation, with permissions that members of the xpra group can write to it (but not other users). Does this sound reasonable? If so, I'll file a bug to this effect with Gentoo.

I do appreciate all your hard work,


More information about the shifter-users mailing list