Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: QStandardPaths: XDG_RUNTIME_DIR points to non-existing path Error in plasma apps

  1. #1

    Default QStandardPaths: XDG_RUNTIME_DIR points to non-existing path Error in plasma apps

    Hi.

    After upgrading to 15.1 Sometimes (but not always) I get errors like this and other messing about d-bus not working.


    Code:
    fperal@tutatis:~> dolphin
    QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/500', please create it with 0700 permissions.
    QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/500', please create it with 0700 permissions.
    "Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)"
    fperal@tutatis:~> ls /run/user
    476
    fperal@tutatis:~>

    I'm working in plasma fine, but suddenly it stops working well, I can launch apps like dolphin, konsole, etc.
    If I launch dolphin from konsole (if konsole was already open, but if it wasn't I can not open it) I get the error above.
    I'm working in remote with vnc, then I have to kill the vnc session and start it again and everything is normal again.

    In the error avove you can see the system is complaining of /run/user/500 not existing. 500 is my user number. If I try to mkdir /run/user/500 I can't because I have no permission.
    If I create the directory as root then I get again the last error

    Code:
    fperal@tutatis:~> su
    password: 
    root@tutatis:/home/fperal> mkdir /run/user/500
    root@tutatis:/home/fperal> chown fperal.users /run/user/500
    root@tutatis:/home/fperal> exit
    fperal@tutatis:~> dolphin
    "Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)"
    fperal@tutatis:~>


    I hace been searching and some of thes dbus errors seem to be caused by anaconda, but I don't have anaconda installed.

    Any clues?


    thanks

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,852
    Blog Entries
    14

    Default Re: QStandardPaths: XDG_RUNTIME_DIR points to non-existing path Error in plasma apps

    Q.: why is your UID 500? On openSUSE in /etc/login.defs the minimum UID is set to 1000.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: QStandardPaths: XDG_RUNTIME_DIR points to non-existing path Error in plasma apps

    Quote Originally Posted by Knurpht View Post
    Q.: why is your UID 500? On openSUSE in /etc/login.defs the minimum UID is set to 1000.
    Because my user is here since the good old times when the id for normal users began at 100 if I don't remember wrong

    regards

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,628
    Blog Entries
    3

    Default Re: QStandardPaths: XDG_RUNTIME_DIR points to non-existing path Error in plasma apps

    Quote Originally Posted by fperal View Post
    Because my user is here since the good old times when the id for normal users began at 100 if I don't remember wrong
    I was doing that, for a while. But I eventually decided to change to uid=1000 and up. Of course, I had to do some corresponding "chown" commands. But, long term, that makes things easier.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,153

    Default Re: QStandardPaths: XDG_RUNTIME_DIR points to non-existing path Error in plasma apps

    Same here. I had non system users from 500 for many years. Only changed when going to 15.1.
    Henk van Velden

  6. #6

    Default Re: QStandardPaths: XDG_RUNTIME_DIR points to non-existing path Error in plasma apps

    Is there any problem with users below 1000?
    I thought it was only that new users are created above 1000 as defined in login.defs but that it didn't affect existing users at all.

  7. #7
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    993

    Default Re: QStandardPaths: XDG_RUNTIME_DIR points to non-existing path Error in plasma apps

    Quote Originally Posted by fperal View Post
    Hi.

    After upgrading to 15.1 Sometimes (but not always) I get errors like this and other messing about d-bus not working.


    Code:
    fperal@tutatis:~> dolphin
    QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/500', please create it with 0700 permissions.
    QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/500', please create it with 0700 permissions.
    "Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)"
    fperal@tutatis:~> ls /run/user
    476
    fperal@tutatis:~>

    I'm working in plasma fine, but suddenly it stops working well, I can launch apps like dolphin, konsole, etc.
    If I launch dolphin from konsole (if konsole was already open, but if it wasn't I can not open it) I get the error above.
    I'm working in remote with vnc, then I have to kill the vnc session and start it again and everything is normal again.

    In the error avove you can see the system is complaining of /run/user/500 not existing. 500 is my user number. If I try to mkdir /run/user/500 I can't because I have no permission.
    If I create the directory as root then I get again the last error

    Code:
    fperal@tutatis:~> su
    password: 
    root@tutatis:/home/fperal> mkdir /run/user/500
    root@tutatis:/home/fperal> chown fperal.users /run/user/500
    root@tutatis:/home/fperal> exit
    fperal@tutatis:~> dolphin
    "Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)"
    fperal@tutatis:~>


    I hace been searching and some of thes dbus errors seem to be caused by anaconda, but I don't have anaconda installed.

    Any clues?


    thanks
    Something is wrong with your login as the directory is always created:

    Code:
    erlangen:~ # journalctl -b --grep 1001|grep systemd
    Sep 17 20:19:00 erlangen systemd[1]: Created slice User Slice of UID 1001.
    Sep 17 20:19:00 erlangen systemd[1]: Starting User Runtime Directory /run/user/1001...
    Sep 17 20:19:00 erlangen systemd[1]: Started User Runtime Directory /run/user/1001.
    Sep 17 20:19:00 erlangen systemd[1]: Starting User Manager for UID 1001...
    Sep 17 20:19:00 erlangen systemd[1]: Started User Manager for UID 1001.
    ...
    erlangen:~
    You may check your journal for errors and report.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

  8. #8

    Default Re: QStandardPaths: XDG_RUNTIME_DIR points to non-existing path Error in plasma apps

    Quote Originally Posted by karlmistelberger View Post
    Something is wrong with your login as the directory is always created:

    Code:
    erlangen:~ # journalctl -b --grep 1001|grep systemd
    Sep 17 20:19:00 erlangen systemd[1]: Created slice User Slice of UID 1001.
    Sep 17 20:19:00 erlangen systemd[1]: Starting User Runtime Directory /run/user/1001...
    Sep 17 20:19:00 erlangen systemd[1]: Started User Runtime Directory /run/user/1001.
    Sep 17 20:19:00 erlangen systemd[1]: Starting User Manager for UID 1001...
    Sep 17 20:19:00 erlangen systemd[1]: Started User Manager for UID 1001.
    ...
    erlangen:~
    You may check your journal for errors and report.


    Code:
    root@tutatis:~> journalctl -b --grep 500|grep systemd
    journalctl: unrecognized option '--grep'
    root@tutatis:~> journalctl -b | grep 500 | grep systemd |less
    sep 19 09:52:01 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    sep 19 09:52:04 tutatis.dyndns.org systemd[1]: Stopping User Manager for UID 500...
    sep 19 09:52:04 tutatis.dyndns.org systemd[1]: Stopped User Manager for UID 500.
    sep 19 09:53:01 tutatis.dyndns.org systemd[1]: Starting User Manager for UID 500...
    sep 19 09:53:01 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    sep 19 09:53:03 tutatis.dyndns.org systemd[1]: Stopping User Manager for UID 500...
    sep 19 09:53:03 tutatis.dyndns.org systemd[1]: Stopped User Manager for UID 500.
    sep 19 09:54:01 tutatis.dyndns.org systemd[1]: Starting User Manager for UID 500...
    sep 19 09:54:01 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    sep 19 09:54:04 tutatis.dyndns.org systemd[1]: Stopping User Manager for UID 500...
    sep 19 09:54:04 tutatis.dyndns.org systemd[1]: Stopped User Manager for UID 500.
    sep 19 09:55:01 tutatis.dyndns.org systemd[1]: Starting User Manager for UID 500...
    sep 19 09:55:01 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    sep 19 09:55:03 tutatis.dyndns.org systemd[1]: Stopping User Manager for UID 500...
    sep 19 09:55:03 tutatis.dyndns.org systemd[1]: Stopped User Manager for UID 500.
    sep 19 09:56:01 tutatis.dyndns.org systemd[1]: Starting User Manager for UID 500...
    sep 19 09:56:02 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    sep 19 09:56:04 tutatis.dyndns.org systemd[1]: Stopping User Manager for UID 500...
    sep 19 09:56:04 tutatis.dyndns.org systemd[1]: Stopped User Manager for UID 500.
    sep 19 09:57:01 tutatis.dyndns.org systemd[1]: Starting User Manager for UID 500...
    sep 19 09:57:01 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    sep 19 09:57:03 tutatis.dyndns.org systemd[1]: Stopping User Manager for UID 500...
    sep 19 09:57:03 tutatis.dyndns.org systemd[1]: Stopped User Manager for UID 500.
    sep 19 09:58:01 tutatis.dyndns.org systemd[1]: Starting User Manager for UID 500...
    sep 19 09:58:01 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    sep 19 10:03:03 tutatis.dyndns.org systemd[1]: Stopping User Manager for UID 500...
    sep 19 10:03:03 tutatis.dyndns.org systemd[1]: Stopped User Manager for UID 500.
    sep 19 10:04:01 tutatis.dyndns.org systemd[1]: Starting User Manager for UID 500...
    sep 19 10:04:01 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,153

    Default Re: QStandardPaths: XDG_RUNTIME_DIR points to non-existing path Error in plasma apps

    Quote Originally Posted by fperal View Post
    Is there any problem with users below 1000?
    I thought it was only that new users are created above 1000 as defined in login.defs but that it didn't affect existing users at all.
    It is not above 1000, but above 999.

    There is not realy a problem except that some software "may" use the below 1000 as a sign that this is a "system user". I only know of some display managers, that are able to show lists of users on the login screen (something I hate) and then only show above 999. But that is configurable.
    Henk van Velden

  10. #10
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    993

    Default Re: QStandardPaths: XDG_RUNTIME_DIR points to non-existing path Error in plasma apps

    Quote Originally Posted by fperal View Post
    Code:
    root@tutatis:~> journalctl -b --grep 500|grep systemd
    journalctl: unrecognized option '--grep'
    root@tutatis:~> journalctl -b | grep 500 | grep systemd |less
    sep 19 09:52:01 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    sep 19 09:52:04 tutatis.dyndns.org systemd[1]: Stopping User Manager for UID 500...
    sep 19 09:52:04 tutatis.dyndns.org systemd[1]: Stopped User Manager for UID 500.
    sep 19 09:53:01 tutatis.dyndns.org systemd[1]: Starting User Manager for UID 500...
    sep 19 09:53:01 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    sep 19 09:53:03 tutatis.dyndns.org systemd[1]: Stopping User Manager for UID 500...
    sep 19 09:53:03 tutatis.dyndns.org systemd[1]: Stopped User Manager for UID 500.
    sep 19 09:54:01 tutatis.dyndns.org systemd[1]: Starting User Manager for UID 500...
    sep 19 09:54:01 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    sep 19 09:54:04 tutatis.dyndns.org systemd[1]: Stopping User Manager for UID 500...
    sep 19 09:54:04 tutatis.dyndns.org systemd[1]: Stopped User Manager for UID 500.
    sep 19 09:55:01 tutatis.dyndns.org systemd[1]: Starting User Manager for UID 500...
    sep 19 09:55:01 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    sep 19 09:55:03 tutatis.dyndns.org systemd[1]: Stopping User Manager for UID 500...
    sep 19 09:55:03 tutatis.dyndns.org systemd[1]: Stopped User Manager for UID 500.
    sep 19 09:56:01 tutatis.dyndns.org systemd[1]: Starting User Manager for UID 500...
    sep 19 09:56:02 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    sep 19 09:56:04 tutatis.dyndns.org systemd[1]: Stopping User Manager for UID 500...
    sep 19 09:56:04 tutatis.dyndns.org systemd[1]: Stopped User Manager for UID 500.
    sep 19 09:57:01 tutatis.dyndns.org systemd[1]: Starting User Manager for UID 500...
    sep 19 09:57:01 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    sep 19 09:57:03 tutatis.dyndns.org systemd[1]: Stopping User Manager for UID 500...
    sep 19 09:57:03 tutatis.dyndns.org systemd[1]: Stopped User Manager for UID 500.
    sep 19 09:58:01 tutatis.dyndns.org systemd[1]: Starting User Manager for UID 500...
    sep 19 09:58:01 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    sep 19 10:03:03 tutatis.dyndns.org systemd[1]: Stopping User Manager for UID 500...
    sep 19 10:03:03 tutatis.dyndns.org systemd[1]: Stopped User Manager for UID 500.
    sep 19 10:04:01 tutatis.dyndns.org systemd[1]: Starting User Manager for UID 500...
    sep 19 10:04:01 tutatis.dyndns.org systemd[1]: Started User Manager for UID 500.
    For some reason pam_systemd fails to create the directory: https://www.freedesktop.org/software...m_systemd.html You may check systemd:

    Code:
    erlangen:~ # rpm -qf /lib64/security/pam_systemd.so
    systemd-242-3.1.x86_64
    erlangen:~ # rpm -V systemd
    .M.......  c /etc/X11/xorg.conf.d/00-keyboard.conf
    .M.......  c /etc/locale.conf
    .M.......  c /etc/machine-id
    .M.......  c /etc/vconsole.conf
    .M.......  g /var/lib/systemd/random-seed
    erlangen:~ #
    A reinstall might help: zypper in -f systemd.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •