Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

display gdm inetd manager x11vnc
0
Posted

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?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123