Installed KDE4 succesfully but startup instructions are invalid

Werner Hoffmans werner.hoffmans at xs4all.nl
Sun May 17 14:03:07 PDT 2009


Hi,

I installed KDE4 on my macbook (Leopard 10.5.7) using macports. It  
took approx 6 hours and ran without problem. However I don't succeed  
in starting KDE: The instruction from the package installation process  
(visible in terminal) which is also mentioned on mac.kde.org doesn't  
work. Still think the installation went well. Probably I need a  
different instruction. Please help.
Details below.

I ran:
   "sudo port install kdebase4"
It took about 6 hours and completed with only 1 error, checksum of  
Phonon tar failed. I corrected that by downloading Phonon package  
manually from ftp site and running "port install phonon". That  
completed succesfully.

Then I wondered how to start KDE. I saw in my terminal (and on  
mac.kde.org) the instruction:

##########################################################
# Don't forget that dbus needs to be started as the local
# user (not with sudo) before any KDE programs will launch
# To start it run the following command:
# launchctl load /Library/LaunchAgents/org.freedesktop.dbus- 
session.plist
##########################################################

######################################################
#  Programs will not start until you run the command
#  'sudo chown -R $USER ~/Library/Preferences/KDE'
#  replacing $USER with your username, followed by
#  'open /Applications/MacPorts/KDE4/kdeinit4.app'
#  in a Terminal.
######################################################

But this didnt give a hopeful result. Namely:

MacBook:~ wernerhoffmans$ launchctl load /Library/LaunchAgents/ 
org.freedesktop.dbus-session.plist
nothing found to load
MacBook:LaunchAgents wernerhoffmans$ sudo chown -R wernerhoffmans ~/ 
Library/Preferences/KDE
Password:
chown: /Users/wernerhoffmans/Library/Preferences/KDE: No such file or  
directory
MacBook:LaunchAgents wernerhoffmans$ open /Applications/MacPorts/KDE4/ 
kdeinit4.app
The file /Applications/MacPorts/KDE4/kdeinit4.app does not exist.

MacBook:~ wernerhoffmans$ cd /Library/LaunchAgents/
MacBook:LaunchAgents wernerhoffmans$ ls -la
total 32
drwxr-xr-x   6 root  wheel   204 17 mei 07:34 .
drwxrwxr-t+ 56 root  admin  1904 16 mei 23:03 ..
-rw-r--r--   1 root  wheel   591 19 apr 20:18  
com.adobe.CS4ServiceManager.plist
-rw-r--r--   1 root  wheel   696 27 mrt  2008  
com.hp.launchurlagent.plist
-rw-r--r--   1 root  wheel   563  5 mei 13:49  
com.parallels.desktop.launch.plist
lrwxr-xr-x   1 root  wheel    66 17 mei 07:34 org.freedesktop.dbus- 
session.plist -> /opt/local/Library/LaunchAgents/org.freedesktop.dbus- 
session.plist
MacBook:LaunchAgents wernerhoffmans$ cd /opt/local/Library/LaunchAgents/
MacBook:LaunchAgents wernerhoffmans$ ls -la
total 8
drwxr-xr-x  3 root  wheel  102 17 mei 07:34 .
drwxr-xr-x  4 root  wheel  136 17 mei 07:34 ..
-rw-r--r--  2 root  wheel  744 17 mei 07:34 org.freedesktop.dbus- 
session.plist
MacBook:LaunchAgents wernerhoffmans$ cat org.freedesktop.dbus- 
session.plist |more
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd
">
<plist version="1.0">
<dict>
         <key>Label</key>
         <string>org.freedesktop.dbus-session</string>

         <key>ServiceIPC</key>
         <true/>

         <!-- bug in 10.4's launchd - on-demand loading does not work  
-->
         <key>OnDemand</key>
         <true />

         <key>Disabled</key>
         <true/>

         <key>ProgramArguments</key>
         <array>
                 <string>/opt/local/bin/dbus-daemon</string>
                 <string>--nofork</string>
                 <string>--session</string>
         </array>

         <key>Sockets</key>
         <dict>
                 <key>unix_domain_listener</key>
                 <dict>
                         <key>SecureSocketWithKey</key>
                         <string>DBUS_LAUNCHD_SESSION_BUS_SOCKET</ 
string>
                 </dict>
         </dict>
</dict>
</plist>



More information about the macports-users mailing list