Page 1 of 1

how to do kdesu dolphin in mga6?

PostPosted: Apr 29th, '16, 19:58
by taboutanche
Hello
now with Magéia 6I cannot log me as root in dolphin
Before I pressed ALT F2 and type kdesu Dolphin.
It seems that under mageia6 the entry window is used to search but no longer serves to send orders?
How to proceed to log as root with DOLPHIN?

Re: how to do kdesu dolphin in mga6?

PostPosted: Apr 30th, '16, 05:01
by benmc
please open a terminal, change to root ( su -(enter), password (enter), dolphin)

GUI will launch with / at top of GUI.

Not kdesu, but a near same outcome.

Re: how to do kdesu dolphin in mga6?

PostPosted: Apr 30th, '16, 07:02
by taboutanche
its seems to don't work ?


Code: Select all
lajoiejp@localhost ~]$ su
Mot de passe :
[root@localhost lajoiejp]# dolphin
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)"
[root@localhost lajoiejp]#

Re: how to do kdesu dolphin in mga6?

PostPosted: Apr 30th, '16, 09:13
by gohlip
I learnt this on this forum myself.

Make sure sudo is installed
Then at /etc/sudoer
## Allows people in group wheel to run all commands
Code: Select all
<your user>    ALL=(ALL)    ALL

Then
Code: Select all
sudo ln -s  /usr/lib64/kde4/libexec/kdesu /usr/bin/kdesu

Re: how to do kdesu dolphin in mga6?

PostPosted: Apr 30th, '16, 09:34
by Ken-Bergen
taboutanche wrote:its seems to don't work ?
It should be
Code: Select all
lajoiejp@localhost ~]$ su -
Note the space and dash.

Re: how to do kdesu dolphin in mga6?

PostPosted: Apr 30th, '16, 14:58
by doktor5000
gohlip wrote:Make sure sudo is installed
Then at /etc/sudoer
## Allows people in group wheel to run all commands
Code: Select all
<your user>    ALL=(ALL)    ALL

Then
Code: Select all
sudo ln -s  /usr/lib64/kde4/libexec/kdesu /usr/bin/kdesu


You advise to install and configure sudo, just to create a symlink? Doesn't make much sense and that is totally overkill, you can do the same thing as root via
Code: Select all
su - -c "ln -s /usr/lib64/kde4/libexec/kdesu /usr/bin/kdesu"

Re: how to do kdesu dolphin in mga6?

PostPosted: Apr 30th, '16, 15:59
by gohlip
You advise to install and configure sudo, just to create a symlink?

Well, not just to make that sym-link.
After installing sudo, we can use sudo without having to be root (su -) for other commands...like,
sudo grub2-install /dev/sda
sudo rm <file>
sudo <whatever>

Makes sense now?

[edit] - Also I don't think we can "kdesu <whatever gui>" without being in the sudoers (wheel) group.
Makes double sense.