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:

  • Configuring Telnet / FTP to login as root (Solaris 10)
    Configuring Telnet / FTP to login as root (Solaris 10)

    Bare in mind that this is VERY² BAD security…

  • How to link video from http://www.youtube.com
    How to link video from http://www.youtube.com

    Search video from…

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

    To change Windows Vista product key using…

  • Extract username & Password stored in Firefox
    Extract username & Password stored in Firefox

    Source: PasswordFox Description PasswordFox is a…

Popular Posts