<div dir="ltr">Hello,<br>Make sure that the vncserver service is start or not.<br><br>using<br><br>#service vncserver status<br><br>if it returns stop<br>then start vncserver service.<br><br>#service vncserver start<br><br>
use command<br><br>#vncserver localhost<br><br>initially no need to mention port number.<br><br><br>By default configuration, it runs well no need to set any thing anywhere. but, if still having some problem then,<br>
<br>try to reinstall it.<br><br>#yum remove vnc<br><br>#yum install vnc<br><br>and then start the service.<br><br><b>Thanks and Regards,<br>Kapil Singh Kushwah<br>Linux System Administrator<br>Hotwax Media Inc.<br>Indore,(M.P) INDIA<br>
</b><br><br><br><br><div class="gmail_quote">On Tue, Jul 22, 2008 at 5:46 PM, Gopinath Achari <<a href="mailto:gopinath@signal-networks.com">gopinath@signal-networks.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
HI all,<br>
<br>
                i am configuring VNC server in CentOS 5.1. i have enables this two<br>
lines in /etc/sysconfig/vncserver file<br>
<br>
VNCSERVERS="2:vnc"<br>
VNCSERVERARGS[2]="-geometry 1024x768 -depth 24"<br>
<br>
here i have created a user vnc and set the password using vncpasswd cmd.<br>
<br>
<br>
then i started the vncserver<br>
<br>
# vncserver<br>
<br>
        New 'localhost.localdomain:1 (gopinath)' desktop is<br>
        localhost.localdomain:1<br>
<br>
        Starting applications specified in /root/.vnc/xstartup<br>
        Log file is /root/.vnc/localhost.localdomain:1.log<br>
<br>
The above message was displayed about executing vncserver command. no OK<br>
status was displayed.<br>
<br>
<br>
then i used cmd<br>
<br>
 vncviewer localhost.localdomain:5901<br>
<br>
it prompted for the passwd i gave the password then<br>
<br>
it started vncviewer but in that only cursor is displayed which can be<br>
moved. but no GUI display.<br>
<br>
Please help me on this if any one knows i am still a beginner to linux<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</blockquote></div><br></div>