How to reload a vnc session

Earlier versions of vnc I was able to reload a session without killing it using following command.
DISPLAY=:1 Xvnc -reload

currently I am seeing following error
rajes2-rhel72:~ > DISPLAY=:1 Xvnc -reload
Contacting VNC Server failed: connect: No such file or directory (2)
rajes2-rhel72:~ >
I am using RealVNC(R) Server 7.13.1 (r57) x64 (Dec 6 2024 17:47:50)
How do I reload a session without killing it ?

0

Comments

2 comments
  • Official comment

    Hi Rajesh,

    Thanks for your post. Your command is still valid if you are using Xvnc for Virtual Mode. If you are using SystemXorg however, the command becomes:

    DISPLAY=:1 vncserver-x11 -virtual -reload

    I hope this helps!

    Jack N

    Comment actions Permalink
  • ThanksJack, This helps

    0
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post