Failure handling of manual kill VNC process

Source: Internet
Author: User

1. Analog kill has started VNC service 1) Start Desktop 1 service [[email protected] ~]# vncserver:1new ' testdb:1 (root) ' Desktop is testdb:1starting Applications specified In/root/.vnc/xstartuplog file is/root/.vnc/testdb:1.log2) manually kill the started VNC service process [[email  Protected] ~]# Ps-ef | Grep-i VNC |  Grep-v greproot 1178 1 0 11:07 pts/2 00:00:00 xvnc:1-desktop testdb:1 (Root)-httpd/usr/share/vnc/classes -auth/root/.  Xauthority-geometry 1024x768-depth 16-rfbwait 30000-rfbauth/root/.vnc/passwd-rfbport 5901-pnroot 1182 1 0  11:07 pts/2 00:00:00 vncconfig-iconic[[email protected] ~]# kill-9 11783) Confirm that the process has been killed [[email protected] ~]# PS -ef | Grep-i VNC | Grep-v GREP4) again starts the Desktop 1 VNC service, where you can see the error [[email protected] ~]# vncserver:1warning:testdb:1 is taken because of/tmp/. X1-lockremove This file if there are no X server testdb:1a VNC server is already running as:12. The process is simple, follow the error message and you need to remove the/tmp/ . X1-lock file [[email protected] ~]# rm-f/tmp/. X1-lock startup attempt, still error [[email protected] ~]# Vncserver:1warning:testdb:1 is taken because of/tmp/. X11-unix/x1remove This file if there are no X server testdb:1a VNC server is already running as:1 Similarly, follow the prompts for errors to further remove/tmp/. x11-unix/x1 file [[email protected] ~]# rm-f/tmp/. X11-unix/x1 again start the attempt, OK, start success! [[email protected] ~]# vncserver:1new ' testdb:1 (root) ' Desktop is testdb:1starting applications specified in/root/ . vnc/xstartuplog file Is/root/.vnc/testdb:1. Log3. Problem-solving experience summary once again proves that the key to solve the technical problem is 1) facing the problem, full of confidence, like to solve the problem, even if the time of the Task 2) away from impetuous 3) seriously analyze the error information, find the breakthrough 4) last but not least Ask the best teacher Google--the End--

  

Failure handling of manual kill VNC process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.