Divers sur Linux on VirtualBox

J’ai installé VirtualBox sur un portable (DELL E6410) sous Windows7 (avec cette def : 1600×900). J’ai voulu tester 2 machines Linux : la CernVM (qui je crois est une redhat) et la dernière Ubuntu 11.10. Ces deux versions de Linux ne posent pas réellement de problème d’install.

Le soucis que j’ai eu est l’impossibilité de passer en mode plein écran avec la Ubuntu. J’étais limité à 800×600 ce qui était assez frustrant. Après avoir pas mal joué avec le /etc/X11/xorg.conf j’ai finalement décidé de récupérer celui de la cernVM, que je vous fournis ici en cadeau.

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen         "Default Screen" 0 0
	InputDevice    "vboxmouse" "CorePointer"
	InputDevice    "Default Keyboard" "CoreKeyboard"
EndSection

Section "Module"
	Load  "extmod"
	Load  "dbe"
	Load  "dri"
	Load  "glx"
	Load  "freetype"
EndSection

Section "InputDevice"
	Identifier  "vboxmouse"
	Driver      "vboxmouse"
	Option	    "CorePointer"
	Option	    "Protocol" "auto"
	Option	    "Buttons" "5"
	Opvtion	    "ZAxisMapping" "4 5"
	Option	    "Device" "/dev/input/mice"
EndSection

Section "InputDevice"

    # Option      "XkbLayout" "de"
	Identifier  "Default Keyboard"
	Driver      "kbd"
	Option	    "XkbLayout" "fr"
EndSection

Section "Monitor"
	Identifier   "Configured Monitor"
	ModeLine     "1920x1200" 193.2 1920 2048 2256 2592 1200 1201 1204 1242 -hsync +vsync
	ModeLine     "1920x1050" 168.0 1920 2040 2248 2576 1050 1051 1054 1087 -hsync +vsync
	ModeLine     "1600x1200" 161.0 1600 1704 1880 2160 1200 1201 1204 1242 -hsync +vsync
	ModeLine     "1680x1050" 147.1 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
	ModeLine     "1400x1050" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
	ModeLine     "1440x900" 106.5 1440 1520 1672 1904 900 901 904 932 -hsync +vsync
	ModeLine     "1280x1024" 108.9 1280 1360 1496 1712 1024 1025 1028 1060 -hsync +vsync
	ModeLine     "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828 -hsync +vsync
	ModeLine     "1280x700" 72.4 1280 1336 1472 1664 700 701 704 725 -hsync +vsync
	ModeLine     "1024x768" 64.1 1024 1080 1184 1344 768 769 772 795 -hsync +vsync
EndSection

Section "Device"
	Identifier  "Configured Video Device"
	Driver      "vboxvideo"
EndSection

Section "Screen"
	Identifier "Default Screen"
	Device     "Configured Video Device"
	Monitor    "Configured Monitor"
	SubSection "Display"

  #CERNVM_DISPLAY_MODE#
		Viewport   0 0
		Depth     24
		Modes    "1920x1200"
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Commentaire nouveau
Finalement cette configuration n’etait pas si bonne que ca … j’ai décidé d’updater la carte graphique (c’est décris sur cette page)

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates 
sudo apt-get update
sudo apt-get install nvidia-current 
sudo apt-get install nvidia-settings

Je viens de réinstaller une Geant4cernVM (ATTENTION ne cherchait pas de Browser yen a pas , c’est assez dingue !!! et j’ai pas réussi à installer firefox) sur un dell précision M440 et là impossible de lancer le serveur X.
Après plusieurs recherche j’ai trouvé ce xorg.conf (qui bien sur peut être amélioré).
Merci à Natalia d’avoir posté son fichier de config

Section "ServerLayout"
Identifier	"X.Org Configured"
Screen	0	"Screen0" 0 0
InputDevice	"Keyboard0" "CoreKeyboard"
InputDevice	"PS/2 Mouse" "AlwaysCore"
# Serial Mouse not detected
InputDevice	"USB Mouse" "AlwaysCore"
InputDevice	"Synaptics" "AlwaysCore"
EndSection

Section "ServerFlags"
Option	"AllowMouseOpenFail" "true"

EndSection

