Xpra: Ticket #2068: running as normal user fails

OS: Arch Linux CPU: amd64 Server command: xpra start :10 --start=xterm --bind-ws= Client command: none since server won't start Logs:

2018-11-30 11:18:15,977 cannot use uinput for virtual devices:
2018-11-30 11:18:15,977  [Errno 19] Failed to open the uinput device: No such device
Fatal server error:
Invalid argument -logfile with elevated privileges
Please consult the The X.Org Foundation support
	 at http://wiki.x.org
 for help.

Sat, 01 Dec 2018 03:59:21 GMT - Antoine Martin: status, description changed; resolution set

Just like your other ticket (#2067), this is a problem with the archlinux packaging and not xpra. Complain there, not here.

Mon, 07 Jan 2019 21:58:41 GMT - mwyraz: status changed; resolution deleted


I debugged this issue. It's a problem with xpra_Xdummy which detects the wrong Xorg binary: /usr/bin/Xorg is a wrapper that simply delegates to /usr/lib/Xorg.wrap.

/usr/lib/Xorg.wrap is the SUID wrapper which delegates to /usr/lib/Xorg.

/usr/lib/Xorg is the real executable.

The ld-linux magic does not work when calling /usr/bin/Xorg - the solution is simple, just call the original (unwraped) Xorg binary by adding:

elif [ -x "/usr/lib/Xorg" ]; then

Mon, 07 Jan 2019 22:04:01 GMT - Antoine Martin: status changed; resolution set

Applied in r21295, thanks.

Sat, 23 Jan 2021 05:41:21 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2068