• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to Access VNC Server Through A Web Browser in Linux

By admin

This post describes how to access VNC server which is already installed and configured on a CentOS/RHEL 6 machine:

  • vnc-server for CentOS/RHEL 6
  • tigervnc-server for CentOS/RHEL 6

Before starting, it is assumed that the access the VNC console via vncviewer is possible:

# vncviewer [Server IP]:5901

But the below message is received when tried to access using URL: http://[Server IP]:5901 over web broswer:

RFB 003.008

VNC for HTTP access use a port number other than the default VNC port begin from 5900. To access VNC using HTTP follow the steps outlined below:

1. For CentOS/RHEL 6, make sure tigervnc-server-applet is installed:

# rpm -q tigervnc-server-applet
tigervnc-server-applet-1.0.90-0.17.20110314svn4359.el6.noarch

Use this command to install it if not done yet:

# yum install tigervnc-server-applet

2. Access VNC from the URL http://[Server IP]:[5800 + VNC Number]. For e.g. http://192.168.1.2:5801.

3. It is possible to access using vncviewer at the same time.

# vncviewer [Server IP]:[5900 + VNC Number]

For Example:

# vncviewer 192.168.1.2:5901

Filed Under: CentOS/RHEL 5, CentOS/RHEL 6, Linux

Some more articles you might also be interested in …

  1. How to Change Kernel Semaphore Limits in CentOS/RHEL
  2. How to schedule Jobs with Cron in Linux
  3. How to Configure Multiple Fencing-device Levels in Pacemaker Cluster
  4. How to Run SCP Without Password Prompt Interruption in Linux
  5. Error: Can’t open display: hostname:x.y when running xclock
  6. How To Disable Or Extend System Logging Rate-limit on CentOS/RHEL 6
  7. “docker dead but subsys locked” – error while starting docker
  8. How to Calculate Memory Usage in Linux using sar, ps, and free
  9. How to send Audit Logs to Remote Rsyslog Server in CentOS/RHEL 6,7
  10. rpm: error while loading shared libraries: invalid ELF header

You May Also Like

Primary Sidebar

Recent Posts

  • How to disable ACPI in CentOS/RHEL 7
  • How to Use real-time query to access data on a physical standby database
  • CentOS/RHEL 8: “ACPI MEMORY OR I/O RESET_REG” Server Hung after reboot
  • How to Create a Physical Standby Database by Using SQL and RMAN Commands
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary