Asche, Devil's_Tiger, Flavius424 Le salon de discussion : Psyc0, 2 utilisateurs anonymes et 27 utilisateurs inconnus

 Mot :   Pseudo :  
 
 Page :  1  2
Page Précédente 
Auteur Sujet :

SSH et X

n°34663
bap2703
Posté le 20-03-2005 à 13:20:19  profilanswer
 

Quelqu'un sait comment avoir l'affichage d'une session graphique linux distante sur son pc ?
 
J'ai un serveur X qui tourne sur mon PC
je me connecte avec putty en ayant coché la case pour le X11 forwarding
 
mais si je lance une application en mode graphique ca fait rien.
 
 
Y a d'autres trucs a configurer :??:

mood
Google
Posté le 20-03-2005 à 13:20:19  profilanswer
 

n°34665
P1511GD
L'ère nouvelle de noël.....
Posté le 20-03-2005 à 13:21:38  profilanswer
 

je crois pas que ssh gère X.
Il faut passer par des softs du genre Tight VNC

n°34666
bap2703
Posté le 20-03-2005 à 13:23:52  profilanswer
 

bah si le ssh peut faire passer le X
 
suffit de mettre "-X" (avec putty faut cocher une case c pas chiant déjà)

n°34668
P1511GD
L'ère nouvelle de noël.....
Posté le 20-03-2005 à 13:26:24  profilanswer
 

à, je ne savais pas :)

n°34669
Deather2
OpenBSD: the way to go!
Posté le 20-03-2005 à 13:34:17  profilanswer
 

Oui, SSH gère le tunneling avec X.
Je l'utilise bcp entre mes stations Linux.
déjà, sur le serveur, il faut que dans /etc/ssh/sshd_config le X11 Forwarding soit activé (une ligne à décommenter)
 
Ensuite sous Windows, ça se complique un peu. J'ai déjà réussi à faire marcher mes applications Linux en X11 Forwarding depuis Windows, pour ça il faut cygwin et X11 d'installé avec.
Ensuite tu lance Cygwin, tu tappes startx, tu aura un xterm.
là tu fais: ssh <host> -X
et ça marchera :)

n°34670
P1511GD
L'ère nouvelle de noël.....
Posté le 20-03-2005 à 13:38:24  profilanswer
 

je vais tester de suite chez moi, par compte j'ai pas de pc windows, donc je peux pas faire la manip que tu décrit :/

n°34671
P1511GD
L'ère nouvelle de noël.....
Posté le 20-03-2005 à 13:40:29  profilanswer
 

par compte tu t'es trompé : c'est pas une ligne à décommenter, faut changer un no par un yes :p

n°34672
Deather2
OpenBSD: the way to go!
Posté le 20-03-2005 à 13:40:50  profilanswer
 

Moi j'l'ai fais avec Firefox, ça marche bien, sauf pour quitter il a merdé je crois, mais c'est assez marrant ^^
Sinon sous Linux rien à dire, ça marche impeccable.

n°34673
bap2703
Posté le 20-03-2005 à 13:42:50  profilanswer
 

le sshd_confg est bon
 
en fait avant j'arrivais a le faire mais d'une autre manière.
je me connecait en telnet au serveur : je tappais "x" et j'obtenais le nom machine_distante et le port.
ensuite je me connectais en ssh (sans x11 forwarding) et je tappais "xterm -display machine_distante:port"
ca ouvrait un terminal sur mon serveur X local d'où je pouvais lancer les applications.
 
 
Le truc c'est que le reseau a changé et que j'ai pu accès en telnet. Donc je peux plus faire la meme manip.
 
 
 

n°34674
Deather2
OpenBSD: the way to go!
Posté le 20-03-2005 à 13:44:32  profilanswer
 

Bah le seul truc possible, c'est d'avoir un serveur X sur ton PC Windows avec Cygwin

n°34675
bap2703
Posté le 20-03-2005 à 13:46:36  profilanswer
 

avant je faisait ca avec un serveur x propriétaire
 
cygwin comment on installe X11 dessus ?
je viens de mettre cygwin mais il veut pas faire startx donc je suppose que x11 est pas installé

