Kill VNCServer Window Sessions Command

FREQUENTLY ASKED QUESTIONS (Linux)
Q: How to Kill VNC Window Sessions in Linux?

Stop entire VNC service
[root@server ~]# service vncserver stop


Kill individual VNC Sessions
To stop individual VNC session, you need to first login as the user account that associated with the VNC session. For example if you assigned VNC session 1 (:1) for the user "James", login as "James" and run the below command

[james@server ~]# vncserver -kill :1


To start VNC session again
[james@server ~]# vncserver :1


Command to Start new VNC Session
[james@server ~]# vncserver :2


Find Running VNC server sessions (login as associated user first)
[james@server ~]# vncserver -list


Note: Also open firewall to allow all incoming connections (new sessions) to VNC Server.

0 comments:

Related Posts Plugin for WordPress, Blogger...

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons