[CentOS] VNC: i want see " my session"

Sat Jul 18 09:28:43 UTC 2015
Milton Plasencia <mpplasencia at gmail.com>

Hi Patrick,

Thanks for you quickly answer.

Yes, x11vnc was installed on my system.

The problem is i not understand the “logic" of vnc connection, so i try to dark…

I copy the /etc/systemd/system/vncserver@:1.service to /etc/systemd/system/vncserver@:0.service

restart the vnc service and obtain

Jul 18 11:17:16 systemd[1]: vncserver@:0.service: control process exited, code=exited status=98
Jul 18 11:17:16 systemd[1]: Failed to start Remote desktop service (VNC).
Jul 18 11:17:16 systemd[1]: Unit vncserver@:0.service entered failed state.

Thanks again,

M.



> On Jul 18, 2015, at 10:59, Patrick Hess <patrickhess at gmx.net> wrote:
> 
> From within the session you want to connect to, you need
> to start x11vnc instead of vncserver. That's a separate
> package you'll have to install (yum install x11vnc).
> 
> Note that x11vnc's display number will be the same as that
> of the X server it was started from, so you'll most likely
> have to connect your VNC client to display :0 (and not :1)
> in order to access your existing X screen.