USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

kdesu

 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Command Line Commands
View previous topic :: View next topic  
Author Message
stonecarver
Advanced Member


Joined: 18 Dec 2024
Posts: 833
Location: SE Alaska

PostPosted: Sun Sep 16, 2024 9:58 am    Post subject: kdesu Reply with quote

Really cool for opening kde apps in root.
Where sudo failed open to kate,
this worked
Code:
kdesu konqueror
gives you a root filemanager (sweet)
Code:
kdesu kate
root text editor
have fun Very Happy



_________________
linux mint 3.0 Kde
sidux - erebos
Back to top
View user's profile Send private message
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Sun Sep 16, 2024 9:45 pm    Post subject: Reply with quote

Yup, nice to use.

I have some alias's in my bash.rc file that use kdesu too. Saves me some typing Smile



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
Pet3M0ss
Advanced Member


Joined: 18 Sep 2024
Posts: 738
Location: NW corner of Montana (Libby)

PostPosted: Sun Sep 16, 2024 10:55 pm    Post subject: Reply with quote

nice reminder, stonecarver.

Too bad these really helpful tips get so buried in the documentation stuff. Seems to be a big "how to's" gap between shell commands and the GUI's capabilities for similar tasks.



_________________
Slackware 12.2
Slax
Back to top
View user's profile Send private message
Pet3M0ss
Advanced Member


Joined: 18 Sep 2024
Posts: 738
Location: NW corner of Montana (Libby)

PostPosted: Fri Sep 21, 2024 10:58 am    Post subject: Reply with quote

been playing with this, stonecarver, and this is a big help for trying to keep things in "user" mode but actually getting some system work done. I hate to log out ,then in as root, for simple stuff.



_________________
Slackware 12.2
Slax
Back to top
View user's profile Send private message
mr_ed
Site Admin


Joined: 28 Aug 2024
Posts: 3819
Location: 42 miles north of Ogdensburg, NY

PostPosted: Fri Sep 21, 2024 1:17 pm    Post subject: Reply with quote

You must have a root password in order to use kdesu -- unless they've changed it some time in the last year or two.



_________________
Desktop: Ubuntu 7.10 "Gutsy Gibbon"
Laptop: Ubuntu 7.04 "Feisty Fawn"
Back to top
View user's profile Send private message Visit poster's website
stonecarver
Advanced Member


Joined: 18 Dec 2024
Posts: 833
Location: SE Alaska

PostPosted: Fri Sep 21, 2024 2:48 pm    Post subject: Reply with quote

mr_ed,
yup it goes to password prompt as soon as you hit enter.

With root login no longer in many distro's kdesu has been a lifesaver. Wink



_________________
linux mint 3.0 Kde
sidux - erebos
Back to top
View user's profile Send private message
masinick
Linux Guru


Joined: 03 Apr 2024
Posts: 8615
Location: Concord, NH

PostPosted: Fri Sep 21, 2024 4:11 pm    Post subject: kdesu (for LDE) and sudo for command line interface Reply with quote

stonecarver wrote:
mr_ed,
yup it goes to password prompt as soon as you hit enter.

With root login no longer in many distro's kdesu has been a lifesaver. Wink


Both sudo and kdesu perform similar functions. You use sudo from a command line interface (CLI) and you specify sudo followed by the command. The first time you run the command you are prompted for the root password. Subsequent requests during your login are performed without having to repeat the root password, unless you logout or unless you exceed a timer (varies by distribution, depending how it is configured).

With kdesu, a popup password prompt appears. When you use a graphical user interface (GUI) there is a context associated with the interface. Unless explicitly given access, no other account can display output on your interface. Root is a different account. Kdesu is the mechanism to grant that access. Once that access is granted, it behaves like sudo in a graphical context. The reason you need root access, of course, is to install or maintain software at the system level.



_________________
Brian Masinick
Distros: SimplyMEPIS
sidux - no CAPS!, antiX, Debian
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
stonecarver
Advanced Member


Joined: 18 Dec 2024
Posts: 833
Location: SE Alaska

PostPosted: Fri Sep 21, 2024 10:43 pm    Post subject: Reply with quote

ksysgaurd - is another cool kdesu option great for adept freeze ups Smile

