Recent Changes - Search:

Softwares

.

VNC-Server-CentOS-HowTO

Main.VNC-Server-CentOS-HowTO History

Hide minor edits - Show changes to output

February 27, 2014, at 02:37 PM by 122.167.22.102 -
Added lines 1-4:
(:Google1:)
(:Googlemm:)
----
Changed lines 200-203 from:


@]
to:
@]
----
(:Googlemm:)
February 27, 2014, at 02:35 PM by 122.167.22.102 -
Changed lines 2-4 from:
HowTo VNC-Server-CentOS
to:
!!HowTo VNC-Server-CentOS
=========================
Changed lines 20-22 from:
Edit vnc server configuration.
to:
!!Edit vnc server configuration.
================================
Changed lines 40-42 from:
Setup VNC users password
to:
!!Setup VNC users password
==========================
Changed lines 66-68 from:
Fixing the errors
to:
!!Fixing the errors
===================
Changed lines 74-75 from:
Again Errors:
to:
!!Again Errors:
===============
Added lines 164-167:

!!Fixing Errors
================
Changed lines 171-177 from:


[root@dlc400 sysconfig]# yum -y install libXfont
to:
!!Starting Service
==================
Changed lines 186-187 from:
Checking for connections:
to:
!!Checking for connections:
===========================
February 27, 2014, at 02:31 PM by 122.167.22.102 -
Added lines 1-197:
[@
HowTo VNC-Server-CentOS


[root@dlc400 ~]# yum install vnc-server
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.nbrc.ac.in
* extras: mirror.nbrc.ac.in
* rpmforge: mirror-fpt-telecom.fpt.net
* updates: mirror.nbrc.ac.in
Setting up Install Process
Package tigervnc-server-1.1.0-8.el6_5.i686 already installed and latest version
Nothing to do
[root@dlc400 ~]#



Edit vnc server configuration.


[root@dlc400 sysconfig]# pwd
/etc/sysconfig
[root@dlc400 sysconfig]# tail vncservers
# http://kbase.redhat.com/faq/docs/DOC-7028

# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.

# Use "-localhost" to prevent remote VNC clients connecting except when
# doing so through a secure tunnel. See the "-via" option in the
# `man vncviewer' manual page.

VNCSERVERS="2:shibu"
VNCSERVERARGS[2]="-geometry 800x600"
[root@dlc400 sysconfig]#



Setup VNC users password


[root@dlc400 sysconfig]# su - shibu
-bash-4.1$ vncpasswd
Password:
Verify:
-bash-4.1$



[root@dlc400 sysconfig]# /sbin/service vncserver start
Starting VNC server: 2:shibu
WARNING: The first attempt to start Xvnc failed, possibly because the font
catalog is not properly configured. Attempting to determine an appropriate
font path for this system and restart Xvnc using that font path ...
Could not start Xvnc.

/usr/bin/Xvnc: symbol lookup error: /usr/bin/Xvnc: undefined symbol: pixman_composite_trapezoids
/usr/bin/Xvnc: symbol lookup error: /usr/bin/Xvnc: undefined symbol: pixman_composite_trapezoids

[FAILED]
[root@dlc400 sysconfig]#


Fixing the errors


[root@dlc400 sysconfig]# rpm -qa |grep pixman
pixman-0.18.4-1.el6_0.1.i686
[root@dlc400 sysconfig]# yum install pixman-devel


Again Errors:

[root@dlc400 sysconfig]# /sbin/service vncserver start
Starting VNC server: 2:shibu
WARNING: The first attempt to start Xvnc failed, possibly because the font
catalog is not properly configured. Attempting to determine an appropriate
font path for this system and restart Xvnc using that font path ...
Could not start Xvnc.


Xvnc TigerVNC 1.1.0 - built Feb 4 2014 05:21:35
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11300000, The X.Org Foundation

Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension VNC
Initializing built-in extension GLX

Thu Feb 27 19:52:04 2014
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5902
vncext: created VNC server for screen 0
[dix] Could not init font path element catalogue:/etc/X11/fontpath.d, removing from list!
[dix] Could not init font path element built-ins, removing from list!

Fatal server error:
could not open default font 'fixed'

Xvnc TigerVNC 1.1.0 - built Feb 4 2014 05:21:35
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11300000, The X.Org Foundation

Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension VNC
Initializing built-in extension GLX

Thu Feb 27 19:52:07 2014
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5902
vncext: created VNC server for screen 0
[dix] Could not init font path element /usr/share/X11/fonts/misc, removing from list!
[dix] Could not init font path element /usr/share/X11/fonts/100dpi, removing from list!
[dix] Could not init font path element /usr/share/X11/fonts/Type1, removing from list!
[dix] Could not init font path element /usr/share/fonts/default/Type1, removing from list!
[dix] Could not init font path element built-ins, removing from list!

Fatal server error:
could not open default font 'fixed'

[FAILED]
[root@dlc400 sysconfig]# yum -y install libXfont





[root@dlc400 sysconfig]# yum -y install libXfont



[root@dlc400 sysconfig]# /sbin/service vncserver start
Starting VNC server: 2:shibu
New 'dlc400.lab:2 (shibu)' desktop is dlc400.lab:2

Creating default startup script /var/shibu/.vnc/xstartup
Starting applications specified in /var/shibu/.vnc/xstartup
Log file is /var/shibu/.vnc/dlc400.lab:2.log

[ OK ]
[root@dlc400 sysconfig]#


Checking for connections:


[root@dlc400 sysconfig]# netstat -anlp |grep 5902
tcp 0 0 0.0.0.0:5902 0.0.0.0:* LISTEN 2854/Xvnc
unix 3 [ ] STREAM CONNECTED 15902 2208/pam
[root@dlc400 sysconfig]#






@]
Edit - History - Print - Recent Changes - Search
Page last modified on February 27, 2014, at 02:37 PM