[CentOS] VNC server problem

Tue Jul 22 12:22:21 UTC 2008
Fabian Arrotin <fabian.arrotin at arrfab.net>

Gopinath Achari wrote:
> HI all,
> 
> 		i am configuring VNC server in CentOS 5.1. i have enables this two
> lines in /etc/sysconfig/vncserver file
> 
> VNCSERVERS="2:vnc"
> VNCSERVERARGS[2]="-geometry 1024x768 -depth 24"
> 
> here i have created a user vnc and set the password using vncpasswd cmd.
> 
> 
> then i started the vncserver 
> 
> # vncserver
>         
>         New 'localhost.localdomain:1 (gopinath)' desktop is
>         localhost.localdomain:1
>         
>         Starting applications specified in /root/.vnc/xstartup
>         Log file is /root/.vnc/localhost.localdomain:1.log
>         
> The above message was displayed about executing vncserver command. no OK
> status was displayed.
> 
> 
> then i used cmd 
> 
>  vncviewer localhost.localdomain:5901
> 
> it prompted for the passwd i gave the password then 
> 
> it started vncviewer but in that only cursor is displayed which can be
> moved. but no GUI display. 
> 
> Please help me on this if any one knows i am still a beginner to linux
> 

by default vnc launches twm  .. that can be changed/configured in 
~/.vnc/xstartup
alternative to vnc : NX/FreeNX available in the Extras repository and a 
wiki page exists here : http://wiki.centos.org/HowTos/FreeNX

-- 
-
Fabian Arrotin <fabian.arrotin at arrfab.net>
"Internet network currently down, TCP/IP packets delivered now by 
UPS/Fedex ..."