Ticket #28338 (new defect)
kdebase4 @4.6.0 - KDE applications don't start
| Reported by: | habmalnefrage@… | Owned by: | sharky@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | KDE4, kdebase, dolphin, konqueror | Cc: | michaelld@…, 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
comment:1 in reply to: ↑ description ; follow-up: ↓ 3 Changed 2 years ago by ryandesign@…
comment:3 in reply to: ↑ 1 Changed 2 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 follow-up: ↓ 7 Changed 2 years ago by jmr@…
- 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 follow-up: ↓ 6 Changed 2 years ago by snc@…
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 2 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 2 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 follow-up: ↓ 10 Changed 2 years ago by habmalnefrage@…
Finally I got it working.
Here is what I did:
- I uninstalled everything like described in the MacPorts documentation, chapter 2.5.
- reboot
- Installed MacPorts from scratch, port selfupdate (see chapter 2.3 of MacPorts documentation)
- sudo -s, enter password
- 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.
- launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
- exit --> this will cancel super user session and continue working as normal user
- launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
- '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!
- sudo port install python_select
- sudo python_select python27
- sudo port load mysql5-server
- sudo -u _mysql mysql_install_db5
- sudo port load openldap
- I rebooted to start DBus for sure.
Dolphin and Konqueror might work now. The following steps install German language packs for spelling and KDE4:
- sudo port install aspell-dict-de
- sudo port install hunspell-dict-de_DE
- 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:10 in reply to: ↑ 8 Changed 2 years ago by snc@…
- Status changed from new to assigned
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.
- sudo port install python_select
- sudo python_select python27
- sudo port load mysql5-server
- sudo -u _mysql mysql_install_db5
- 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 2 years ago by allbery.b@…
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 2 years ago by allbery.b@…
Forgot to mention: Aqua build, and seen on both 10.5/PPC and 10.6/x86-64.
comment:13 Changed 21 months ago by snc@…
allbery.b@: can you confirm the symlink continues to need fixing in 4.7.0?
comment:14 Changed 10 months ago by snc@…
- Cc michaelld@… added; sharky@… removed
- Owner changed from snc@… to sharky@…
- Status changed from assigned to new
- Port changed from kdebase4 to kde4-baseapps


Replying to 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. Or, if using the MacPorts port xorg-server, then by opening the application X11 in the MacPorts folder in the Applications folder.