[Résolu] Ajout de ModeLine ?

Bonjour !

Je viens d’installer un switch KVM et j’ai pû constater un flou sur mon affichage sur Linux: Debian SID Lenny

J’ai généré un ModeLine pour essayer de palier au problème mais en relancant X ca foire joyeusement :laughing:

Voici comment j’ai procédé:

[code]Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV17 [GeForce4 MX 460]"
Monitor "NEC LCD 1701"
DefaultDepth 24
SubSection "Display"
Modes “1280x1024” “1024x768” “800x600” "640x480"
EndSubSection

ModeLine "1280x1024" 132.59 1280 1320 1416 1640 1024 1026 1030 1078  # 133 MHz, 80.8 kHz, 75.0 Hz

EndSection[/code]

Je ne sais pas si c’est comme ca qu’il faut faire donc si vous pouviez m’éclaicir la voie, merci :wink:

Peut-être donner les logs déjà, ca dit quoi ? que la ligne n’est pas bonne ?

Voici l’erreur, désolé:

[code]
X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux Debian (xorg-server 2:1.3.0.0.dfsg-12)
Current Operating System: Linux lucie 2.6.22-1-k7 #1 SMP Sun Jul 29 15:15:55 UTC 2007 i686
Build Date: 09 August 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: “/var/log/Xorg.0.log”, Time: Fri Aug 31 17:13:04 2007
(==) Using config file: “/etc/X11/xorg.conf"
Parse error on line 62 of section Screen in file /etc/X11/xorg.conf
"ModeLine” is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor[/code]

La ligne 62 correspond donc à mon ModeLine !

Nan c’est bon je me suis planté, c’était dans la section Monitor qu’il fallait mettre le ModeLine … sorry :laughing: