Installed KDE from repositories problems with KDE su

You have a problem with Salix? Post here and we'll do what we can to help.
westms
Posts: 298
Joined: 17. Mar 2013, 18:51

Re: Installed KDE from repositories problems with KDE su

Post by westms »

jallen wrote:While all of this chatter about / and /home is entertaining, it has nothing to do with the topic in regards to why the sudo password isn’t recognized in KDE desktop but works as it should XFCE and why sudo works from the terminal.

I reinstalled Salix. Home now houses my user folder and a lost + found folder. Added kdesurc file to ~/.kde/share/config/ with code suggested by djemos but to no avail.
Yes, life is unfair.

Obviously, it is not correct to go into a discussion with a strange subject. But if I have understood your text correctly, then you have additionally the same problem as it has forum member aleXimon also.

You yourself have mentioned the additional problem here and thus split the original topic.
viewtopic.php?f=16&t=7198#p41697

You did a new installation and so you solved this second problem. Good for you.

Even if you are disappointed because no solution to your original problem has been found, you have no right to offend others in their help attempts.

The help is not chatter, and you should take this claim back.
westms
Posts: 298
Joined: 17. Mar 2013, 18:51

Re: Installed KDE from repositories problems with KDE su

Post by westms »

jallen wrote:Adding root would give me a user password (the previous sudo password) and a new root password. I would think then that KDE would accept the “real” root password. How do add root user??? Having root and user passwords would work fine for me if it is doable.
How about https://docs.salixos.org/wiki/How_to_en ... _root_user
djemos
Salix Warrior
Posts: 1464
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Installed KDE from repositories problems with KDE su

Post by djemos »

westms wrote:
jallen wrote:Adding root would give me a user password (the previous sudo password) and a new root password. I would think then that KDE would accept the “real” root password. How do add root user??? Having root and user passwords would work fine for me if it is doable.
How about https://docs.salixos.org/wiki/How_to_en ... _root_user
You do not listen what people answer to you. Even if you enable root password to use salixtools and other tools need root privileges you will need sudo for the first created user or any other user in wheel group.

So do what i have told you. viewtopic.php?f=16&t=7198#p41695
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Installed KDE from repositories problems with KDE su

Post by laprjns »

I did a fresh install of Salix64 14.2 XFCE in VirtualBox and after doing a complete upgrade to the system , I installed KDE

Code: Select all

$ sudo slapt-get --install-set kde
After all the packages were installed I rebooted and logged into a KDE session. I confirmed the OP problem with starting graphical programs requiring administrative level privileges. I then did what djemoe suggest in the second post:
Create a file kdesurc in ~/.kde/share/config
CODE: SELECT ALL
echo [super-user-command] > ~/.kde/share/config/kdesurc
echo super-user-command=sudo >> ~/.kde/share/config/kdesurc
Logged out then back in and was able to start programs requiring administrative level privileges without problems.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
jallen
Posts: 4
Joined: 5. Dec 2016, 01:07

Re: Installed KDE from repositories problems with KDE su

Post by jallen »

Thanks for the information about root password, the link was very informative.

Thanks for the heads up in regards to sudo’s status as sacrosanct due it being the first account created making it sudo-special. Be careful...

Super thanks to laprjns who actually installed KDE by slapt-get - - install-set kde (I hadn’t done this because I didn’t know the command --install-set) combined with kdesurc file created normal kde functionality—sudo passwd being accepted as root. It seems so easy I feel like an idiot. I had used gslapt and must have missed some programs. Your input means that whatever I did wrong installing kde—there a solution that works and makes kde viable. I consider your input to solve it when combined with the code djemos wrote in the very beginning of the post—so that kde gets the command that super-user is sudo.

Whew. I now have been using Salix for 7 days.

So thanks for the input and sorry wesms for the “chatter” comment, it was frustration speaking and not about your attempt to aid Ale. You’re mistaken djemos—I did listen => if by listen you mean “read”.

This is the first time I have ever posted in a Linux forum. Some mixed emotions about it but it did work—got a solution and in spite of some friction actually learned quite a bit.

Thanks for your help
Post Reply