[Bug 1566542] Re: [upstream] Two sddm bugs with 16.04 – MIT-Magic cookie unpredictable for VNC / option "hideshell" buggy

Dr. Uwe Meyer-Gruhl 1566542 at bugs.launchpad.net
Tue Aug 23 20:50:28 UTC 2016


There is an even better fix, however, something like this should be
included in the Ubuntu documentation for x11vnc as it is far from
obvious...

One can put something like this into /usr/share/sddm/scripts/Xsetup:

/usr/bin/x11vnc -rfbauth /etc/vncpasswd -rfbport 5943 -reopen -forever &

Explanation: $XAUTHORITY and $DISPLAY are set with Xsetup script.

The reason being given for the unpredictable xauth name is that sddm
should be able to handle multi-seat. I sets $XAUTHORITY and $DISPLAY for
all dependend children, such as /usr/share/sddm/scripts/Xsetup.

In order to start x11vnc, one should include it in Xsetup instead of
establishing an independend service in systemd (since x11vnc depends on
the real X server, anyway, which in turn is started/controlled by sddm).


** Bug watch added: github.com/sddm/sddm/issues #622
   https://github.com/sddm/sddm/issues/622

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to sddm in Ubuntu.
https://bugs.launchpad.net/bugs/1566542

Title:
  [upstream] Two sddm bugs with 16.04 – MIT-Magic cookie unpredictable
  for VNC / option "hideshell" buggy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1566542/+subscriptions




More information about the kubuntu-bugs mailing list