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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • 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. blkdiscard Command Examples in Linux
  2. CentOS / RHEL 7 : GRUB2 configuration file /boot/grub2/grub.cfg explained
  3. How to Install Oracle Linux (UEK-2) with btrfs as a root filesystem
  4. a2ensite: command not found
  5. dnstracer: command not found
  6. ‘ulimit: max user processes: cannot modify limit:operation not permitted’ Shown When Login
  7. How to Check Btrfs FileSystem Usage and Perform Balancing
  8. How to Find and Delete Empty Directories and Files in Linux
  9. modprobe: command not found
  10. How To Customize The Screensaver Options In Gnome on CentOS/RHEL 7

You May Also Like

Primary Sidebar

Recent Posts

  • fprintd-delete Command Examples in Linux
  • fprintd-delete: command not found
  • foreman: command not found
  • foreman Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright