KDM not loading after the latest upgrade

Yesterday I upgraded from KDE 4.5.5 to 4.6.1 (already in ports). The upgrade wasn't smooth, it broke twice, but I portsnapped updates to ports tree and they seemed to fix the build, so it finished successfully. However, having rebooted my PC, I found out that KDM simply doesn't load. I have necessary entries in /etc/rc.conf, in fact it worked like a charm before. Now it doesn't.

If I load KDM manually, it starts without issues, not even reporting that it's running (so it didn't even start). There is the same warning that's been since upgrade to 4.5 i.e.
Code:
Do not know how to create missing GreeterUID user kdm
but there wasn't any problem in 4.5. I'm running 8.2-RELEASE.
 
I added user kdm, but it did nothing, though the warning I quoted didn't appear (but kdm didn't autostart). Then, I deciced to the old way by editing /etc/ttys and disabling two entries related to KDE4 in /etc/rc.conf and it loads properly. Anyone have the same problem?
 
I am having the same issue. My /etc/rc.conf file is below:

Code:
zfs_enable="YES"
# -- sysinstall generated deltas -- # Tue Feb 22 07:57:33 2011
ifconfig_re0="DHCP"
sshd_enable="YES"
hostname="tim.jeeze"
sendmail_enable="NO"
hald_enable="YES"
dbus_enable="YES"
kdm4_enable="YES"
local_startup="${local_startup} /usr/local/kde4/etc/rc.d"
linux_enable="YES"
powerd_enable="YES"
syslogd_flags="-c"
denyhosts_enable="YES"
vboxnet_enable="YES"
devfs_system_ruleset="Removable_Media"
 
Code:
# -- sysinstall generated deltas -- # Thu Mar  3 22:31:26 2011
# Created: Thu Mar  3 22:31:26 2011
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="FreeBSD"
ifconfig_rl0="DHCP"
moused_enable="YES"
sshd_enable="YES"
dbus_enable="YES"
hald_enable="YES"
linux_enable="YES"
fusefs_enable="YES"
devfs_system_ruleset="system"
vboxnet_enable="YES"
bsdstats_enable="YES"
local_startup="${local_startup} /usr/local/kde4/etc/rc.d"
kdm4_enable="YES"
devfs_system_ruleset="Removable_Media"
webcamd_enable="YES"
ntpd_enable="YES"
 
devfs_system_ruleset is in there twice. Only the last one is used. Probably not responsible for KDM problems, though.
 
The problem is in /usr/local/kde4/etc/rc.d/kdm4 itself. Line 41 reads
Code:
    while ! pgrep -fq "^/usr/libexec/getty " > /dev/null 2>&1; do
The q in there is spurious and it's what's causing the problem. Remove it and it'll work.

And yes, it has been reported.
 
Just updated ports and a new version of kdebase-workspace has been released which fixes the problem (at least for me).
 
Back
Top