Bonjour tout le monde,
j'ai besoin d'accéder à mon serveur fedora depuis un poste windows de façon à l'utiliser comme si je me logguais dessus. Suite à divers poste trouver sur le net, je me suis essayé à installer vncserver avec xinetd!
Après plusieur tentative, j'en suis arrivé au mieux, n'avoir qu'un ecran gris... (sinon, j'arrivais à accéder a mon bureau uniquement si une session était déja ouverte.
Voici mes fichier de configuration :
[root@SB01 ~]# more /etc/X11/xorg.conf
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
EndSection
Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
ModelName "Monitor 1024x768"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 57.0
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection
Section "Module"
load "vnc"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "800x600" "640x480"
EndSubSection
Option "SecurityTypes" "None"
EndSection
[root@SB01 ~]# more /etc/gdm/custom.conf
[daemon]
RemoteGreeter=/usr/libexec/gdmgreeter
[security]
DisallowTCP=false
AllowRemoteRoot=true
[xdmcp]
Enable=true
Port=177
MaxPending=4
MaxSessions=16
MaxWait=15
DisplaysPerHost=2
[gui]
[greeter]
[chooser]
[debug]
[servers]
[root@SB01 ~]# ll /etc/xinetd.d
total 168
-rw-r--r-- 1 root root 1157 mai 17 10:21 chargen-dgram
-rw-r--r-- 1 root root 1159 mai 17 10:21 chargen-stream
-rw-r--r-- 1 root root 523 jui 28 2006 cvs
-rw-r--r-- 1 root root 1157 mai 17 10:21 daytime-dgram
-rw-r--r-- 1 root root 1159 mai 17 10:21 daytime-stream
-rw-r--r-- 1 root root 1157 mai 17 10:21 discard-dgram
-rw-r--r-- 1 root root 1159 mai 17 10:21 discard-stream
-rw-r--r-- 1 root root 1148 mai 17 10:21 echo-dgram
-rw-r--r-- 1 root root 1150 mai 17 10:21 echo-stream
-rw-r--r-- 1 root root 323 sep 6 2006 eklogin
-rw-r--r-- 1 root root 347 sep 6 2006 ekrb5-telnet
-rw-r--r-- 1 root root 326 sep 6 2006 gssftp
-rw-r--r-- 1 root root 310 sep 6 2006 klogin
-rw-r--r-- 1 root root 323 sep 6 2006 krb5-telnet
-rw-r--r-- 1 root root 308 sep 6 2006 kshell
-rw-r--r-- 1 root root 317 jui 13 2006 rsync
-rw-r--r-- 1 root root 1212 mai 17 10:21 tcpmux-server
-rw-r--r-- 1 root root 1149 mai 17 10:21 time-dgram
-rw-r--r-- 1 root root 1150 mai 17 10:21 time-stream
-rw-r--r-- 1 root root 324 oct 3 16:57 vnc1024
-rw-r--r-- 1 root root 322 oct 3 16:46 vnc800
avec
[root@SB01 ~]# more /etc/xinetd.d/vnc800
service vnc800
{
disable = no
socket-type = stream
protocol = tcp
group = tty
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -desktop yourhostname -inetd -query localhost -geometry 800x600 -depth 16 -once -securitytypes=none -rfbport 5900 :1
}
[root@SB01 ~]# more .vnc/xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
A savoir que le Xvnc est arrété... je sais pas si ca change quelque chose.
Si quelqu'un peut m'aider... merci par avance !!