On May 10, 2021, at 17:49, Rob Landry <41001...@interpring.com> wrote:

> Here's a thought: can x11vnc be run in user mode, i.e. not as root?

Yes. In fact, you should *never* run x11vnc as root.

The Official Paravel Way[tm] way to do this is to use the ‘x11vnc-auto’ package:

1) Get a root shell.

2) Enter the following commands:

        yum install x11vnc-auto
        systemctl start x11vnc-auto.socket
        systemctl enable x11vnc-auto.socket

3) Close the root shell, then get a non-privileged shell (user ‘rd’).

4) Enter the following command:

        vncpasswd

Which will prompt you to set a VNC password.

5) You’re done.

Viewer connections to port 5900 will now spawn their very own private x11vnc 
instances sharing display :0, running as user ‘rd’. If that instance 
crashes/locks up/whatever, it will affect only that particular connection; 
others will be unaffected, as will the ability to start new connections.

Cheers!


|---------------------------------------------------------------------|
| Frederick F. Gleason, Jr. |             Chief Developer             |
|                           |             Paravel Systems             |
|---------------------------------------------------------------------|
|         A room without books is like a body without a soul.         |
|                                                                     |
|                                                         -- Cicero   |
|---------------------------------------------------------------------|

_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to