su vs sux
ckosloff
Status: Contributor
Joined: 21 Dec 2011
Posts: 292
Location: South Florida
Reply Quote
In aptosid I used to have sux, now not found in Debian.
I can only use su to become root.
This has some disadvantages as I cannot, for example, open Dolphin as root, which comes in handy move files in/out of root if in X.
Tried using kdesu, but not found either.
How should I open graphical applications?
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4027
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
This debian forum thread : forums.debian.net/viewtopic.php?f=16&t=53366

by craigevil should answer all your questions. Craigevil generally knows most of what is to be known relevant to real world debian users.

I believe the kdesu syntax would be:

for example, alt+f2, to open a run dialogue, type in: kdesu dolphin

but check that thread too for more debian tips. Any time you see craig's name attached to a thread, you can generally count on the information being pretty good.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4027
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
this is the one liner to create a sux command, by the way:

sux="su-to-root -X -c"

in your bash config, or just type:

su-to-root -X -c dolphin

that's basically what kdesu will do too I believe, and that's what sux did.

-X for x mode, ie, a gui app, and -c for the command.
Back to top
anticapitalista
Status: Contributor
Joined: 13 Jun 2008
Posts: 202
Location: Greece
Reply Quote
Just install sux.

packages.debian.org/lenny/sux
Back to top
ckosloff
Status: Contributor
Joined: 21 Dec 2011
Posts: 292
Location: South Florida
Reply Quote
Thanks for all answers.
Installed sux following antix advice.
It worked.
Just FYI, opening Dolphin in sux threw some errors, but it worked.
Thank you very much.
:: Code ::

ckosloff@papimalo:~$ sux
Password:
root@papimalo:/home/ckosloff# dolphin
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
kbuildsycoca4(3010) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/mutt.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3010) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/mutt.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3010) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/disk-manager.desktop" is not compliant with XDG standard (missing trailing semicolon).

Back to top
Display posts from previous:   

All times are GMT - 8 Hours