[CentOS] Making VNC run on port 8080 on Centos 3.4

ankush grover ankushcentos at gmail.com
Thu Mar 1 14:13:52 UTC 2007


On 3/1/07, John Summerfield <debian at herakles.homelinux.org> wrote:
> Will McDonald wrote:
>
> > http://www.g-loaded.eu/2005/11/10/configure-vnc-server-in-fedora/
> >
> > To get vncserver to listen on 8080 you will need to configure a
> > display that is equal to 8080-5900.
>
> Or use a redirector, such as xinetd.
>

I did as mentioned in the link but I am getting the below errors

[root at em2 sysconfig]# service vncserver restart
Shutting down VNC server: 2180:ankush
Can't find file /home/ankush/.vnc/em2:2180.pid
You'll have to kill the Xvnc process manually

                                                           [FAILED]
Starting VNC server: 2180:ankush A VNC server is already running as :2180
                                                           [FAILED]


In the /etc/sysconfig/vncservers

VNCSERVERS="2180:ankush"
VNCSERVERARGS[2180]="-geometry 1024x768 -depth 16"
~

But there is no Xvnc process running

ps -efm | grep Xvnc
root     24091 23267  0 06:12 pts/0    00:00:00 grep Xvnc

I am not able to understand why it is giving error as I followed what
was mentioned in the below url

http://www.g-loaded.eu/2005/11/10/configure-vnc-server-in-fedora/

Thanks & Regards

Ankush Grover



More information about the CentOS mailing list