View previous topic :: View next topic |
Author |
Message |
stonecarver Advanced Member

Joined: 18 Dec 2025 Posts: 833 Location: SE Alaska
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
|
Back to top |
|
Pet3M0ss Advanced Member

Joined: 18 Sep 2025 Posts: 738 Location: NW corner of Montana (Libby)
|
Posted: Sun Sep 16, 2025 10:55 pm Post subject: |
|
|
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 |
|
Pet3M0ss Advanced Member

Joined: 18 Sep 2025 Posts: 738 Location: NW corner of Montana (Libby)
|
Posted: Fri Sep 21, 2025 10:58 am Post subject: |
|
|
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 |
|
mr_ed Site Admin

Joined: 28 Aug 2025 Posts: 3819 Location: 42 miles north of Ogdensburg, NY
|
Posted: Fri Sep 21, 2025 1:17 pm Post subject: |
|
|
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 |
|
stonecarver Advanced Member

Joined: 18 Dec 2025 Posts: 833 Location: SE Alaska
|
|
Back to top |
|
masinick Linux Guru

Joined: 03 Apr 2025 Posts: 8615 Location: Concord, NH
|
Posted: Fri Sep 21, 2025 4:11 pm Post subject: kdesu (for LDE) and sudo for command line interface |
|
|
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.  |
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. |
|
Back to top |
|
stonecarver Advanced Member

Joined: 18 Dec 2025 Posts: 833 Location: SE Alaska
|
|
Back to top |
|
masinick Linux Guru

Joined: 03 Apr 2025 Posts: 8615 Location: Concord, NH
|
Posted: Sat Sep 22, 2025 1:01 am Post subject: Thanks |
|
|
stonecarver wrote: | ksysgaurd - is another cool kdesu option great for adept freeze ups
Masinick,
Very nice 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. |
|
Back to top |
|
Pet3M0ss Advanced Member

Joined: 18 Sep 2025 Posts: 738 Location: NW corner of Montana (Libby)
|
Posted: Sun Sep 23, 2025 1:07 am Post subject: |
|
|
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 |
|
masinick Linux Guru

Joined: 03 Apr 2025 Posts: 8615 Location: Concord, NH
|
Posted: Sun Sep 23, 2025 7:15 pm Post subject: If you run as root, you lock out apps |
|
|
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. |
|
Back to top |
|
stonecarver Advanced Member

Joined: 18 Dec 2025 Posts: 833 Location: SE Alaska
|
|
Back to top |
|
Pet3M0ss Advanced Member

Joined: 18 Sep 2025 Posts: 738 Location: NW corner of Montana (Libby)
|
|
Back to top |
|
masinick Linux Guru

Joined: 03 Apr 2025 Posts: 8615 Location: Concord, NH
|
Posted: Mon Sep 24, 2025 12:22 am Post subject: Only on TEST systems |
|
|
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!  |
|
Back to top |
|
|