n°34676
Deather2
OpenBSD: the way to go!
Posté le 20-03-2005 à 13:50:46  profilanswer
 

Bah à l'installe de cygwin t'as le choix de packages, suffit juste de mettre X11 je crois

n°34677
bap2703
Posté le 20-03-2005 à 14:37:43  profilanswer
 

sinon je viens d'installer un linux (ubuntu je voulais voir ce que ca donnais)
Mais je sais pas où changer l'adresse mac de ma carte reseau (si j'ai pas la bonne adresse mac le reseau m'accepte pas :/)

n°34678
Deather2
OpenBSD: the way to go!
Posté le 20-03-2005 à 14:55:12  profilanswer
 

Euh l'addr MAC c'est pas côté matos ?
Sinon je sais pas trop ... mais normallement elle change pas selon l'OS

n°34679
bap2703
Posté le 20-03-2005 à 14:59:52  profilanswer
 

ben je dois la changer sous windows déjà
apparement ca serait avec "ifconfig eth0 hw ether adressemacici"
 
je dois aussi regarder la fréquence de rafraichissement parce que 60Hz...

n°34680
bap2703
Posté le 20-03-2005 à 15:23:11  profilanswer
 

Alors la redirection X marche très bien sous linux en mettant juste "-X"
 
par contre j'arrive pu a creer le tunnel en ssh pour aller jusqu'a mon proxy... je suis obligé de lancer mozilla sur le serveur distant et de l'afficher chez moi lol
 
ma commande ssh est :
ssh -X -L 8080:wwwcache.insa-toulouse.fr:3128 bdelplan@concorde.etud.insa-toulouse.fr
 
Ca crée bien un tunnel entre 127.0.0.1:8080 et wwwcache.insa-toulouse.fr:3128 ??
Avec putty en tout cas c'est ca que je fais, je pense pas mettre trompé dans la traduction putty => ssh du batch
 
 
Par contre dès que j'ai tappé mon mot de passe sur la machine distante il me dit :"bind: Cannot assign requested address"
Avec putty sous windows il me le faisait pas :/


Message édité par bap2703 le 20-03-2005 à 15:28:52
n°34681
P1511GD
L'ère nouvelle de noël.....
Posté le 20-03-2005 à 15:29:57  profilanswer
 

pour les 60hz nano /etc/X11/XF86Config-4 ;)

n°34686
ever1
toujours 1
Posté le 20-03-2005 à 16:24:12  profilanswer
 

sinon tu peux essayer avec exceed installer sur le pc de win,  
ya des infos sur le net, sa marche tres bien chez moi

n°34687
bap2703
Posté le 20-03-2005 à 16:26:19  profilanswer
 

Ca marche avec cygwin :D
 
 
:whistle: j'avais pas choisi le paquetage pour avoir X11 dessus :ange:
 
[:boolaymode]

n°34862
bap2703
Posté le 02-04-2005 à 20:07:38  profilanswer
 

Quelqu'un aurait une idée pour mon problème de  
"bind: Cannot assign requested address"
:??:
 
Avec Damn Small Linux ca me fait pas ca pourtant

n°34865
bap2703
Posté le 03-04-2005 à 11:47:38  profilanswer
 

J'ai installé debian a la place d'ubuntu pour avoir un peu plus de controle.
Mais problème : j'arrive pas a lancer le serveur X local (le miens de ma debian a moi)
 
il me dit que la configuration de l'écran est pas bonne. Pourtant j'ai bien mis 1024*768@85Hz et toutes les resolutions et fréquences inférieures. Dans aucun des cas ca n'a marché.
 
Je cromprend pas :/

n°34866
Deather2
OpenBSD: the way to go!
Posté le 03-04-2005 à 11:50:27  profilanswer
 

dpkg-reconfigure xserver-xfree86 :D
C'est archi chiant la config de X :sweat:

n°34867
bap2703
Posté le 03-04-2005 à 11:53:52  profilanswer
 

oui je l'ai fait plein de fois la reconfiguration avec cet utilitaire.
 
Ce que je comprend pas c'est que tout a la fin de l'assistant.... il me lance X avec TWM :pt1cable:  
mais quand j'essaye de faire startx sur une autre console (les consoles en faisant CTRL+Fn), ca me dit toujours que mon ecran est pas bien configuré
 
Et si je redémarre pareil meme erreur
 
:heink: c'est space

n°34868
Deather2
OpenBSD: the way to go!
Posté le 03-04-2005 à 11:55:47  profilanswer
 

C'est klr que c'est chiant cette config :sweat:
t'as quoi comme CG ?

n°34869
bap2703
Posté le 03-04-2005 à 12:34:15  profilanswer
 

Geforce2 Ti
 
J'ai mis les pilotes open source (nv)

n°34870
Deather2
OpenBSD: the way to go!
Posté le 03-04-2005 à 12:38:57  profilanswer
 

tu peux poster ton /etc/X11/XF86Config-4 ?

n°34871
bap2703
Posté le 03-04-2005 à 13:00:14  profilanswer
 

Citation :


Section "Files"
 FontPath "unix/:7100"   # local font server
 # if the local font server has problems, we can fall back on these
 FontPath "/usr/lib/X11/fonts/misc"
 FontPath "/usr/lib/X11/fonts/cyrillic"
 FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
 FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
 FontPath "/usr/lib/X11/fonts/Type1"
 FontPath "/usr/lib/X11/fonts/Speedo"
 FontPath "/usr/lib/X11/fonts/100dpi"
 FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
 
Section "Module"
 Load "GLcore"
 Load "bitmap"
 Load "dbe"
 Load "ddc"
 Load "dri"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
 Load "pex5"
 Load "record"
 Load "speedo"
 Load "type1"
 Load "vbe"
 Load "xie"
EndSection
 
Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver  "keyboard"
 Option  "CoreKeyboard"
 Option  "XkbRules" "xfree86"
 Option  "XkbModel" "pc104"
 Option  "XkbLayout" "fr"
EndSection
 
Section "InputDevice"
 Identifier "Configured Mouse"
 Driver  "mouse"
 Option  "CorePointer"
 Option  "Device"  "/dev/input/mice"
 Option  "Protocol"  "ImPS/2"
 Option  "ZAxisMapping"  "4 5"
EndSection
 
Section "Device"
 Identifier "Generic Video Card"
 Driver  "nv"
 Option  "UseFBDev"  "true"
EndSection
 
Section "Monitor"
 Identifier "Generic Monitor"
 HorizSync 28-33
 VertRefresh 43-72
 Option  "DPMS"
EndSection
 
Section "Screen"
 Identifier "Default Screen"
 Device  "Generic Video Card"
 Monitor  "Generic Monitor"
 DefaultDepth 24
 SubSection "Display"
  Depth  1
  Modes  "1280x960" "1152x864" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  4
  Modes  "1280x960" "1152x864" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  8
  Modes  "1280x960" "1152x864" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  15
  Modes  "1280x960" "1152x864" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  16
  Modes  "1280x960" "1152x864" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  24
  Modes  "1280x960" "1152x864" "1024x768" "800x600" "640x480"
 EndSubSection
EndSection
 
Section "ServerLayout"
 Identifier "Default Layout"
 Screen  "Default Screen"
 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"
EndSection
 
Section "DRI"
 Mode 0666
EndSection
 