Section "Files"
FontPath	"/usr/share/fonts/util"
FontPath	"/usr/share/fonts/encodings"
FontPath	"/usr/share/fonts/misc"
FontPath	"/usr/share/fonts/local"
FontPath	"/usr/share/fonts/terminus"
FontPath	"/usr/share/fonts/corefonts"
FontPath	"/usr/local/share/fonts"
FontPath	"/usr/share/fonts/default"
FontPath	"/usr/share/fonts/TTF"
FontPath	"/usr/share/fonts/type1"
FontPath	"/usr/share/fonts/100dpi"
FontPath	"/usr/share/fonts/75dpi"
FontPath	"/usr/share/fonts/arphicfonts"
FontPath	"/usr/share/fonts/jisx0213"
FontPath	"/usr/share/fonts/shinonome"
FontPath	"/usr/share/fonts/baekmuk-fonts"
FontPath	"/usr/share/fonts/kacst-fonts"
FontPath	"/usr/share/fonts/sgi-fonts"
FontPath	"/usr/share/fonts/unfonts"
FontPath	"/usr/share/fonts/default/ghostscript"
FontPath	"/usr/share/fonts/xfonts-cronyx-100dpi:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-75dpi:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-misc:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-100dpi"
FontPath	"/usr/share/fonts/xfonts-cronyx-75dpi"
FontPath	"/usr/share/fonts/xfonts-cronyx-misc"
FontPath	"/usr/share/fonts/xfonts-cronyx-cp1251-100dpi:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-cp1251-75dpi:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-cp1251-misc:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-cp1251-100dpi"
FontPath	"/usr/share/fonts/xfonts-cronyx-cp1251-75dpi"
FontPath	"/usr/share/fonts/xfonts-cronyx-cp1251-misc"
FontPath	"/usr/share/fonts/xfonts-cronyx-isocyr-100dpi:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-isocyr-75dpi:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-isocyr-misc:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-isocyr-100dpi"
FontPath	"/usr/share/fonts/xfonts-cronyx-isocyr-75dpi"
FontPath	"/usr/share/fonts/xfonts-cronyx-isocyr-misc"
FontPath	"/usr/share/fonts/xfonts-cronyx-koi8r-100dpi:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-koi8r-75dpi:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-koi8r-misc:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-koi8r-100dpi"
FontPath	"/usr/share/fonts/xfonts-cronyx-koi8r-75dpi"
FontPath	"/usr/share/fonts/xfonts-cronyx-koi8r-misc"
FontPath	"/usr/share/fonts/xfonts-cronyx-koi8u-100dpi:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-koi8u-75dpi:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-koi8u-misc:unscaled"
FontPath	"/usr/share/fonts/xfonts-cronyx-koi8u-100dpi"
FontPath	"/usr/share/fonts/xfonts-cronyx-koi8u-75dpi"
FontPath	"/usr/share/fonts/xfonts-cronyx-koi8u-misc"
EndSection

Section "Module"
Load	"ddc"
Load	"vbe"
Load	"GLcore"
Load	"dbe"
Load	"dri"
Load	"extmod"
Load	"glx"
Load	"bitmap"
Load	"type1"
Load	"freetype"
Load	"record"
EndSection

Section "InputDevice"
Identifier	"Keyboard0"
Driver	"kbd"
Option	"CoreKeyboard"
Option	"XkbRules" "xorg"
Option	"XkbModel" "pc105"
#	Option	"XkbOptions" "grp:toggle,grp_led:scroll"
Option	"XkbVariant" ",winkeys"
Option	"XkbLayout" "fr"
EndSection

Section "InputDevice"
Identifier	"PS/2 Mouse"
Driver	"mouse"
Option	"Protocol" "IMPS/2"
Option	"Device" "/dev/misc/psaux"
Option	"Emulate3Buttons" "true"
Option	"Emulate3Timeout" "70"
Option	"SendCoreEvents" "true"
Option	"ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier	"USB Mouse"
Driver	"mouse"
Option	"Device" "/dev/input/mice"
Option	"SendCoreEvents" "true"
Option	"Protocol" "IMPS/2"
Option	"ZAxisMapping" "4 5"
Option	"Buttons" "5"
EndSection

Section "InputDevice"
Identifier	"Synaptics"
Driver	"synaptics"
Option	"Protocol" "event"
Option	"Device" ""
Option	"LeftEdge" "1900"
Option	"RightEdge" "5400"
Option	"TopEdge" "1900"
Option	"BottomEdge" "4000"
Option	"FingerLow" "25"
Option	"FingerHigh" "30"
Option	"MaxTapTime" "180"
Option	"MaxTapMove" "220"
Option	"VertScrollDelta" "100"
Option	"MinSpeed" "0.02"
Option	"MaxSpeed" "0.10"
Option	"AccelFactor" "0.0010"
Option	"SHMConfig" "on"
EndSection

# Auto-generated by mkxf86config

Section "Monitor"
Identifier "Monitor0"
HorizSync 28.0 - 96.0
VertRefresh 50.0 - 75.0
EndSection

Section "Device"
### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
#Option "sw_cursor"
Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
#Option "MonitorLayout" "LVDS, NONE"
Identifier "Card0"
# The following line is auto-generated by x11-misc/mkxf86config
Driver "vesa"
VendorName "All"
BoardName "All"
#	BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier	"Screen0"
Device	"Card0"
Monitor	"Monitor0"
SubSection "Display"
Depth	16
Modes "1920x1200" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth	24
Modes "1920x1200" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth	32
Modes "1920x1200" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection
Ce contenu a été publié dans Informatique, avec comme mot(s)-clé(s) , , . Vous pouvez le mettre en favoris avec ce permalien.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *