Opened 13 years ago

Closed 10 years ago

#29038 closed defect (fixed)

Applications installed by "port install kdebase4 +quartz +no_x11" will not open

Reported by: shannonsumner@… Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: kde4 Cc: nicos_pavlov@…, jtravs@…
Port: kde4-baseapps

Description

Hello,

I've installed kdebase4 with the command:

sudo port install kdebase4 +quartz +no_x11

I have run "launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist", "sudo chown -R missds ~/Library/Preferences/KDE" and "open /Applications/Macports/KDE4/kdeinit4.app" and still the program don't open. They just sit in the dock.

Thanks,

Shannon

Change History (13)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: sharky@… michaelld@… added
Owner: changed from macports-tickets@… to snc@…
Priority: HighNormal

Are there any relevant error message shown in /Applications/Utilities/Console?

comment:2 Changed 13 years ago by shannonsumner@…

I'm sorry - nothing in Console.

I ran "open /Applications/MacPorts/KDE4/konsole.app". Should I try another app?

comment:3 Changed 13 years ago by shannonsumner@…

When I run the following command:

launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist

I get this response:

org.freedesktop.dbus-session: Already loaded

comment:4 Changed 13 years ago by nicos_pavlov@…

Cc: nicos_pavlov@… added

Cc Me!

comment:5 Changed 13 years ago by jtravs@…

Cc: jtravs@… added

Cc Me!

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

Is this still an issue in 4.7.0 (kde4-baseapps)?

comment:7 Changed 13 years ago by nicos_pavlov@…

It seems that it is more general than just kdegraphics4. For example, is dolphin or konsole opening ?

For comparison, these applications are working fine for me. The problem could perhaps be linked to the discussion that occurred in July on macports-users list: "KDE4 apps don't launch". Here is below the fix that had been proposed:

There's a bug in the way KDE4 is handled currently; I don't know what the correct fix is, but my current hack involves some launchd actions that create the necessary directories and symlinks thereto in ~/Library/Preferences/KDE.
ln -s /var/tmp/kdecache-$USER $HOME/Library/Preferences/KDE/cache-$HOST
ln -s $TMPDIR/ksocket-$USER $HOME/Library/Preferences/KDE/socket-$HOST
ln -s $TMPDIR/kde-$USER $HOME/Library/Preferences/KDE/tmp-$HOST

I have the first symlink. The second and third (ksocket and kde) were there but were linked to non-existent directories. Using find from the terminal I couldn't find a ksocket-* or kde-* directory anywhere.

That's exactly the problem: the symlinks point to nonexistent directories, so kdeinit4 won't start up. You need to create the target directories:
mkdir $TMPDIR/ksocket-$USER $TMPDIR/kde-$USER

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

Konsole likely doesn't exist since 4.7.0, or at least it's available as a separate package in the KDE repo.

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

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

comment:10 Changed 11 years ago by sharky@…

Owner: changed from sharky@… to nicos@…

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

Cc: michaelld@… removed

Cc Me!

comment:12 Changed 11 years ago by NicosPavlov

Does this issue still happen with the present version (4.11.1) ? There have been several changes meanwhile which should have fixed various problems with KDE applications.

comment:13 Changed 10 years ago by NicosPavlov

Resolution: fixed
Status: newclosed

Assuming the issue solved without additional input, and the fact that the ports significantly changed through the last updates.

Note: See TracTickets for help on using tickets.