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:

  • Perkhidmatan Awam: JPA tolak VSS -- Guna mekanisme baru tangani pekerja bermasalah
    Perkhidmatan Awam: JPA tolak VSS -- Guna mekanisme baru tangani pekerja bermasalah

    Perkhidmatan Awam: JPA tolak VSS -- Guna…

  • How to Fix Write-Protected Read-Only Drives
    How to Fix Write-Protected Read-Only Drives

    There are lots of guide for unlock drive that is…

  • Free Open Source School, College, University Management System
    Free Open Source School, College, University Management System

    Yet another open source product specialized for…

  • Setup a Linux application to automatically startup when login
    Setup a Linux application to automatically startup when login

    Manual on openSUSE 11.2 Go to System >…

Popular Posts