Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20588 - X won't start with KDM at boot after KDE 4.5 install from testing

Attached to Project: Arch Linux
Opened by Yannick Loth (yannick555) - Tuesday, 24 August 2010, 09:05 GMT
Last edited by Ronald van Haren (pressh) - Tuesday, 24 August 2010, 21:01 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Ronald van Haren (pressh)
Andrea Scarpino (BaSh)
Architecture i686
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I've just installed KDE 4.5 from testing.

When do 'sudo init 5', X doesn't start, and shows me errors because of my keyboard, which are clearly NOT related to the real issue.

'startx' as well as 'xinit' and 'sudo /etc/rc.d/kdm start' don't work.

Then I changed the line GreeterUID=kdm to GreeterUID= in /usr/share/config/kdm/kdmrc. Then 'sudo /etc/rc.d/kdm start' works again, I can see kdm and log in. But 'startx', 'xinit' and 'sudo init 5' still don't work. Is it right to have GreeterUID=kdm in the file? Isn't it a bug?

The problem is: xorg won't start with KDM at boot, only CLI login is possible! Using GDM instead of KDM in /etc/inittab works fine.

Additional info:
My config: Linux phoenix 2.6.35-ARCH #1 SMP PREEMPT Sat Aug 21 07:23:08 UTC 2010 i686 Intel(R) Core(TM)2 Duo CPU E8200 @ 2.66GHz GenuineIntel GNU/Linux


* package version(s)

My packages:
local/kernel26 2.6.35.3-1 (base)
local/kernel26-docs 2.6.35.3-1
local/kernel26-headers 2.6.35.3-1
local/kernel26-lts 2.6.32.20-1
local/kernel26-lts-headers 2.6.32.20-1
local/kernel26-manpages 2.6.35.3-1
local/linux-firmware 20100807-1

local/xf86-input-acecad 1.4.0-2 (xorg-input-drivers)
local/xf86-input-aiptek 1.3.0-2 (xorg-input-drivers)
local/xf86-input-elographics 1.2.4-1 (xorg-input-drivers)
local/xf86-input-evdev 2.4.0-2 (xorg-input-drivers)
local/xf86-input-fpit 1.3.0-5 (xorg-input-drivers)
local/xf86-input-hyperpen 1.3.0-4 (xorg-input-drivers)
local/xf86-input-joystick 1.5.0-2 (xorg-input-drivers)
local/xf86-input-keyboard 1.4.0-2 (xorg-input-drivers)
local/xf86-input-mouse 1.5.0-2 (xorg-input-drivers)
local/xf86-input-mutouch 1.2.1-5 (xorg-input-drivers)
local/xf86-input-penmount 1.4.1-2 (xorg-input-drivers)
local/xf86-input-synaptics 1.2.2-2 (xorg-input-drivers)
local/xf86-input-vmmouse 12.6.7-1 (xorg-input-drivers)
local/xf86-input-void 1.3.0-2 (xorg-input-drivers)
local/xf86-video-intel 2.12.0-1 (xorg-video-drivers)
local/xf86-video-v4l 0.2.0-5 (xorg-video-drivers)
local/xf86-video-vesa 2.3.0-2 (xorg xorg-video-drivers)
local/xorg-apps 7.5-3
local/xorg-docs 1.5-1 (xorg)
local/xorg-font-utils 7.5-2
local/xorg-fonts-100dpi 1.0.1-3 (xorg)
local/xorg-fonts-75dpi 1.0.1-3 (xorg)
local/xorg-fonts-alias 1.0.2-1
local/xorg-fonts-encodings 1.0.3-1
local/xorg-fonts-misc 1.0.1-1
local/xorg-res-utils 1.0.3-3 (xorg)
local/xorg-server 1.8.1.902-1 (xorg)
local/xorg-server-utils 7.5-5 (xorg)
local/xorg-twm 1.0.4-3 (xorg)
local/xorg-utils 7.6-2 (xorg)
local/xorg-xauth 1.0.4-1
local/xorg-xfs 1.1.0-1
local/xorg-xinit 1.2.1-1 (xorg)
local/xorg-xkb-utils 7.5-2
local/xterm 261-1 (xorg)

local/kdebase-dolphin 4.5.0-1 (kde kdebase)
local/kdebase-kappfinder 4.4.5-1 (kde kdebase)
local/kdebase-kdepasswd 4.5.0-1 (kde kdebase)
local/kdebase-kdialog 4.5.0-1 (kde kdebase)
local/kdebase-kfind 4.5.0-1 (kde kdebase)
local/kdebase-konqueror 4.5.0-1 (kde kdebase)
local/kdebase-konsole 4.5.0-1 (kde kdebase)
local/kdebase-kwrite 4.5.0-1 (kde kdebase)
local/kdebase-lib 4.5.0-1
local/kdebase-plasma 4.5.0-1 (kde kdebase)
local/kdebase-runtime 4.5.0-1
local/kdebase-workspace 4.5.0-2 (kde)


* config and/or log files etc.
xorg.conf, nothing specific in xorg.conf.d
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
Load "dbe"
Load "glx"
Load "dri"
Load "record"
Load "dri2"
Load "extmod"
EndSection

Section "ServerFlags"
Option "AIGLX"
EndSection

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Option "AccelMethod" "UXA"
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "82Q35 Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
Option "XaaNoOffscreenPixmaps" "true"
EndSection

Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbLayout" "be"
EndSection

Section "Monitor"
Identifier "Monitor0"
DisplaySize 376 301 # In millimeters
Option "Primary" "true"
#Option "UseEdidDpi" "False"
#Option "DPI" "86 x 86"
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection



Steps to reproduce:
As explained higher in this post.
This task depends upon

Closed by  Ronald van Haren (pressh)
Tuesday, 24 August 2010, 21:01 GMT
Reason for closing:  Not a bug
Comment by Yannick Loth (yannick555) - Tuesday, 24 August 2010, 09:26 GMT
I've restarted my PC and now it boots in KDM. So the solution to the issue seems to be to make the GreeterUID change in the kdmrc file.

Nevertheless, launching startx or xinit from CLI does not work (no X coming up), and I can't find anything useful in the logs (Xorg.0.log). I don't think a normal user shouldn't be able to execute startx.

Comment by Jan de Groot (JGC) - Tuesday, 24 August 2010, 09:41 GMT
To start X with startx, you'll need a valid .xinitrc file. Without that, X will just instantly quit. I don't know why the kdm user is not on your system, but either it's a bug in the kdm package, or something is wrong on your system.
Comment by Yannick Loth (yannick555) - Tuesday, 24 August 2010, 09:48 GMT
When I look into /etc/shadow, there is a kdm user.
Comment by Scott G (axanon) - Tuesday, 24 August 2010, 20:36 GMT
I have been running KDE since v4.4.4 and have never needed to manually add a user 'kdm', however I checked, and there is no kdm user in /etc/shadow. I have also not been able to upgrade to v4.5, because libdbusmenu-qt is still in the testing repo.
Comment by Yannick Loth (yannick555) - Tuesday, 24 August 2010, 20:57 GMT
Now I put back GreeterUID=kdm in the config file kdmrc, and graphic login works again at boot. No idea why. So this bug may be closed.


axanon: I think KDM is run with user kdm only since 4.5, so it's not an issue if you miss this user with 4.4.4.
axanon: I've the same issue for upgrading my other PC to KDE 4.5 because of the missing libdbusmenu-qt.


Comment by Ronald van Haren (pressh) - Tuesday, 24 August 2010, 21:01 GMT
yes it is a change with 4.5.0. I'm closing it now, please re-open if it doesn't work after all.

libdbusmenu-qt will appear soon

Loading...