-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken
Description
Describe the bug
When xpra is started as display-manager, the following error is raised:
Error: cannot start the seamless server
Traceback (most recent call last):
File "/nix/store/mpnf5yz81h2xgh0qm05fy32b8ahmdgim-xpra-3.0.5/lib/python3.7/site-packages/xpra/scripts/server.py", line 850, in do_run_server
app.server_init()
File "/nix/store/mpnf5yz81h2xgh0qm05fy32b8ahmdgim-xpra-3.0.5/lib/python3.7/site-packages/xpra/x11/server.py", line 223, in server_init
X11ServerBase.server_init(self)
File "/nix/store/mpnf5yz81h2xgh0qm05fy32b8ahmdgim-xpra-3.0.5/lib/python3.7/site-packages/xpra/x11/x11_server_core.py", line 105, in server_init
self.x11_init()
File "/nix/store/mpnf5yz81h2xgh0qm05fy32b8ahmdgim-xpra-3.0.5/lib/python3.7/site-packages/xpra/x11/server.py", line 246, in x11_init
X11ServerBase.x11_init(self)
File "/nix/store/mpnf5yz81h2xgh0qm05fy32b8ahmdgim-xpra-3.0.5/lib/python3.7/site-packages/xpra/x11/x11_server_core.py", line 126, in x11_init
elif os.path.isabs(self.fake_xinerama):
File "/nix/store/nlgrx0cl1l87nx0w660lb3jksn9jdca9-python3-3.7.6/lib/python3.7/posixpath.py", line 66, in isabs
s = os.fspath(s)
TypeError: expected str, bytes or os.PathLike object, not NoneType
To Reproduce
Steps to reproduce the behavior:
- set
services.xserver.displayManager.xpra.enable = true. Recommend using a container, in fact I reproduced it in the most minimal container. - boot
- check journal
Expected behavior
Xpra should start normally.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
This comes from the fake-xinerama setting in xpra. There is logic to auto-detect it apparently, but it returns None for some reason. A super dirty quickfix is to add fake-xinerama=no to ~/.config/xpra/xpra.conf` and it gets xpra to not crash.
Notify maintainers
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
- system: `"x86_64-linux"`
- host os: `Linux 5.4.33, NixOS, 20.03.1418.5272327b81e (Markhor)`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.3.4`
- channels(root): `"nixos-20.03.1418.5272327b81e"`
- channels(louis): `"nixos-unstable-20.09pre216896.0729b8c55e0"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: xpra
# a list of nixos modules affected by the problem
module: xpraReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken