You are not logged in.

#1 2018-09-16 02:26:36

ashton
Member
Registered: 2018-03-06
Posts: 8

xpra: fails to start X server

I'm trying to start an xpra session on a machine on my local network. However, I'm having trouble getting it to start as my normal user:

If I run:

$ xpra start :100 --html=on --start-child=termite --systemd-run=no --start-via-proxy=no --daemon=no

I get:

2018-09-15 22:19:42,632 cannot access python uinput module:
2018-09-15 22:19:42,632  No module named uinput
(EE) 
Fatal server error:
(EE) 
Invalid argument for -logfile - "/run/user/1000/xpra/Xorg.:100.log"
	With elevated privileges -logfile must specify a relative path
	without any ".." elements.

(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) 
2018-09-15 22:19:45,644 Error: failed to connect to display :100
2018-09-15 22:19:45,644  could not connect to X server on display ':100' after 3 seconds
2018-09-15 22:19:45,645 killing xvfb with pid 7175
2018-09-15 22:19:45,645 failed to kill xvfb process with pid 7175:
2018-09-15 22:19:45,645  [Errno 3] No such process

But, if I run with sudo it starts up fine, but the problem being it's running as root. I also tried the --uid option to drop the privlege level to my standard user, but that fails with:

$ sudo xpra start :100 --html=on --start-child=termite --systemd-run=no --start-via-proxy=no --daemon=no --uid=1000
2018-09-15 22:24:06,007 Error: pam_open_session failed: 28
2018-09-15 22:24:06,007  Module is unknown
2018-09-15 22:24:06,008 cannot access python uinput module:
2018-09-15 22:24:06,008  No module named uinput
(EE) 
Fatal server error:
(EE) 
Invalid argument for -logfile - "/run/user/1000/xpra/Xorg.:100.log"
	With elevated privileges -logfile must specify a relative path
	without any ".." elements.

(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) 
2018-09-15 22:24:09,024 Error: failed to connect to display :100
2018-09-15 22:24:09,024  could not connect to X server on display ':100' after 3 seconds
2018-09-15 22:24:09,024 killing xvfb with pid 7261
2018-09-15 22:24:09,024 failed to kill xvfb process with pid 7261:
2018-09-15 22:24:09,024  [Errno 3] No such process

Is there something that I've missed? I made sure that I followed the suggestion in the wiki of:

$ cat /etc/X11/Xwrapper.config 
allowed_users=anybody

Offline

Board footer

Powered by FluxBB