nx-libs
nx-libs copied to clipboard
RRXinerama and rootless is not working properly
-
nxagent -ac -R :55
-
DISPLAY=:55 xrandr
will show a list of resolutions not prefixed withnx
which means rrxinerama is not active -
pkill -HUP nxagent && sleep 3 && pkill -HUP nxagent
-
DISPLAY=:55 xrandr
will show one resolution prefixed withnx
which means rrxinerama is active
As rrxinerama is enabled by default but not active before the first screen resize. In rootless mode this normally never happens. With one exception: reconnect. So, two possible solutions:
- trigger a (dummy) resize event in rootless mode after startup
- never activate rrxinerama in rootless mode
additional observation: If you do the same without -R the nxagent will come up after pkill with a grey background instead of black as before the pkill (see #733)