Install VNC Server On CentOS 6.4
In this handy tutorial, let me show you how to install vncserver on Centos 6.4 and how to connect to this server from remote hosts.
Install Desktop Environment
Sometimes you may need the GUI to do some tasks in Linux even if that tasks are not preferred for Unix administrations .
# yum groupinstall "General Purpose Desktop" "Desktop Platform"
# yum groupinstall "KDE Desktop"
Install VNC server
# yum -y install vnc-server Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * base: centos.crazyfrogs.org * epel: be.mirror.eurid.eu * extras: centos.crazyfrogs.org * updates: centos.crazyfrogs.org Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package tigervnc-server-module.i686 0:1.1.0-5.el6_4.1 will be installed --> Finished Dependency Resolution
# yum install tigervnc-server
Make vnc password for user (Ex. pirat9). Login to the user and run the following command:
$ vncpasswd Password: Verify:
Configure VNC configuration for new user
Edit /etc/sysconfig/vncservers file and add the user name:
you can add more users with multiple different display size for every user.
VNCSERVERS="2:userx 3:usery 4:userz" VNCSERVERARGS="-geometry 1280x1024" VNCSERVERARGS="-geometry 1280x1024" VNCSERVERARGS="-geometry 800x600"
Make it to start automatically on every reboot and start the vnc service.
# chkconfig vncserver on # /etc/init.d/vncserver start Starting VNC server: 2:pirat9 xauth: creating new authority file /home/pirat9/.Xauthority xauth: (stdin):1: bad display name "unixmen-Centos64:2" in "add" command New 'unixmen-Centos64:2 (pirat9)' desktop is unixmen-Centos64:2 Creating default startup script /home/pirat9/.vnc/xstartup Starting applications specified in /home/pirat9/.vnc/xstartup Log file is /home/pirat9/.vnc/unixmen-Centos64:2.log [ OK ]
Download and install VNC viewer in your client systems and try to connect to your vnc server.
Like us on Facebook
We need your assistance to stay live
This week Top Posts
- Wow! Linux Foundation To Offer Free Linux Course This Summer Worth $2,400 on EdX : Wow! Early last week it was all over the internet, if you haven't heard it yet then this is the t...0 comments |
- Grive: An Unofficial, Open Source Linux Client For Google Drive : A couple of months before, we have featured a Linux client for Google Drive named Syncdrive, which w...1 comment |
- Top Things To Do After Installing Ubuntu 13.10 'Saucy Salamander' : Ubuntu 13.10 Saucy Salamander will be released on coming October 17th with many new salient featur...0 comments |
- How To "Fix E: Could not open file /var/lib/dpkg/status" : QUESTION: I get the following error when I use sudo apt-get update: E: Could not open file /var/...0 comments |
- Install Sublime Text 3 In Fedora Easily With Fedy : Sublime Text is a sophisticated text editor for code, markup and prose. In this tutorial we are goi...0 comments |
- Install nSnake Game In Terminal : From github repo nsnake is a clone of the classic snake game that we all used to play on our cellp...0 comments |
- Install Sublime Text 3 In Fedora Easily With Fedy
- Grive: An Unofficial, Open Source Linux Client For Google Drive
- Install nSnake Game In Terminal
- How To “Fix E: Could not open file /var/lib/dpkg/status”
- Wow! Linux Foundation To Offer Free Linux Course This Summer Worth $2,400 on EdX
- Fedora 21 Scheduled For Release In October
- Install Uget Download Manager In Ubuntu, Fedora, Debian
- Download Elementary OS ‘Luna’ Official Wallpapers
- Install Power Commands 0.1.5 On Ubuntu 14.04/13.10/12.10/12.04
- 5 Android Apps that’s Going to Make Running Your Business Less Stressful
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .