Hi Friends,
I am trying to run vnc on port 8080 on Centos 3.4 . There are no kde or gdm packages installed as we only need xserver. I have installed
XFree86-font-utils-4.3.0-78.EL XFree86-75dpi-fonts-4.3.0-78.EL XFree86-base-fonts-4.3.0-78.EL XFree86-xdm-4.3.0-78.EL XFree86-libs-data-4.3.0-78.EL XFree86-4.3.0-78.EL XFree86-libs-4.3.0-78.EL XFree86-xfs-4.3.0-78.EL XFree86-Mesa-libGL-4.3.0-78.EL XFree86-xauth-4.3.0-78.EL XFree86-truetype-fonts-4.3.0-78.EL XFree86-Mesa-libGLU-4.3.0-78.EL XFree86-100dpi-fonts-4.3.0-78.EL vnc vnc-server
and I want to run vnc only one for 1 user but with multipe client connections.
Plesae guide me how to configure VNC to run on port 8080 and for only 1 user.
Thanks & Regards
Ankush Grover
On 01/03/07, ankush grover ankushcentos@gmail.com wrote:
Hi Friends,
I am trying to run vnc on port 8080 on Centos 3.4 . There are no kde or gdm packages installed as we only need xserver. I have installed
XFree86-font-utils-4.3.0-78.EL XFree86-75dpi-fonts-4.3.0-78.EL XFree86-base-fonts-4.3.0-78.EL XFree86-xdm-4.3.0-78.EL XFree86-libs-data-4.3.0-78.EL XFree86-4.3.0-78.EL XFree86-libs-4.3.0-78.EL XFree86-xfs-4.3.0-78.EL XFree86-Mesa-libGL-4.3.0-78.EL XFree86-xauth-4.3.0-78.EL XFree86-truetype-fonts-4.3.0-78.EL XFree86-Mesa-libGLU-4.3.0-78.EL XFree86-100dpi-fonts-4.3.0-78.EL vnc vnc-server
and I want to run vnc only one for 1 user but with multipe client connections.
Plesae guide me how to configure VNC to run on port 8080 and for only 1 user.
Have you done any research into how VNC is configured? It's pretty well documented and straightforward, you might benefit from trying it first and then asking if you have a specific problem.
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.
http://www.bobpeers.com/linux/vnc
Will.
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.
On 3/1/07, John Summerfield debian@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@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
On 01/03/07, ankush grover ankushcentos@gmail.com wrote:
On 3/1/07, John Summerfield debian@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@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@stella .vnc]# service vncserver start Starting VNC server: 2180:wmcdonald A VNC server is already running as :2180 [FAILED] [root@stella .vnc]# netstat -lnp | grep 8080 tcp 0 0 :::8080 :::* LISTEN 3349/java [root@stella .vnc]#
Will.
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@stella .vnc]# service vncserver start Starting VNC server: 2180:wmcdonald A VNC server is already running as :2180 [FAILED] [root@stella .vnc]# netstat -lnp | grep 8080 tcp 0 0 :::8080 :::* LISTEN 3349/java [root@stella .vnc]#
Tomcat was running on port 8080. One of my colleague was trying to setup tomcat at the same time i was trying to setup vnc.
Now the problem I am facing is that I am getting Xserver through VNC. What I am getting is just the grey color window with no xserver running. I have not installed any gnome or kde packages what I require is the Xserver to be displayed through vnc.
I have put the below lines in the xstartup file of the user
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & twm & ~
Thanks & Regards
Ankush Grover