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

Will McDonald wmcdonald at gmail.com
Thu Mar 1 14:29:39 UTC 2007


On 01/03/07, ankush grover <ankushcentos at gmail.com> wrote:
> 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/

Something's already listening on port 8080 at a guess. Have you got
Tomcat installed?

[root at stella .vnc]# service vncserver start
Starting VNC server: 2180:wmcdonald A VNC server is already running as :2180
                                                           [FAILED]
[root at stella .vnc]# netstat -lnp | grep 8080
tcp        0      0 :::8080                     :::*
     LISTEN      3349/java
[root at stella .vnc]#


Will.



More information about the CentOS mailing list