Food trip at Gerry's Grill Singapore

Food trip at Gerry's Grill Singapore

      Recently a thoughful friend of ours treated the whole flatmates to the famous Filipino grilled...

Trip to Jurong Bird Park Singapore

Trip to Jurong Bird Park Singapore

        One of the most common tourist spot in Singapore is Jurong Bird Park which has almost 5000 birds of...

Trip to Universal Studios Singapore

Trip to Universal Studios Singapore

      Finally I got the chance to go in Universal Studios Singapore with my wife.  I heard a lot of fun stories...

Trip to Kuala Lumpur

Trip to Kuala Lumpur

           I never thought that Chinese New Year (CNY) was really a great holiday to wait here in...

God's medium of communication

God's medium of communication

        Social networking sites were usually intended to build and share relations among people. It's where we...

Writing annual family goals

Writing annual family goals

        During my college days I read a lot of goal setting books as I realized the importance of having...

Favorite bible verse

Favorite bible verse

      I grew up in a protestant school and until I'd reached in high school, that's why having faith in God is...

5 Reasons why God uses problems

5 Reasons why God uses problems

      It's been a while since my last post. I've been so much busy on our project. We're already on the point of...

Short story writing contests

Short story writing contests

      Lately I was doing a clean up on my backup drive, I was deleting my unnecessary data. Then I accidentally...

  • Food trip at Gerry's Grill Singapore

    Food trip at Gerry's Grill Singapore

  • Trip to Jurong Bird Park Singapore

    Trip to Jurong Bird Park Singapore

  • Trip to Universal Studios Singapore

    Trip to Universal Studios Singapore

  • Trip to Kuala Lumpur

    Trip to Kuala Lumpur

  • God's medium of communication

    God's medium of communication

  • Writing annual family goals

    Writing annual family goals

  • Favorite bible verse

    Favorite bible verse

  • 5 Reasons why God uses problems

    5 Reasons why God uses problems

  • Short story writing contests

    Short story writing contests

You are here: HomeTechnical Knowledgeclient server technologyVnc server linux

Vnc server linux

     

 

I just recently installed and configure VNC server on my Red Hat Enterprise Linux.  I had read alot of tutorials on the configuration of VNC server on a Red Hat Enterprise and based on the different tutorials I come up with more precise and short tutorial.

By default the vnc-server is already installed in most Linux distro but on some you have to install. For my case I just did the standard installation of REHL that's why I have to install vnc-server separately.

The first thing you need to do is to verify the vnc-server on your system. Below is the rpm command to verify if any vnc-server package was installed on the system.

rpm -q vnc-server

If no package found on your system, then you need to install it from RHEL cd packages.

On your home directory .vnc folder can be found and a file xstartup inside the .vnc folder. Edit the xstartup file and uncomment the below statements.

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

Issue the command ;            vncserver :1

The above command will create an instance of vncserver and you can access that instance through a vnc client.  ( e.g vncviewer 192.168.1.1:1 )

To verify if the vncserver is already issue the command :

netstart -tulpan | grep vnc
or
service vncserver status

To close the instance of vncserver use the below command :

vncserver -kill :1

If you want to run the vncserver on boot up. Edit the file /etc/sysconfig/vncservers and specified socket number with the username under VNCSERVERS.

VNCSERVERS = "1:myusername_1 2:myusername_2"

Then use the command below :

chkconfig --level 5 vncserver on

 


You might also like:

              

Go to top