You are not logged in.
Pages: 1
I execute the startx (or xinit) command as non-root user but something's wrong.
Here's /var/log/Xorg.0.log and /etc/X11/xorg.conf
(...)
Parse error on line 7 of section InputDevice in file /etc/X11/xorg.conf
This section must have an Identifier line.
(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
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
Section "InputDevice"
Option "XkbLayout" "us"
Option "XkbVariant" "Classic Dvorak"
EndSection
(I have a Swedish keyboard but would like to use the us(dvorak-classic) layout.)
Please tell me what to do and Thanks in advance.
Offline
With an error like "This section must have an Identifier line." it seems like you need a line
Identifier "foobar"
or something like that.
Try something like this:
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
Section "InputDevice"
Identifier "Yourkeyboard identifier"
Option "XkbLayout" "us"
Option "XkbVariant" "Classic Dvorak"
EndSection
With your keyboard identifier from
Section "InputDevice"
Identifier "Keyboard0"
Last edited by Cdh (2009-10-25 10:45:09)
฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz
Offline
Thanks! It doesn't complain about an Identifier line anymore - It now complains about a Driver line:
(...)
Data incomplete in file /etc/X11/xorg.conf
InputDevice section "Keyboard0" must have a Driver line.
(...)
Offline
I think your xorg should look something like this:
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XKbOptions" ""
EndSection
Offline
I added Driver "keyboard" and it now works, thank you! (Solved)
Offline
It would be good, if you could edit the thread title and add "solved", so that others can see it without the need to enter the thread.
Offline
Pages: 1