VNC server failed with "A VNC server is already running as :X" while vncserver restart.

Solution Verified - Updated -

Issue

  • VNC server failed with "A VNC server is already running as :X" while vncserver restart.

  • VNC server is not starting and getting the following error.

    # service vncserver restart
    Shutting down VNC server: 3:testuser 5:testuser2     [FAILED]
    Starting VNC server: 3:ctmagt70
    New 'test1:3 (testuser)' desktop is test1:3
    
    Starting applications specified in /tsc/apps/testuser/.vnc/xstartup
    Log file is /tsc/apps/testuser/.vnc/tscpinf001:3.log
    5:testuser2 A VNC server is already running as :5    [FAILED]
    

Environment

  • Red Hat Enterprise Linux 5.5
  • Red Hat Enterprise Linux 6
  • vnc-server

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.