Le 22/05/2016 02:47, Ken Moffat a écrit :
On Sat, May 21, 2016 at 06:56:44PM -0500, Bruce Dubbs wrote:
It does not 'appear' to be volatile, it *is* volatile.

$ grep run /etc/fstab
tmpfs          /run         tmpfs    defaults            0     0

See LFS Section 8.2.

Well yes, but the last time I looked on a desktop there seemed to be
some other directories in /run which did get created.  At the moment
I'm on my netbook with an old system, but I see directories in /run
for ConsoleKit, cups, dbus, laptop-mode-tools, lock, mount,
pm-utils, udev, wpa_supplicant so a lot of things manage to write
there.

I have in my ~/.bash_profile

export XDG_RUNTIME_DIR=/run/plasma-runtime-bdubbs

I suppose a generic value would be

export XDG_RUNTIME_DIR=/run/plasma-runtime-$USER

That type of thing is not mentioned in the book.  Where do you think it
should be?  Possibly configuration for xdg-utils, but plasma may be
appropriate.

It was in the context of "there was a message from plasma in the
logs when I tried to work out why kde did not work for me" and
"messages when looking at that gstreamer package which broke parole
on AMD for me" (vaapi, I think).

I put that into .xinitrc on the machine where I was doing that, but
of course export does not run mkdir,

Actually I do not think that XDG_RUNTIME_DIR is strictly needed.  It just
prints a warning and creates the file in /tmp.

   -- Bruce

If it is needed (for the moment, I'm clutching at straws trying to
find out why plasma is broken for me), ~/.bash_profile seems
unlikely - will it get read, and early enough, when using sddm ?

If it is only a warning, it doesn't really matter.  I know plasma is
slow and bloated, but when it has worked for me it was an
interesting alternative approach.

ĸen

Hi Ken,

I followed the book instructions so I don't have XDG_RUNTIME_DIR set.
When starting kde from runlevel 3, I often have in the log messages
"QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-pedro'"

But it seems to be only a warning because plasma works.

There is something missing in BLFS dev book (sysvinit) but it is correctly described in BLFS-dev systemd book: we need to add /etc/pam.d/kde configuration when Linux PAM is installed. And if KDE is not installed in /usr, the remaining of "Configuring Plasma-Workspace" section at http://www.linuxfromscratch.org/blfs/view/systemd/kde/plasma-workspace.html is also needed.

I think this should be added to the sysvinit book.

However, to be honest, I'm still investigating on other problems with plasma (e.g., when trying to adjust date and time as a normal user, I have an ugly error message whereas I think I should have a kdesu window...). I will post again if I find interesting things.

Pierre


--
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