### END DEBCONF SECTION


 
là c'est le dernier essai ou j'ai tenté de mettre les resolutions supérieures a 1024*768 (supportées par l'écran mais dont je ne me sert pas)
c'était juste pour essayer au cas ou mais ca marche pas non plus :/

n°34872
Deather2
OpenBSD: the way to go!
Posté le 03-04-2005 à 13:01:48  profilanswer
 

Essaye de virer Load "dri"

n°34873
bap2703
Posté le 03-04-2005 à 13:19:28  profilanswer
 

Ca marche pas non plus :/
 
l'erreur tel qu'elle est dans le log :
 

Citation :

(EE) Screen(s) found, but none have a usable configuration.
 
Fatal server error:
no screens found

n°34876
P1511GD
L'ère nouvelle de noël.....
Posté le 03-04-2005 à 13:29:22  profilanswer
 

essaye avec le driver vesa à la place de nv voir

n°34877
bap2703
Posté le 03-04-2005 à 13:47:15  profilanswer
 

ca marche pas non plus :/
j'ai encore essayé des parametres infériers pour mon écran, il veut rien savoir

n°34878
Deather2
OpenBSD: the way to go!
Posté le 03-04-2005 à 13:57:25  profilanswer
 

Citation :

HorizSync 28-33
 VertRefresh 43-72


Boost ces valeures, genre moi j'ai:

Citation :

HorizSync 30-107
 VertRefresh 50-85


^^

n°34881
bap2703
Posté le 03-04-2005 à 14:23:51  profilanswer
 

ah ca démarre !
 
 

Citation :


Section "Files"
 FontPath "unix/:7100"   # local font server
 # if the local font server has problems, we can fall back on these
 FontPath "/usr/lib/X11/fonts/misc"
 FontPath "/usr/lib/X11/fonts/cyrillic"
 FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
 FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
 FontPath "/usr/lib/X11/fonts/Type1"
 FontPath "/usr/lib/X11/fonts/Speedo"
 FontPath "/usr/lib/X11/fonts/100dpi"
 FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
 
Section "Module"
 Load "GLcore"
 Load "bitmap"
 Load "dbe"
 Load "ddc"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
 Load "pex5"
 Load "record"
 Load "speedo"
 Load "type1"
 Load "vbe"
 Load "xie"
EndSection
 
Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver  "keyboard"
 Option  "CoreKeyboard"
 Option  "XkbRules" "xfree86"
 Option  "XkbModel" "pc104"
 Option  "XkbLayout" "fr"
EndSection
 
Section "InputDevice"
 Identifier "Configured Mouse"
 Driver  "mouse"
 Option  "CorePointer"
 Option  "Device"  "/dev/psaux"
 Option  "Protocol"  "ImPS/2"
 Option  "ZAxisMapping"  "4 5"
EndSection
 
Section "InputDevice"
 Identifier "Generic Mouse"
 Driver  "mouse"
 Option  "SendCoreEvents" "true"
 Option  "Device"  "/dev/input/mice"
 Option  "Protocol"  "ImPS/2"
 Option  "ZAxisMapping"  "4 5"
EndSection
 
Section "Device"
 Identifier "Generic Video Card"
 Driver  "vesa"
 Option  "UseFBDev"  "true"
EndSection
 
Section "Monitor"
 Identifier "Philips 107E"
 HorizSync 30-60
 VertRefresh 50-75
 Option  "DPMS"
EndSection
 
Section "Screen"
 Identifier "Default Screen"
 Device  "Generic Video Card"
 Monitor  "Philips 107E"
 DefaultDepth 16
 SubSection "Display"
  Depth  1
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  4
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  8
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  15
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  16
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  24
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
EndSection
 
Section "ServerLayout"
 Identifier "Default Layout"
 Screen  "Default Screen"
 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"
 InputDevice "Generic Mouse"
EndSection
 
### END DEBCONF SECTION
 


 
Comme ca il démarre le serveur X !
Quand je fais startx, il commence le demarrage de KDE (j'ai choisi gnome pourtant :??:).
Mais il plante pendant le chargement a cause de la souris.
 
 

Citation :

(EE) xf86OpenSerial: Cannot open device /dev/input/mice
 No such device.
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"
(II) UnloadModule: "mouse"
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
 
Fatal server error:
Caught signal 11.  Server aborting


 
 
J'ai une souris sur port USB (MS wireless intellimouse explorer)
Je sais pas comment la configurer :/  
 
 

n°34882
Deather2
OpenBSD: the way to go!
Posté le 03-04-2005 à 14:37:34  profilanswer
 

Tu vire la section de la "Configured Mouse", et tu vire la ligne correspondante dans ServerLayout.
Ensuite dans la section de la "Generic Mouse", tu met comme protocole "auto" ;)

n°34884
bap2703
Posté le 03-04-2005 à 14:54:59  profilanswer
 

Argh je peux pas aller le changer depuis linux :
quand je démarre maintenant il lance gnome direct.
Ca arrive au moment ou je dois me logguer de manière graphique, mais apparement il aime pas l'abscence de souris et freeze.
Je peux plus rien faire, meme pas revenir a la console pour modifier ca !
 
Il faudrais que je trouve un moyen pour pas lancer le X, ou alors un moyen d'ecrire sur une partition ext2 depuis windows (j'ai que un truc pour lire)

