0% found this document useful (0 votes)
20 views

Install VNC Server On CentOS 6

Uploaded by

Aymen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Install VNC Server On CentOS 6

Uploaded by

Aymen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

5/27/2014 Install VNC Server On CentOS 6.

4 | Unixmen

Home
About Us
Advertising
Sitemap
Privacy
Contact Us

Page Navigation
search

Unixmen
Home
News
Today
Linux
Distributions
Tutorials
Knowledge Base
Opensource
News
Android
News
Frequently
Asked Question
Ask
Unixmen

Category Navigation
2392 views 1 like 5 comments
Posted August 22, 2013

Install VNC Server On CentOS 6.4


by M.el Khamlichi
http://www.unixmen.com/install-vnc/ 1/10
5/27/2014 Install VNC Server On CentOS 6.4 | Unixmen

Share this Article: 0 0 6 0 0 0

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 .

For GNOME:

1 # yum groupinstall "General Purpose Desktop" "Desktop Platform"

For KDE:

1 # yum groupinstall "KDE Desktop"

Install VNC server


1 # yum -y install vnc-server
2 Loaded plugins: fastestmirror, refresh-packagekit
3 Loading mirror speeds from cached hostfile
4 * base: centos.crazyfrogs.org
5 * epel: be.mirror.eurid.eu
6 * extras: centos.crazyfrogs.org
7 * updates: centos.crazyfrogs.org
8 Setting up Install Process
9 Resolving Dependencies
10 --> Running transaction check
11 ---> Package tigervnc-server-module.i686 0:1.1.0-5.el6_4.1 will be installed
12 --> Finished Dependency Resolution

Install Tigervnc-Server

1 # yum install tigervnc-server

Make vnc password for user (Ex. pirat9). Login to the user and run the following
command:

1 $ vncpasswd
2 Password:
3 Verify:

Configure VNC configuration for new user

Edit /etc/sysconfig/vncservers file and add the user name:

1 VNCSERVERS="2:pirat9"

you can add more users with multiple different display size for every user.
1 VNCSERVERS="2:userx 3:usery 4:userz"
2 VNCSERVERARGS[2]="-geometry 1280x1024"
3 VNCSERVERARGS[3]="-geometry 1280x1024"
4 VNCSERVERARGS[4]="-geometry 800x600"
http://www.unixmen.com/install-vnc/ 2/10
5/27/2014 Install VNC Server On CentOS 6.4 | Unixmen

Make it to start automatically on every reboot and start the vnc service.

1 # chkconfig vncserver on
2
3 # /etc/init.d/vncserver start
4 Starting VNC server: 2:pirat9 xauth: creating new authority file /home/pirat9/.Xauthority
5 xauth: (stdin):1: bad display name "unixmen-Centos64:2" in "add" command
6 New 'unixmen-Centos64:2 (pirat9)' desktop is unixmen-Centos64:2
7 Creating default startup script /home/pirat9/.vnc/xstartup
8 Starting applications specified in /home/pirat9/.vnc/xstartup
9 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.

Enter the password and you will


able to connect to your server.

http://www.unixmen.com/install-vnc/ 3/10
5/27/2014 Install VNC Server On CentOS 6.4 | Unixmen

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: 0 0 6 0 0 0

1 person likes this


CentOS, Fedora, Linux tutorials, Software

tigervncvncvncserver

M.el Khamlichi
Founder of Unixmen , Living in Amsterdam. Netherlands i Have started this project
with non-profit objective. my only target is helping people and guide them to
understand that Bill Gates is not the only one making good things for IT world. Email:
webmaster@unixmen.com

http://www.unixmen.com/install-vnc/ 4/10
5/27/2014 Install VNC Server On CentOS 6.4 | Unixmen

Advetise here !!!

http://www.unixmen.com/install-vnc/ 5/10
5/27/2014 Install VNC Server On CentOS 6.4 | Unixmen

Donate to Unixmen

We need your assistance to stay live and contribute more articles on Unix.

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Like us on Facebook

Unixmen
Like

40,310 people like Unixmen.

Facebook social plugin

http://www.unixmen.com/install-vnc/ 6/10
5/27/2014 Install VNC Server On CentOS 6.4 | Unixmen

Unixmen Latest Tweets

http://www.unixmen.com/install-vnc/ 7/10
5/27/2014 Install VNC Server On CentOS 6.4 | Unixmen

Tweets Follow

Unixmen 16h
@unixmen
Setup Backup Server Using Bacula And
Webmin On Ubuntu 14.04: Bacula is
an open source network backup
solution ... bit.ly/1hqlAnM
Expand

Unixmen 18h
@unixmen
Install Webmin On Ubuntu 14.04:
Webmin is an open source, web based
system administration tool for
Unix/Linux.... bit.ly/1w7jsuI

Unixmen 24 May
@unixmen
Dictionaries vs List data structures In
Python: Suppose you have a following
list: [crayon-5380b04a12558466430...
bit.ly/1vXJIaJ
Expand

Unixmen 23 May
@unixmen
Use Special Characters In Python:
Sometimes, we want to add some
extra space between two words, like
pressing ... bit.ly/1hfQoYi
Expand

Tweet to @unixmen

Unixmen

Follow +1

+ 7,591

Top 10 Recent Comments


Jakeukalane Milegum Firisse
worked today for me also. It was a problem of the live USB. I did...

Nicky
Worked for me 14.04, 64 bit, LTS

bob
This is a very late reply, but I have been busy. I can't seem to...

http://www.unixmen.com/install-vnc/ 8/10
5/27/2014 Install VNC Server On CentOS 6.4 | Unixmen

Bill Randle
Great summary - thanks!

setevoй червь™
Thanks, I know what it is... But I mean exactly "redable", like "more simple
to...

Panos Georgiadis
for the time being I am covering some basics you all need to know in...

Panos Georgiadis
Google for Escape Sequences or follow this link:
https://docs.python.org/2/reference/lexical_analysis.html#string-literals...

setevoй червь™
As for me - second example more readable... But - need more characters,
yes :-)

Maravento
thanks

Panos Georgiadis
1+1=2 is also a solution in a math course. The Coursera course has been
ended...

Favorite Links

Ubuntu Linux Tutorials, Howtos, Tips and News.

LinuxHost: Webdesing, SEO & Internet Marketing.

News on Free/libre and Open Source software.

Unixmen Archives
Select Month
http://www.unixmen.com/install-vnc/ 9/10
5/27/2014 Install VNC Server On CentOS 6.4 | Unixmen

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0


International License.

8288
0
7591
31

android browser Centos Debian Fedora games gaming Linux linux distribution
gnome

LinuxMint lucid lynx news opensource security server software ubuntu


Copyright © 2014 Unixmen, All Rights Reserved.
Website Design and Maintained by Anblik.

http://www.unixmen.com/install-vnc/ 10/10

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy