Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running a redhat9-shrike-router where the gui is running well...locallly
I just wanted to install vnc .......here, what I've already doneas user "pablo"):
vncpasswd
--->define pwd.....
then I changed this file to.....:
-->$HOME/.vnc/xstartup (the home-dir of user "pablo")....
and then this error message appears when i want to start the vnc service like this:
Code:
[pablo@router1 pablo]$ vncserver :1 -name VNCServer -depth 32 -geometry 1000x700
Couldn't start Xvnc; trying default font path.
Couldn't start Xvnc process.
06/12/03 17:33:11 Xvnc version 3.3.6 - built Jan 15 2003 11:41:01
06/12/03 17:33:11 Copyright (C) 2002 RealVNC Ltd.
06/12/03 17:33:11 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
06/12/03 17:33:11 All Rights Reserved.
06/12/03 17:33:11 See http://www.realvnc.com for information on VNC
06/12/03 17:33:11 Desktop name 'VNCServer' (router1:1)
06/12/03 17:33:11 Protocol version supported 3.3
06/12/03 17:33:11 Listening for VNC connections on TCP port 5901
06/12/03 17:33:11 Listening for HTTP connections on TCP port 5801
06/12/03 17:33:11 URL http://router1:5801
06/12/03 17:33:12 Xvnc version 3.3.6 - built Jan 15 2003 11:41:01
06/12/03 17:33:12 Copyright (C) 2002 RealVNC Ltd.
06/12/03 17:33:12 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
06/12/03 17:33:12 All Rights Reserved.
06/12/03 17:33:12 See http://www.realvnc.com for information on VNC
06/12/03 17:33:12 Desktop name 'VNCServer' (router1:1)
06/12/03 17:33:12 Protocol version supported 3.3
06/12/03 17:33:12 Listening for VNC connections on TCP port 5901
06/12/03 17:33:12 Listening for HTTP connections on TCP port 5801
06/12/03 17:33:12 URL http://router1:5801
....I don't understand that, cause everywhere is written, that's it's just "so easy" to configure this service....
here the file /etc/sysconfig/vncserver:
Code:
# The VNCSERVERS variable is a list of display:user pairs.
#
# Uncomment the VNCSERVERS line below to start a VNC server on display :1
# as my 'myusername' (adjust this to your own). You will also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do that.
#
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted! For a secure way of using VNC, see
# <URL:http://www.uk.research.att.com/vnc/sshvnc.html>.
VNCSERVERS="1:pablo"
#VNCOPTIONS="-depth 8 -geometry 1024x768 -alwaysshared"
have I forgotten anything,......? ...please help.....the path''s:
Well it look like it is running - are you having problems connecting? Make sure you specify the display when you vnc - eg "ip.of.server.here:1". Also check your firewall rules:
iptables -nL
Originally posted by david_ross Well it look like it is running - are you having problems connecting? Make sure you specify the display when you vnc - eg "ip.of.server.here:1". Also check your firewall rules:
iptables -nL
well.... yes it is running.....but ---->what about the error messages about "Xvnc" above........?
I stopped the iptables service, so.... the firewall policies doesn't affect the connection......but the vncviewer on a windows-machine reports: failed to connect to server......when i enter "ip:1" after starting the vnc-service on the router...
kde is installed, and the local gui works....
please help me....thanks for your advices
pablo
Last edited by pablovschby; 12-06-2003 at 01:23 PM.
[root@router1 pablo]# rm -f /tmp/.X1-lock
[root@router1 pablo]# exit
exit
[pablo@router1 pablo]$ vncserver :1 -name VNCServer -depth 32 -geometry 1000x700
Warning: router1:1 is taken because of /tmp/.X11-unix/X1
Remove this file if there is no X server router1:1
A VNC server is already running as :1
[pablo@router1 pablo]$ su
Password:
[root@router1 pablo]# rm /tmp/.X11-unix/X1
rm: Socket »/tmp/.X11-unix/X1« entfernen? j
[root@router1 pablo]# exit
exit
[pablo@router1 pablo]$ vncserver :1 -name VNCServer -depth 32 -geometry 1000x700
Couldn't start Xvnc; trying default font path.
Couldn't start Xvnc process.
06/12/03 20:36:15 Xvnc version 3.3.6 - built Jan 15 2003 11:41:01
06/12/03 20:36:15 Copyright (C) 2002 RealVNC Ltd.
06/12/03 20:36:15 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
06/12/03 20:36:15 All Rights Reserved.
06/12/03 20:36:15 See http://www.realvnc.com for information on VNC
06/12/03 20:36:15 Desktop name 'VNCServer' (router1:1)
06/12/03 20:36:15 Protocol version supported 3.3
06/12/03 20:36:15 Listening for VNC connections on TCP port 5901
06/12/03 20:36:15 Listening for HTTP connections on TCP port 5801
06/12/03 20:36:15 URL http://router1:5801
06/12/03 20:36:16 Xvnc version 3.3.6 - built Jan 15 2003 11:41:01
06/12/03 20:36:16 Copyright (C) 2002 RealVNC Ltd.
06/12/03 20:36:16 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
06/12/03 20:36:16 All Rights Reserved.
06/12/03 20:36:16 See http://www.realvnc.com for information on VNC
06/12/03 20:36:16 Desktop name 'VNCServer' (router1:1)
06/12/03 20:36:16 Protocol version supported 3.3
06/12/03 20:36:16 Listening for VNC connections on TCP port 5901
06/12/03 20:36:16 Listening for HTTP connections on TCP port 5801
06/12/03 20:36:16 URL http://router1:5801
[pablo@router1 pablo]$ ps -ef | grep vnc
pablo 1794 1628 0 20:36 pts/0 00:00:00 grep vnc
is this one of these problems that can't be solved on linux...? I don't believe that....
please help
.... also give me hints, in which area this problem could be, please....
also tell me, if my actions were right, please...... a hint like "you've done everything correctly.... i don't know, why it shouldn't run..." would be an advise......
Last edited by pablovschby; 12-07-2003 at 05:55 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.