Opened 13 years ago

Closed 10 years ago

#28338 closed defect (fixed)

kdebase4 @4.6.0 - KDE applications don't start

Reported by: habmalnefrage@… Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: KDE4, kdebase, dolphin, konqueror Cc: giancarlo.degani@…
Port: kde4-baseapps

Description

Hi,

I'm using Snow Leopard and tried to install kdebase4 to use Dolphin. The installation succeeded without errors. But when I try to start any KDE4 application from the terminal window, nothing happens. The same issue occurs when started via the X11-Symbol in the dock (that was started via startx in the terminal window). When I call the applications from Finder, a program icon jumps in the dock up and down for a while, but after that the icon's context menu shows, that the program doesn't answer. I already followed the usual 'sudo chown -R ...' and 'launchctl...' instructions, with no success. After having read some similar tickets I haven't found out a solution yet and hope, you can help.

Change History (18)

comment:1 in reply to:  description ; Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to habmalnefrage@…:

The same issue occurs when started via the X11-Symbol in the dock (that was started via startx in the terminal window).

On Mac OS X, you don't start X11 by typing "startx"; you start X11 by opening the X11 application in the Utilities folder in your Applications folder. Or, if using the MacPorts port xorg-server, then by opening the application X11 in the MacPorts folder in the Applications folder.

comment:2 Changed 13 years ago by habmalnefrage@…

Cc: habmalnefrage@… added

Cc Me!

comment:3 in reply to:  1 Changed 13 years ago by habmalnefrage@…

On Mac OS X, you don't start X11 by typing "startx"; you start X11 by opening the X11 application in the Utilities folder in your Applications folder.

Thanx, Ryandesign, for your information. You're right (I'm changing from Linux). Sadly the effect stays the same. Other X applications, like Xterm and Xlogo, start without problems.

comment:4 Changed 13 years ago by jmroot (Joshua Root)

Cc: sharky@… added; habmalnefrage@… removed
Owner: changed from macports-tickets@… to snc@…

Please remember to cc the maintainers. You do not need to be in cc when you are the reporter.

comment:5 Changed 13 years ago by nerdling (Jeremy Lavergne)

How are you trying to launch the programs from the terminal? I'd recommend using the "open" command on the .app folder.

comment:6 in reply to:  5 Changed 13 years ago by habmalnefrage@…

Replying to snc@…:

How are you trying to launch the programs from the terminal? I'd recommend using the "open" command on the .app folder.

I ran '/opt/local/var/macports/software/kdebase4/4.6.0_0/Applications/MacPorts/KDE4/dolphin.app/Contents/MacOS/dolphin' -> nothing happens. Using 'open /opt/local/var/macports/software/kdebase4/4.6.0_0/Applications/MacPorts/KDE4/dolphin.app/Contents/MacOS/dolphin' opens a new terminal window. Its command line shows the same call of Dolphin, followed by ;exit. But nothing else comes up. If I run 'open /opt/local/var/macports/software/kdebase4/4.6.0_0/Applications/MacPorts/KDE4/dolphin.app', only the jumping icon in the dock appears.

comment:7 in reply to:  4 Changed 13 years ago by habmalnefrage@…

Replying to jmr@…:

Please remember to cc the maintainers. You do not need to be in cc when you are the reporter.

Sorry for not having cc'ed the maintainers. It's my first ticket and I didn't find the mail addresses. Usually they are shortened and end up at the @. Where can I find them when creating a new ticket?

comment:8 Changed 13 years ago by habmalnefrage@…

Finally I got it working.
Here is what I did:

  1. I uninstalled everything like described in the MacPorts documentation, chapter 2.5.
  2. reboot
  3. Installed MacPorts from scratch, port selfupdate (see chapter 2.3 of MacPorts documentation)
  4. sudo -s, enter password
  5. port install kdebase4. The following steps, especially 10 to 14, are those which I was requested to do after kdebase4's installation. They might differ in further package versions.
  6. launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
  7. exit --> this will cancel super user session and continue working as normal user
  8. launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
  9. 'sudo chown -R $USER ~/Library/Preferences/KDE' replacing $USER with my username. I think, it's important not to do this in a sudo-session, but with the sudo command, since ~ refers to the normal users home directory!


  1. sudo port install python_select
  2. sudo python_select python27
  3. sudo port load mysql5-server
  4. sudo -u _mysql mysql_install_db5
  5. sudo port load openldap
  6. I rebooted to start DBus for sure.

Dolphin and Konqueror might work now. The following steps install German language packs for spelling and KDE4:

  1. sudo port install aspell-dict-de
  2. sudo port install hunspell-dict-de_DE
  3. sudo port install kde-l10n-de

After all of this, Dolphin and Konqueror start as well from terminal (starting dolphin in dolphin.app's subdirectory)as from dock (link to dolphin.app/konqueror.app)

Note: This documentation might be helpful for you, but is without any warranty! I just described how I got it working for me.

@maintainers: if you find this posting useful and complete, you can close the ticket now. If I find some issues with these applications, shall I open a new ticket for every single issue or one that collects all issues?

comment:9 Changed 13 years ago by giancarlo.degani@…

Cc: giancarlo.degani@… added

Cc Me!

comment:10 in reply to:  8 Changed 13 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

Replying to habmalnefrage@…:

The following steps, especially 10 to 14, are those which I was requested to do after kdebase4's installation. They might differ in further package versions.

  1. sudo port install python_select
  2. sudo python_select python27
  3. sudo port load mysql5-server
  4. sudo -u _mysql mysql_install_db5
  5. sudo port load openldap

From this information, it sounds like there are python scripts used that expect python to point to the same version they're built against.

Likely need to crawl through all installed files and change all references to python-2.7.

comment:11 Changed 13 years ago by geekosaur

FWIW, I'm seeing that after a reboot the symlink ~/Library/Preferences/KDE/tmp-$HOST is dangling, and dtruss shows KDE programs hanging immediately after discovering that. mkdir ~/Library/Preferences/KDE/tmp-$HOST is sufficient to get KDE working.

comment:12 Changed 13 years ago by geekosaur

Forgot to mention: Aqua build, and seen on both 10.5/PPC and 10.6/x86-64.

comment:13 Changed 13 years ago by nerdling (Jeremy Lavergne)

allbery.b@: can you confirm the symlink continues to need fixing in 4.7.0?

comment:14 Changed 12 years ago by nerdling (Jeremy Lavergne)

Cc: michaelld@… added; sharky@… removed
Owner: changed from snc@… to sharky@…
Port: kde4-baseapps added; kdebase4 removed
Status: assignednew

comment:15 Changed 11 years ago by sharky@…

Owner: changed from sharky@… to nicos@…

comment:16 Changed 11 years ago by michaelld (Michael Dickens)

Cc: michaelld@… removed

Cc Me!

comment:17 Changed 11 years ago by NicosPavlov

Does this issue still happen in the present version (4.11.1) ? Dolphin should have now been fixed upstream (from version 4.10.5, if I remember correctly).

comment:18 Changed 10 years ago by NicosPavlov

Resolution: fixed
Status: newclosed

Assuming the issue fixed in present version with the absence of feedback, and the fact that some serious bugs in dolphin have been fixed in 4.10.5.

Note: See TracTickets for help on using tickets.