• 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 CentOS/RHEL

By admin

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

  • vnc-server for CentOS/RHEL 5
  • 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

The Steps

VNC for HTTP access uses a port number other than the default VNC ports that 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

2. Use below command to install it if not done yet:

# yum install tigervnc-server-applet

3. Access VNC from the URL http://[Server IP]:[5800 + VNC Number]. For example:

http://192.168.1.2:5801

4. 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, Fedora, Linux

Some more articles you might also be interested in …

  1. Linux OS Service ‘xendomains’
  2. CentOS / RHEL : How to delete LUKS encrypted device
  3. Linux OS Service ‘hplip’
  4. Comparing NET-TOOLS V/s IPROUTE Package Commands (ip Vs ifconfig command comparison)
  5. What’s the difference between locate and find command in Linux
  6. “yum history” command examples to display, rollback, redo, undo yum transactions
  7. Active Directory Users Unable to Login via SSH using SSSD and Getting “Permission Denied, Please Try Again” [CentOS/RHEL]
  8. How To Add/Remove Locale Archive in CentOS/RHEL 5,6
  9. RPM : package installation Error : cpio: read failed
  10. CentOS / RHEL : How to create a Thinly Provisioned Logical Volume

You May Also Like

Primary Sidebar

Recent Posts

  • Failed to start LSB: Bring up/down networking – On restarting network service CentOS/RHEL (DHCP client)
  • How To Add Timestamps To dmesg Kernel Boot Log in CentOS/RHEL
  • How to disable ICMP redirects on CentOS/RHEL
  • What are Oracle Key Vault Roles
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary