On 08/24/2014 05:14 PM, Armin K. wrote: > On 08/24/2014 12:13 PM, Dr.-Ing. Edgar Alwers wrote: >> Sorry for the former message, was not complete ! >> >> I have made some progress: >> >> If I change kdm.service "ExecStart=/usr/bin/kdm -nodaemon" to >> "ExecStart=/opt/kde/bin/kdm -nodaemon", kdm starts now normal. >> >> I do not understand this behaviour, as my link in /usr/bin points to >> /opt/kde/bin/kdm. But anyway. I still cannot login, with the former error >> -------------------- >> kdmgreet(2913) KdmPixmap::definePixmap: Cannot find wallpaper "Elarun" >> klauncher(2920) kdemain: No DBUS session-bus found. Check if you have >> started the DBUS server. >> kdeinit4: Communication error with launcher. Exiting! >> kdmgreet(2913)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned >> initialize() D-Bus call failed: "Not connected to D-Bus server" >> >> kdmgreet(2913)/kdecore (K*TimeZone*): No time zone information obtained >> from ktimezoned >> (EE) Server terminated successfully (0). Closing log file. >> -------------------- >> >> Perhaps this helps to solve the problem ? >> Thanks, >> Edgar >> > > I'll build KDE 4.14.0 later today using /opt/kde prefix and see if I'll > hit the same problem. Please hold on for some time. The deps are in place. >
Okay, I just finished testing KDE and KDM. I can reproduce your problem about kdm not starting at boot. The problem is when running kdm through a symlink. It uses relative paths to the binary to call other KDE programs, and when called from /usr/bin, it will look for KDE components in /usr/lib/kde4 and obviously fail because everything is installed in /opt/kde/lib/kde4. The solution is to call /opt/kde/bin/kdm from an unit file and I have solved that by manually creating an unit file and extracting the prefix value from $KDE_PREFIX variable itself. So, instead of using blfs-systemd-units, we now have this: cat > /lib/systemd/system/kdm.service << EOF && [Unit] Description=K Display Manager After=systemd-user-sessions.service [Service] ExecStart=$KDE_PREFIX/bin/kdm -nodaemon [Install] Alias=display-manager.service EOF systemctl enable kdm Works like a charm, at least for me. However, I cannot reproduce your D-Bus issue. Now I could think of one thing - that you may have missed creating of symlinks needed for D-Bus. In the pre install configuration page, there are instructions to create symlinks to /usr/share/dbus-1 and /usr/share/polkit-1 from /opt/kde/share. Can you check if /opt/kde/share/dbus-1 and /opt/kde/share/polkit-1 are symlinks to /usr counterparts? The next thing that comes to my mind is Qt setup. It could be possible that kde startup scripts use qdbus (program installed by Qt) for setting up D-Bus stuff. Please answer the following questions: What is your Qt prefix? Do you use qtchooser? If you are, does it point to Qt4 install by default? If not, are you sure that qdbus executable is in your PATH (type -p qdbus)? -- Note: My last name is not Krejzi.
signature.asc
Description: OpenPGP digital signature
-- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