n°34887
bap2703
Posté le 03-04-2005 à 15:23:21  profilanswer
 

J'ai trouvé de quoi ecrire sur Ext2 avec windows.
 
J'ai changé comme tu m'as dis, mais maintenant il me dis ca :
 

Citation :

(EE) No core pointer device specified
(EE) Unable to determine the screen layout
(EE) Error from xf86HandleConfigFile()
 
Fatal server error:
no screens found


 
cte prise de tête  [:grut]  :pt1cable:

n°34888
Deather2
OpenBSD: the way to go!
Posté le 03-04-2005 à 15:30:19  profilanswer
 

Citation :

 
Section "Files"
 FontPath "unix/:7100"   # local font server
 # if the local font server has problems, we can fall back on these
 FontPath "/usr/lib/X11/fonts/misc"
 FontPath "/usr/lib/X11/fonts/cyrillic"
 FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
 FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
 FontPath "/usr/lib/X11/fonts/Type1"
 FontPath "/usr/lib/X11/fonts/Speedo"
 FontPath "/usr/lib/X11/fonts/100dpi"
 FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
 
Section "Module"
 Load "GLcore"
 Load "bitmap"
 Load "dbe"
 Load "ddc"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
 Load "pex5"
 Load "record"
 Load "speedo"
 Load "type1"
 Load "vbe"
 Load "xie"
EndSection
 
Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver  "keyboard"
 Option  "CoreKeyboard"
 Option  "XkbRules" "xfree86"
 Option  "XkbModel" "pc104"
 Option  "XkbLayout" "fr"
EndSection
 
Section "InputDevice"
 Identifier "Generic Mouse"
 Driver  "mouse"
 Option  "SendCoreEvents" "true"
 Option  "Device"  "/dev/input/mice"
 Option  "Protocol"  "auto"
 Option  "ZAxisMapping"  "4 5"
EndSection
 
Section "Device"
 Identifier "Generic Video Card"
 Driver  "nv"
EndSection
 
Section "Monitor"
 Identifier "Philips 107E"
 HorizSync 30-120
 VertRefresh 50-120
 Option  "DPMS"
EndSection
 
Section "Screen"
 Identifier "Default Screen"
 Device  "Generic Video Card"
 Monitor  "Philips 107E"
 DefaultDepth 24
 SubSection "Display"
  Depth  1
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  4
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  8
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  15
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  16
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  24
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
EndSection
 
Section "ServerLayout"
 Identifier "Default Layout"
 Screen  "Default Screen"
 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"
EndSection


 
Essaye avec ce fichier ;)

n°34890
bap2703
Posté le 03-04-2005 à 15:46:13  profilanswer
 

Citation :

(==) Using config file: "/etc/X11/XF86Config-4"
Parse error on line 1 of section Files in file /etc/X11/XF86Config-4
 "
" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()
 
