Kill xvnc manually






















 · sudo vncserver -kill:* If not work, remove the file log / pid using command: rm ~/.vnc/*:*.*. As you noticed, from the man vncserver: kill:display# This kills a VNC desktop previously started with vncserver. It does this by killing the Xvnc process, whose process ID is stored in the file "$HOME/.vnc/host:display#.pid". It actually ignores anything preceding a ":" in its argument.  · Show activity on this post. As @bob has mentioned use the command -. ps -ef | grep vnc. It will list all the vnc related process that are in running state. So note down the PID of the process having the name. Xvnc. And execute the command kill -9 Xvnc Process (es). I will kill the VNC www.doorway.rus: 4.


# vncserver -kill:1 # exit $ vncserver You'll have to kill the Xvnc process manually. This folder has a file that has a process Id of vnc to kill. In case the vncserver process hangs and doesn't even shows in ps -ef command, remove www.doorway.ru folder, after that vncserver will be able to create www.doorway.ru folder and kill the existing process. The display number is connected to the port number of the display if one hasn't set that manually (and differently), where. Display number = (Port number) ‒ e.g. port → display This information can be found in man Xvnc (vncserver is just a wrapper script that calls this tool) where it says.


-kill:display# This kills a VNC desktop previously started with vncserver. It does this by killing the Xvnc process, whose process ID is stored in the file "$HOME/.vnc/host:display#.pid". The -kill option ignores anything preceding the first colon (":") in the display argument. Thus, you can invoke "vncserver -kill $DISPLAY", for example at the end of your xstartup file after a particular application exits. You'll have to kill the Xvnc process manually ]# vncserver -kill:1 Can't find file /root/.vnc/pid You'll have to kill the Xvnc process manually 这个问题和 The connection was refused by host computer 提到解决方法一样,. Either you can manually kill the process or you can follow proper configuration steps and use a different login session no. for vncserver. Error: # service vncserver restart Shutting down VNC server: 2:root [FAILED] Starting VNC server: 2:root A VNC server is already running as:2 [FAILED] # vncserver -kill:2 Can't find file /root/.vnc/www.doorway.ru You'll have to kill the Xvnc process manually.

0コメント

  • 1000 / 1000