Post installation xen on alpine linux

add 10-monitor.conf file at /usr/share/X11/xorg.conf.d/

content of 10-monitor.conf file :

Section “Monitor”
Identifier “Monitor0”
EndSection

Section “Device”
Identifier “Device0”
Driver “nouveau”
#Choose the driver used for this monitor
EndSection

Section “Screen”
Identifier “Screen0”
#Collapse Monitor and Device section to Screen section
Device “Device0”
Monitor “Monitor0”
DefaultDepth 16
#Choose the depth (16||24)
SubSection “Display”
Depth 16
Modes “1024×768” #Choose the resolution
EndSubSection
EndSection

add file /etc/X11/xorg.conf
content of /etc/X11/xorg.conf file :

Section “ServerLayout”
Identifier “X.org Configured”
Screen 0 “Screen0” 0 0
# Screen 1 “Screen1” RightOf “Screen0”
# Screen 2 “Screen2” RightOf “Screen1”
InputDevice “Mouse0” “CorePointer”
InputDevice “Keyboard0” “CoreKeyboard”
EndSection

Section “Files”
ModulePath “/usr/lib/xorg/modules”
FontPath “/usr/share/fonts/misc”
FontPath “/usr/share/fonts/100dpi:unscaled”
FontPath “/usr/share/fonts/75dpi:unscaled”
FontPath “/usr/share/fonts/TTF”
FontPath “/usr/share/fonts/Type1”
EndSection

Section “Module”
Load “dbe”
Load “record”
Load “extmod”
Load “dri”
Load “dri2”
Load “glx”
EndSection

Section “InputDevice”
Identifier “Keyboard0”
Driver “kbd”
EndSection

Section “InputDevice”
Identifier “Mouse0”
Driver “mouse”
Option “Protocol” “auto”
Option “Device” “/dev/input/mice”
Option “ZAxisMapping” “4 5 6 7”
EndSection

Section “Monitor”
Identifier “Monitor0”
VendorName “Monitor Vendor”
ModelName “Monitor Model”
EndSection

Section “Monitor”
Identifier “Monitor1”
VendorName “Monitor Vendor”
ModelName “Monitor Model”
EndSection

Section “Monitor”
Identifier “Monitor2”
VendorName “Monitor Vendor”
ModelName “Monitor Model”
EndSection

Section “Device”
### Available Driver options are:-
### Values: : integer, : float, : “True”/”False”,
### : “String”, : ” Hz/kHz/MHz”,
### : “%”
### [arg]: arg optional
#Option “SWcursor” # []
#Option “HWcursor” # []
#Option “NoAccel” # []
#Option “ShadowFB” # []
#Option “VideoKey” #
#Option “WrappedFB” # []
#Option “GLXVBlank” # []
#Option “ZaphodHeads” #
#Option “PageFlip” # []
Identifier “Card0”
Driver “nouveau”
BusID “PCI:1:0:0”
EndSection

Section “Device”
### Available Driver options are:-
### Values: : integer, : float, : “True”/”False”,
### : “String”, : ” Hz/kHz/MHz”,
### : “%”
### [arg]: arg optional
#Option “SWcursor” # []
#Option “HWcursor” # []
#Option “NoAccel” # []
#Option “ShadowFB” # []
#Option “VideoKey” #
#Option “WrappedFB” # []
#Option “GLXVBlank” # []
#Option “ZaphodHeads” #
#Option “PageFlip” # []
Identifier “Card1”
Driver “nouveau”
BusID “PCI:1:0:0”
EndSection

Section “Device”
### Available Driver options are:-
### Values: : integer, : float, : “True”/”False”,
### : “String”, : ” Hz/kHz/MHz”,
### : “%”
### [arg]: arg optional
#Option “ShadowFB” # []
#Option “DefaultRefresh” # []
#Option “ModeSetClearScreen” # []
Identifier “Card2”
Driver “nouveau”
#Driver “vesa”
BusID “PCI:1:0:0”
EndSection

Section “Screen”
Identifier “Screen0”
Device “Card0”
Monitor “Monitor0”
SubSection “Display”
Viewport 0 0
Depth 1
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 4
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 8
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 15
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 16
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 24
EndSubSection
EndSection

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s