Je sais qu'il ya des tas de discussions sur ce sujets, mais ce que j'ai fait sans succès
C'est ce que j'ai fait sur FC4 je me connecte en tant que root (je sais l'implication de sécurité)
Premièrement: [root @ localhost ~] #rpm-q - Info vnc-server
Name : vnc-server Relocations: (not relocatable)
Version : 4.1.1 Vendor: Red Hat, Inc.
Release : 10 Build Date: Wed 27 Apr 2005 10:44:11 AM GST
Install Date: Wed 15 Feb 2006 11:53:50 PM GST Build Host: decompose.build.redhat.com
Group : User Interface/X Source RPM: vnc-4.1.1-10.src.rpm
Size : 3054396 License: GPL
Signature : DSA/SHA1, Fri 20 May 2005 10:28:29 PM GST, Key ID b44269d04f2a6fd2Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.realvnc.com
Summary : A VNC server.
Description :
The VNC system allows you to access the same desktop from a wide
variety of platforms. This package is a VNC server, allowing others to
access the desktop on your machine.
- Name : vnc-server Relocations: (not relocatable)
- Version : 4.1.1 Vendor: Red Hat, Inc.
- Release : 10 Build Date: Wed 27 Apr 2005 10:44:11 AM GST
- Install Date: Wed 15 Feb 2006 11:53:50 PM GST Build Host: decompose.build.redhat.com
- Group : User Interface/X Source RPM: vnc-4.1.1-10.src.rpm
- Size : 3054396 License: GPL
- Signature : DSA/SHA1, Fri 20 May 2005 10:28:29 PM GST, Key ID b44269d04f2a6fd2Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
- URL : http://www.realvnc.com
- Summary : A VNC server.
- Description :
- The VNC system allows you to access the same desktop from a wide
- variety of platforms. This package is a VNC server, allowing others to
- access the desktop on your machine.
Deuxièmement: Le gedit / etc / sysconfig / vncserver
# The VNCSERVERS variable is a list of display:user pairs.
# Uncomment the lines below to start a VNC server on display :2
# 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>.
#zillah uncomment VNCSERVERS="2:myusername"
[B]VNCSERVERS="2:root"[/B]
#zillah uncomment VNCSERVERARGS[2]="-geometry 800x600"
[B]VNCSERVERARGS[2]="-geometry 800x600"[/B]
- # The VNCSERVERS variable is a list of display:user pairs.
- # Uncomment the lines below to start a VNC server on display :2
- # 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>.
- #zillah uncomment VNCSERVERS="2:myusername"
-
- [B]VNCSERVERS="2:root"[/B]
- #zillah uncomment VNCSERVERARGS[2]="-geometry 800x600"
- [B]VNCSERVERARGS[2]="-geometry 800x600"[/B]
Tiers: [root @ localhost ~] #vncpasswd root
Mot de passe:
Vérifier:
Quatrième: [root @ localhost ~] #vncserver
Localhost.localdomain Nouveau: 2 (root) de bureau est localhost.localdomain: 2
A partir des applications spécifiées dans / root /. vnc / xstartup
Log file is / root / .vnc / localhost.localdomain: 2.log
Et je lance la commande ci-dessous ainsi
[root @ localhost ~] #service vncserver start
A partir du serveur VNC: 2: root Un serveur VNC est déjà en cours: 2
Cinquième: http://www.redhat.com/archives/rhl-list/2005-July/msg05595.htmlJ'utilise FC4. Le correctif a été pour moi que le iptables par défaut (je crois
thats les paramètres de pare-feu) empêchaient les raccordements entrants VNC.
Pour surmonter ce gnome en i alla Desktop> Paramètres système> Paramètres du serveur> Services Là , j'ai cessé de iptables - et j'ai immédiatement été en mesure de se connecter!
Je ne cessais iptables qoute comme suggéré plus haut.
Sixième:
http://img273.imageshack.us/img273/8994/vncviewer5vn.jpg
À partir de Windows 2003, j'ai ouvert VNC Viewer et j'ai tapé dans le présent:
198.222.168. 189:2
Le message d'erreur que j'ai reçu lorsque j'ai tapé l'adresse IP de l'adresse est ci-dessous:
[B]VNC Viewer: 198.222.168.189:Error[/B]
unable to connect to host: The requested address is not valid in its context.(10049)
- [B]VNC Viewer: 198.222.168.189:Error[/B]
- unable to connect to host: The requested address is not valid in its context.(10049)
Note: 1 - Box FC4 et dans la case Win2003 au sein du même réseau local, l'accessibilité est là (ping de l'autre)
2 - De l'intérieur FC4 j'ai essayé: vncviewer 127.0.0.1:2 (même que vncviewer: 2 ),,,,,, cela a fonctionné.
3 - J'ai essayé de le faire tester par telnet à partir de Win2003:
Telnet 198.222.168. 189:5902,,,, a échoué
4 - J'ai essayé de
http://198.222.168.189:5802,,,,,failed aussi bien.
J'ai essayé de configurer l'interface graphique de la méthode A-Desktop - Préférences - Bureau à distance, profitez de la vue des utilisateurs et des boîtes utiliser, décochez la case pour vous demander confirmation, mis en mot de passe,
B-puis - Desktop - Server Settings - Services, cochez la case vncserver - Start - sauver, (qui commence à démarrer)
Any suggestion?