> -----Original Message-----
> From: lok lok [mailto:[EMAIL PROTECTED]]
> Q1:
> 
> While starting VNC server, the following message will be prompted:
> 
> >
> >[root@localhost tmp]# vncserver
> >
> >New 'X' desktop is localhost.localdomain:1
> >
> >Starting applications specified in /root/.vnc/xstartup
> >Log file is /root/.vnc/localhost.localdomain:1.log
> >
> >[root@localhost tmp]#
> >
> 
> I think my VNC server can't be ran properly.  It shows 
> running on localhost.localdomain.  Why don't it show my ip 
> address ?   Can I set a fix IP for it ?

vnc is just replicating information it finds. I think your network
configuration is not setup properly: your hostname and domainname are set to
'localhost' and 'localdomain.'. If you type `hostname`, what do you get?

> 
> Q2:
> 
> Can I set the http port to 80 for VNC server ?

Yes, but why do you want to do that?

> 
> I have tried to type the following command to change the port.
> 
> >
> >[root@localhost tmp]#Xvnc -httpport 80
> >_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
> >_XSERVTransMakeAllCOTSServerListeners: server already running

You clearly have an other webserver running.

> >
> >Fatal server error:
> >Cannot establish any listening sockets - Make sure an X 
> server isn't already running
> >[root@localhost tmp]#

The first part (up to the -) is the error message. The second part is an
idea how to solve it. In your case, it's not the X server but the web server
that is already running.

> >
> 
> What's problem about that ?   How can I stop my X server running ?

Most likely there is a process with the name `httpd` running at port 80. Try
`ps -ef` to see the processes or `netstat -a` to see the port usage.

Alternatively, the port is managed by inetd (or xinetd) which tries to start
the webserver as soon you try to connect to port 80.


If you like to run a vnc session over port 80 to pass a firewall, be sure
the rfb communication can pass the firewall. The http port is only used to
pass the java viewer, which uses the rfb port too.




CBee
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to