3 Replies - 194 Views - Last Post: 20 February 2019 - 05:25 PM

#1 sayhello   User is offline

  • D.I.C Regular

Reputation: 4
  • View blog
  • Posts: 281
  • Joined: 12-November 17

while trying to start kgpg on commandline - i run in ownership issues

Posted 19 February 2019 - 04:20 PM

good evening dear experts

on a fresh and new installation of Manjaro 18.02 - with all the updates that i achieved due to the command i found here:

https://wiki.manjaro...tle=Pacman_Tips
Adding a number to -f/--fasttrack command will return a number of up-to-date and responsive mirrors


 sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu




i additionally installed kgpg via octopi:

finally i wanted to start kgpg via commandline - and got back the following
while trying to start kgpg on commandline

[martin-pc martin]# kgpg -k
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
"Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)"
[martin-pc martin]#



Is This A Good Question/Topic? 0
  • +

Replies To: while trying to start kgpg on commandline - i run in ownership issues

#2 jimblumberg   User is offline

  • member icon

Reputation: 5783
  • View blog
  • Posts: 17,685
  • Joined: 25-December 09

Re: while trying to start kgpg on commandline - i run in ownership issues

Posted 20 February 2019 - 06:38 AM

First thing did you follow the instructions in the error listing and then try re-running the command? Your system seems to have a security system that will stop root from running some commands by default, so you would need to enable support for that command for that particular terminal session using the dbus-launch switch.

Also user 1000 is usually a "normal" user while user 0 is usually root. Does that "normal" user have sudo privileges? If so did you try sudo?
Was This Post Helpful? 1
  • +
  • -

#3 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6833
  • View blog
  • Posts: 31,498
  • Joined: 10-May 07

Re: while trying to start kgpg on commandline - i run in ownership issues

Posted 20 February 2019 - 07:30 AM

View Postjimblumberg, on 20 February 2019 - 08:38 AM, said:

Also user 1000 is usually a "normal" user while user 0 is usually root. Does that "normal" user have sudo privileges? If so did you try sudo?

On a fresh install... issue sudo -l to check your sudo privileges.
Was This Post Helpful? 0
  • +
  • -

#4 sayhello   User is offline

  • D.I.C Regular

Reputation: 4
  • View blog
  • Posts: 281
  • Joined: 12-November 17

Re: while trying to start kgpg on commandline - i run in ownership issues

Posted 20 February 2019 - 05:25 PM

hello




[martin-pc martin]# su -l
[martin-pc ~]# kgpg -k
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.




this command below helped:


[martin-pc ~]# export $(dbus-launch
> 
> export $(dbus-launch)
> ^C
[martin-pc ~]#



with the code below it worked..
have a great day-.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1