I start x11vnc as root because it is launched via inetd(8) or a display manager like gdm(1). Can I have x11vnc later switch to a different user?
As of Feb/2005 x11vnc has the -users option that allows things like this. Please read the documentation on it (also in the x11vnc -help output) carefully for features and caveats. It’s use can often decrease security unless care is taken. BTW, a nice use of it is “-users +nobody” that switches to the Unix user nobody right after connections to the X display are established. In any event, while running x11vnc as root, remember it comes with no warranty ;-).
Related Questions
- Why does an additional window display when one of the following roles is assigned: Software Assurance Manager, Online Services Manager, or Subscription Manager?
- I start x11vnc as root because it is launched via inetd(8) or a display manager like gdm(1). Can I have x11vnc later switch to a different user?
- How do I configure Access Manager to display different authentication types for different resources?