Pages

VNC : Unable to connect to host: Connection refused (111) (CentOS)

Seems like vnc session is not running on the other machine.
  1. Open terminal
  2. Login as root
  3. Key in vncserver
    You will require a password to access your desktop
    Password: your_password

    New 'localhost.localdomain:1 (your_account)' desktop is localhost.localdomain:1

    Creating default startup script /home/your_account/.vnc/xstartup
    Starting applications specified in /home/your_account/.vnc/xstartup
    Log file is /home/your_account/.vnc/localhost.localdomain:1.log
  4. Edit vi /home/your_account/.vnc/xstartup
  5. Uncomment
    unset SESSION_MANAGER
    exec /etc/X11/xinit/xinitrc
  6. To access the desktop from vnc, key in hostname:1 @ ip_address:1

3 comments:

  1. Hi is it possible to explain with screenshots.................!!

    ReplyDelete
    Replies
    1. If possible, after you follow step by step to solve this problem.
      Hopefully that you can sharing the screenshot so that I can update this article.

      Delete
  2. Dude,

    What's this: New 'localhost.localdomain:1 (your_account)' desktop is localhost.localdomain:1

    Do I need to create a file? where?

    ReplyDelete

You might also like:

  • Change Windows Vista Product Key After Install
    Change Windows Vista Product Key After Install

    Changing the Windows Vista product key may be…

  • How to configure BackTrack to autostart using GUI ?
    How to configure BackTrack to autostart using GUI ?

    By default, after login to BackTrack, user must…

  • Clear “Recent Documents” list in Microsoft Office Product
    Clear “Recent Documents” list in Microsoft Office Product

    Click Start > Run. Key in regedit. Navigate…

  • Import PST to Zimbra
    Import PST to Zimbra

    Like I promise before, let me brief you abut my…

Popular Posts