Fatal server error:
no screens found


 
 
 [:666 ]  :(  
je vais arreter pour aujourd'hui

n°34891
Deather2
OpenBSD: the way to go!
Posté le 03-04-2005 à 15:49:52  profilanswer
 

Là c'est une erreur de parsing... jettes un oeil au début du fichier, doit y avoir une couille

n°34892
bap2703
Posté le 03-04-2005 à 17:47:49  profilanswer
 

pour le parsing c'est mon editeur de texte sous windows qui avait mis des ^M invisibles à la fin de chaque ligne :heink:
 
 
 
Actuellement mon fichier est comme ca :
 

Citation :

Section "Files"
 FontPath "unix/:7100"   # local font server
 # if the local font server has problems, we can fall back on these
 FontPath "/usr/lib/X11/fonts/misc"
 FontPath "/usr/lib/X11/fonts/cyrillic"
 FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
 FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
 FontPath "/usr/lib/X11/fonts/Type1"
 FontPath "/usr/lib/X11/fonts/Speedo"
 FontPath "/usr/lib/X11/fonts/100dpi"
 FontPath "/usr/lib/X11/fonts/75dpi"
EndSection  
 
Section "Module"
 Load "GLcore"
 Load "bitmap"
 Load "dbe"
 Load "ddc"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
 Load "pex5"
 Load "record"
 Load "speedo"
 Load "type1"
 Load "vbe"
 Load "xie"
EndSection
 
Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver  "keyboard"
 Option  "CoreKeyboard"
 Option  "XkbRules" "xfree86"
 Option  "XkbModel" "pc104"
 Option  "XkbLayout" "fr"
EndSection
 
Section "InputDevice"
 Identifier "Generic Mouse"
 Driver  "mouse"
 Option  "CorePointer"      # Ca c'est moi qui l'a mis parce que sans ca marchait pas... avec ca marche pas non plus  [:grut]  
 Option  "SendCoreEvents" "true"
 Option  "Device"  "/dev/input/mice"
 Option  "Protocol"  "auto"
 Option  "ZAxisMapping"  "4 5"
EndSection
 
Section "Device"
 Identifier "Generic Video Card"
 Driver  "nv"
EndSection
 
Section "Monitor"
 Identifier "Philips 107E"
 HorizSync 30-120
 VertRefresh 50-120
 Option  "DPMS"
EndSection
 
Section "Screen"
 Identifier "Default Screen"
 Device  "Generic Video Card"
 Monitor  "Philips 107E"
 DefaultDepth 24
 SubSection "Display"
  Depth  1
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  4
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  8
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  15
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  16
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth  24
  Modes  "1024x768" "800x600" "640x480"
 EndSubSection
EndSection
 
Section "ServerLayout"
 Identifier "Default Layout"
 Screen  "Default Screen"
 InputDevice "Generic Keyboard"
 InputDevice "Generic Mouse"
EndSection


 
 
et comme erreur j'ai ca :
 

Citation :

(**) Generic Mouse: Core Pointer
(**) Option "Device" "/dev/input/mice"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
 No such device.
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"
(II) UnloadModule: "mouse"
(WW) No core pointer registered
No core pointer
 
Fatal server error:
failed to initialize core devices


 
 
J'ai trouvé ca sur google :


3.3.2 Souris USB
 
Assurez vous d'avoir toutes les fonctions du noyaux activées à la compilation :
 
    * Sous « Input core support » :
          o « Input Core Support » (CONFIG_INPUT, input.o),
          o « Mouse Support » (CONFIG_INPUT_MOUSEDEV, mousedev.o),
    * Sous « : USB support » :
          o « Support for USB » (CONFIG_USB, usbcore.o),
          o « Preliminary USB device filesystem » (CONFIG_USB_DEVICEFS),
          o « UHCI » ou « OHCI » (CONFIG_USB_UHCI || CONFIG_USB_UHCI_ALT || CONFIG_USB_OHCI, usb-uhci.o || uhci.o || usb-ohci.o),
          o « USB Human Interface Device (full HID) support » (CONFIG_USB_HID, hid.o), et
          o « HID input layer support » (CONFIG_USB_HIDINPUT)
 
Les noms de fichiers sont les noms des modules.
 
Si vous n'utilisez pas devfs, créez une node de périphérique /dev/input/mice avec comme major 13 et minor 63, comme suit :
 
     # cd /dev
     # mkdir input
     # mknod input/mice c 13 63
 
Pour les souris USB à roulette typiques, la configuration doit être :
 
     /etc/gpm.conf            | /etc/X11/X86Config-4
     =========================+======================================
     device=/dev/input/mice   | Section "InputDevice"
     responsiveness=          |  Identifier "Generic Mouse"
     repeat_type=raw          |  Driver     "mouse"
     type=autops2             |  Option     "SendCoreEvents" "true"
     append=""                |  Option     "Device"   "/dev/input/mice"
     sample_rate=             |  Option     "Protocol" "IMPS/2"
                              |  Option     "Buttons" "5"
                              |  Option  "ZAxisMapping" "4 5"
                              | EndSection


 
Euh.... rester a décoder toutes les explications....

mood
Google
Posté le 03-04-2005 à 17:47:49  profilanswer
 

 Page :  1  2
Page Précédente 

Aller à :
Ajouter une réponse
 

Hit Parade