On Tue, Nov 27, 2018 at 05:40:30PM -0600, Bruce Dubbs via blfs-support wrote:
> 
> I'm planning on updating to plasma 5.14.4, kf5 5.53, and kde apps 18.12 when
> they are all released.  That should be around Dec 13.  I will check that out
> then.  I do not know for sure if those symlinks are still needed or not.
> 
>    -- Bruce

I'll just wish you luck.  My .xinitrc is set up to let me pass
various known WM= values, including kde.

On the first attempt, X appeared to hang with a black screen, so I
used Ctrl-Alt-BackSpace to get back to the tty.

Adding 2>errors, it quickly dropped back to the tty when I retried
and the errors were (underlining '^^^' errors which might be
important, if anybody cares - I've now given up on kde)

dbus[30102]: Unable to set up transient service directory: XDG_RUNTIME_DIR 
"/run/user/ken" not available: Permission denied
dbus[30117]: Unable to set up transient service directory: XDG_RUNTIME_DIR 
"/var/run/user/1000" not available: Permission denied/opt/kf5/bin/startkde: 
line 106: kapplymousetheme: command not found
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path 
'/var/run/user/1000', please create it with 0700 permissions.
startkde: Starting up...
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path 
'/var/run/user/1000', please create it with 0700 permissions.
kdeinit5: Aborting. bind() failed: Permission denied
Could not bind to socket '/kdeinit5__0'
^^^
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path 
'/var/run/user/1000', please create it with 0700 permissions.
kdeinit5_wrapper: Warning: connect(/kdeinit5__0) failed: : No such file or 
directory
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path 
'/var/run/user/1000', please create it with 0700 permissions.
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path 
'/var/run/user/1000', please create it with 0700 permissions.
Qt: Session management error: networkIdsList argument is NULL
Configuring Lock Action
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path 
'/var/run/user/1000', please create it with 0700 permissions.
org.kde.kf5.ksmserver: KSMServer: cannot open /KSMserver__0: Permission denied
^^^
org.kde.kf5.ksmserver: KSMServer: Aborting.
startkde: Shutting down...
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path 
'/var/run/user/1000', please create it with 0700 permissions.
kdeinit5_wrapper: Warning: connect(/kdeinit5__0) failed: : No such file or 
directory
Error: Can not contact kdeinit5!
startkde: Done.
xinit: connection to X server lost

To start with I assumed that the /var/run/user/ken/1000 (I use 1000
for my UID, ISTR lfs itself uses 1001) and maybe /run/user/ken
directories were the problem.  So I ran
 mkdir -pv /var/run/user/1000
 chmod 700 /var/run/user/1000

But of course that symlinks to /run.  Looking there, I have

root@origin /home/ken #ls -l /run/user
total 0
drwx------ 2 root root  40 Nov 28 03:17 0
drwx------ 2 ken  root  40 Nov 28 02:58 1000
drwx------ 4 ken  users 80 Nov 27 05:46 ken

and /run/user/ken is of course present.

Retrying 'startx --wm=kde' made no difference.

And my xinitrc using that results in (pruned to remove a lot of
conditional stuff for other WMs or other things I normnally run):

 -- start items from .xinitrc --
WM=/opt/kf5/bin/startkde

echo $PATH | grep -q kf5 || export PATH=/opt/kf5/bin:$PATH
export XDG_CONFIG_DIRS=/etc/xdg:/opt/kf5/etc/xdg
export XDG_DATA_DIRS=/usr/share:/opt/kf5/share
echo $QT_PLUGIN_PATH | grep -q kf5 ||
        export QT_PLUGIN_PATH=/opt/kf5/lib/plugins
echo $QML_IMPORT_PATH | grep -q kf5 ||
        export QML_IMPORT_PATH=/opt/kf5/lib/qml

# if qt5 is in both /usr and /opt, the /usr version should go
# because with qt-5.5 I get build problems!
echo $PATH | grep -q qt5 || export PATH=/opt/qt5/bin:$PATH
echo $QT_PLUGIN_PATH | grep -q qt5 ||
        export QT_PLUGIN_PATH=/opt/qt5/plugins:$QT_PLUGIN_PATH
echo $QML_IMPORT_PATH | grep -q qt5 ||
        export QML_IMPORT_PATH=/opt/qt5/qml:$QML_IMPORT_PATH
export QML2_IMPORT_PATH=$QML_IMPORT_PATH

# if building libreoffice after kde, startkde eventually craps out in dbaccess
# and suggests this export
export $(dbus-launch)

echo "invoking startkde"
exec ck-launch-session dbus-launch --exit-with-session startkde
 -- end items from .xinitc --

Summary: I'm giving up on kde.  I last used it when my kaveri was
working properly, and over the years it has caused me a lot of pain.
Enough.

ĸen
-- 
If a man stands before a mirror and sees in it his reflection, what
he sees is not a true reproduction, but a picture of himself when he
was a younger man.        -- de Selby
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to