Masinick,
Very nice Wink understandable comparison of sudo and kdseu.



_________________
linux mint 3.0 Kde
sidux - erebos
Back to top
View user's profile Send private message
masinick
Linux Guru


Joined: 03 Apr 2024
Posts: 8615
Location: Concord, NH

PostPosted: Sat Sep 22, 2024 1:01 am    Post subject: Thanks Reply with quote

stonecarver wrote:
ksysgaurd - is another cool kdesu option great for adept freeze ups Smile

Masinick,
Very nice Wink understandable comparison of sudo and kdseu.


Thanks. I tried to write that with the idea that we may have some beginners reading it at some point in time.



_________________
Brian Masinick
Distros: SimplyMEPIS
sidux - no CAPS!, antiX, Debian
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Pet3M0ss
Advanced Member


Joined: 18 Sep 2024
Posts: 738
Location: NW corner of Montana (Libby)

PostPosted: Sun Sep 23, 2024 1:07 am    Post subject: Reply with quote

I cannot access Konqueror from the shell. Get a "kdesu: cannot connect to X server" block. ?? Tried as user and root.

The "run" KDE window is where I get the kdesu konqueror to work fine. A quick press of ALT+F2 opens the "run" if you don't want to wait for the menu.



_________________
Slackware 12.2
Slax
Back to top
View user's profile Send private message
masinick
Linux Guru


Joined: 03 Apr 2024
Posts: 8615
Location: Concord, NH

PostPosted: Sun Sep 23, 2024 7:15 pm    Post subject: If you run as root, you lock out apps Reply with quote

Pet3M0ss wrote:
I cannot access Konqueror from the shell. Get a "kdesu: cannot connect to X server" block. ?? Tried as user and root.

The "run" KDE window is where I get the kdesu konqueror to work fine. A quick press of ALT+F2 opens the "run" if you don't want to wait for the menu.


If you run one or more apps as root without using kdesu for KDE or gtksu for GTK/GNOME apps, you will get this situation. Logout and login to correct it.

IF something is STILL wrong, then you have file or directory protection or ownership issues.



_________________
Brian Masinick
Distros: SimplyMEPIS
sidux - no CAPS!, antiX, Debian
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
stonecarver
Advanced Member


Joined: 18 Dec 2024
Posts: 833
Location: SE Alaska

PostPosted: Sun Sep 23, 2024 9:38 pm    Post subject: Reply with quote

Since I posted this thread I had trouble with kdesu kate it hung instead of showing a passwd prompt./ used konqueror and got the job done.

Pet3M0ss
Thanks for another path to -root kde apps Smile



_________________
linux mint 3.0 Kde
sidux - erebos
Back to top
View user's profile Send private message
Pet3M0ss
Advanced Member


Joined: 18 Sep 2024
Posts: 738
Location: NW corner of Montana (Libby)

PostPosted: Sun Sep 23, 2024 11:12 pm    Post subject: Reply with quote

You are correct, masinick, since loading Slackware 12 I seem to be having to "unlock" and mount things that I never had to deal with in SuSE. Don't remember having this trouble with Slckwre 11.

It's OK to keep things secure, but most newbies are just testing the Linux waters. Easier for a techie to close the holes than to get the uninitiated to fire up a CD player. I've done installs where I was so concerned about chosing a hack-proof (scared by the hype) password that I could not log back in Laughing

Might be wrong, but Linux seems like it can run just fine in "root" until the newbie learns how to make himself a user. Full read-write to everything from the go, I say. Exclamation



_________________
Slackware 12.2
Slax
Back to top
View user's profile Send private message
masinick
Linux Guru


Joined: 03 Apr 2024
Posts: 8615
Location: Concord, NH

PostPosted: Mon Sep 24, 2024 12:22 am    Post subject: Only on TEST systems Reply with quote

That is a risky way to go, but if you do not mind the potential of trashing your system and having to reinstall, why not?

I do both. In my stable OS, I just run it and do not experiment too much. In my test distros I TRY to break them and do all kinds of dastardly things. (How about sudo rm -rf /)? Mu ah ha ha! Wink



_________________
Brian Masinick
Distros: SimplyMEPIS
sidux - no CAPS!, antiX, Debian
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Command Line Commands All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2024-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2024-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse