Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: YaST - QStandardPaths: wrong ownership on runtime directory

  1. #1
    Join Date
    Apr 2016
    Location
    North America
    Posts
    537

    Default YaST - QStandardPaths: wrong ownership on runtime directory

    When I log into YaST via the associated xterm window, it prints:
    QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
    Is this something I can correct?

    I'm using TumbleWeed 20171201 / OpenBox.

  2. #2
    Join Date
    Apr 2016
    Location
    North America
    Posts
    537

    Default Re: YaST - QStandardPaths: wrong ownership on runtime directory

    I'm starting YaST via the OpenBox menu.

  3. #3
    Join Date
    Apr 2016
    Location
    North America
    Posts
    537

    Default Re: YaST - QStandardPaths: wrong ownership on runtime directory

    This doesn't appear if I log in with 'su' and then run 'yast' (command line version (using the suckless terminal)) .

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,878
    Blog Entries
    15

    Default Re: YaST - QStandardPaths: wrong ownership on runtime directory

    Hi
    Try;
    Code:
    xdg-su -c /usr/sbin/yast2
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Apr 2016
    Location
    North America
    Posts
    537

    Default Re: YaST - QStandardPaths: wrong ownership on runtime directory

    I still get that message.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,878
    Blog Entries
    15

    Default Re: YaST - QStandardPaths: wrong ownership on runtime directory

    Quote Originally Posted by ravas View Post
    I still get that message.
    Hi
    Possibly the fact you used su instead of su -

    What is the output of;
    Code:
    ls -la /run/user
    user 0 (root) should be root:root user 1000 should be <yourloginname>:users
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    Apr 2016
    Location
    North America
    Posts
    537

    Default Re: YaST - QStandardPaths: wrong ownership on runtime directory

    total 0
    drwxr-xr-x 3 root root 60 Dec 31 12:12 .
    drwxr-xr-x 33 root root 860 Dec 31 16:40 ..
    drwx------ 7 my_username users 160 Dec 31 13:04 1000
    running yast2 after "su -" gives:

    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,878
    Blog Entries
    15

    Default Re: YaST - QStandardPaths: wrong ownership on runtime directory

    Quote Originally Posted by ravas View Post
    running yast2 after "su -" gives:
    Hi
    On both my Tumbleweed installs I have a /run/user/0 directory owned by root:root does this directory exist?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9
    Join Date
    Apr 2016
    Location
    North America
    Posts
    537

    Default Re: YaST - QStandardPaths: wrong ownership on runtime directory

    No; only /run/user/1000

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,878
    Blog Entries
    15

    Default Re: YaST - QStandardPaths: wrong ownership on runtime directory

    Quote Originally Posted by ravas View Post
    No; only /run/user/1000
    Hi
    As root user create the directory and see if it makes a difference;
    Code:
    mkdir -p /run/user/0
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Page 1 of 3 123 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
  •