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
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 ..."
>VNCSERVERS="2:vnc" >VNCSERVERARGS[2]="-geometry 1024x768 -depth 24"Here you are starting a vncserver on port 5902 for user "vnc". Does he exist?>here i have created a user vnc and set the password using vncpasswd cmd.Ok>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.Well, you aren't seeing this message with that config. According to this, you are starting a server on port 5901 for a user "gopinath" who appears to be root?>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 linuxYou need to uncomment the two lines it says to uncomment in the file: vi ~/.vnc/xstartup Good luck, jlc _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos
Hello, Make sure that the vncserver service is start or not. using #service vncserver status if it returns stop then start vncserver service. #service vncserver start use command #vncserver localhost initially no need to mention port number. By default configuration, it runs well no need to set any thing anywhere. but, if still having some problem then, try to reinstall it. #yum remove vnc #yum install vnc and then start the service. *Thanks and Regards, Kapil Singh Kushwah Linux System Administrator Hotwax Media Inc. Indore,(M.P) INDIA * On Tue, Jul 22, 2008 at 5:46 PM, Gopinath Achari < gopinath at signal-networks.com> 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 > > > > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080722/f68deb8a/attachment-0001.html>
/sbin/service vncserver status Xvnc (pid 13533) is running... [root at localhost ~]# /sbin/service vncserver restart Shutting down VNC server: 2:vnc [FAILED] Starting VNC server: 2:vnc [FAILED] this above was displayed when i restarted the service i am not knowing where i am doing the mistake if anyone has a configuration list to configure vncserver please provide me so i am compare my configuration for the errors On Tue, 2008-07-22 at 18:03 +0530, kapil singh wrote:> Hello, > Make sure that the vncserver service is start or not. > > using > > #service vncserver status > > if it returns stop > then start vncserver service. > > #service vncserver start > > use command > > #vncserver localhost > > initially no need to mention port number. > > > By default configuration, it runs well no need to set any thing > anywhere. but, if still having some problem then, > > try to reinstall it. > > #yum remove vnc > > #yum install vnc > > and then start the service. > > Thanks and Regards, > Kapil Singh Kushwah > Linux System Administrator > Hotwax Media Inc. > Indore,(M.P) INDIA > > > > > On Tue, Jul 22, 2008 at 5:46 PM, Gopinath Achari > <gopinath at signal-networks.com> 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 > > > > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos
hi i remove the packeges vnc and vnc-server and reinstalled newly using yum install vnc and yum install vnc-server it got installed then i started the service it displayed /sbin/service vncserver restart Shutting down VNC server: [ OK ] Starting VNC server: no displays configured [ OK ] then i typed [root at localhost .vnc]# vncviewer localhost.localdomain:5901 it promps the password but again the same black screen with cursor is displayed what to do ... On Tue, 2008-07-22 at 18:03 +0530, kapil singh wrote:> Hello, > Make sure that the vncserver service is start or not. > > using > > #service vncserver status > > if it returns stop > then start vncserver service. > > #service vncserver start > > use command > > #vncserver localhost > > initially no need to mention port number. > > > By default configuration, it runs well no need to set any thing > anywhere. but, if still having some problem then, > > try to reinstall it. > > #yum remove vnc > > #yum install vnc > > and then start the service. > > Thanks and Regards, > Kapil Singh Kushwah > Linux System Administrator > Hotwax Media Inc. > Indore,(M.P) INDIA > > > > > On Tue, Jul 22, 2008 at 5:46 PM, Gopinath Achari > <gopinath at signal-networks.com> 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 > > > > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos