Tuesday, 8 January 2019

vnc - What is the correct way to kill a vncsession in linux?

When I run the following command in my remote linux box that I connect to from my windows 7 laptop via VNC I get the following :


 [subhrcho@slc04lyo ~]$ ps -ef|grep vnc
subhrcho 20113 19804 0 21:40 pts/8 00:00:00 grep vnc
subhrcho 27486 1 0 Jan28 ? 00:05:35 Xvnc :1 -desktop slc04lyo:1 (subhrcho) -httpd /usr/share/vnc/classes -auth /home/subhrcho/.Xauthority -geometry 1680x1050 -depth 16 -rfbwait 30000 -rfbauth /home/subhrcho/.vnc/passwd -rfbport 5901 -pn
subhrcho 27493 1 0 Jan28 ? 00:00:00 vncconfig -iconic

How can I kill this session elegantly ? I know kill -9 would do it but I think that is a forceful clean and might lead to corrupted files .


P.S: I also read from this source to use the kill option from vncserver but not sure how to figure out display#.

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...