Registered Member
|
Konsole as root without password failed to open without any error.
That was working for years as soon as you have set up /etc/sudoers to enable users in group wheel and you have set up user's kdesurc file. The command used to use from the application launcher is
Any help is welcome urgently. |
Registered Member
|
I wonder why you need to run the Konsole GUI as root rather than just su-ing to root inside of (launched-as-current-user) Konsole?
airdrik, proud to be a member of KDE forums since 2008-Dec.
|
Registered Member
|
Thank you for answering. But I am sorry that does not answer my question. |
Registered Member
|
Perhaps I should have framed it differently as I was suggesting an alternative which I believe should work for you, but framed it as a question (which you avoided answering) to see if you had a valid reason why you needed it to work the way that you describe rather than using any of a number of other valid workflows.
So I'll re-frame that as a more direct suggestion: Instead of running the Konsole Gui as root, you set up a konsole profile which starts a root shell. I don't see any benefit from running the Konsole Gui as root when all you really care about is a convenient way to open a Konsole session and run commands as root.
airdrik, proud to be a member of KDE forums since 2008-Dec.
|
Registered Member
|
Thank you for answering. But I am sorry that does not answer my question which was :
And there is two important parts in my question : 1 :
2 :
|
Registered Member
|
Why do you care so much about running Konsole as root? I'm offering an alternative that you are immediately dismissing without considering that it may be a worthwhile approach to what you want (besides being more secure as there are less bits running with elevated permissions)
When you try to run Konsole as root, what is the error that pops up? Is it merely that it prompts for a password? If that is the case it most likely has nothing to do with Konsole and only with differences in the sudo settings between the old and new systems. Are there other applications you run as root in similar manner? do they still work as they did before and/or as you intend Konsole to work?
airdrik, proud to be a member of KDE forums since 2008-Dec.
|
Registered Member
|
Application does not open. No popup error.
Of course not. That is the purpose of /etc/sudoers to give root access to user belonging to group wheel (and the presence of ~/.config/kdesurc for each user in the wheel group).
Surely something like that.
Yes and not Yes --> yast2 (gui) ; dolphin (gui) ; ...... and not : The calling process is different yast2 use : /usr/bin/xdg-su -c /sbin/yast2 Dolphin use : dbus-launch dolphin -qwindowtitle "%c" "%u"
yes but the calling process is different. Calling konsole with sudo works within a running konsole.
open a konsole as root without asking for password. What does not work is calling konsole with a specific profile, from the kickoff menu here is the command definition in the kickoff menu :
Here is the definition of the profile
Note 1:
or
Make no difference Note 2:
or
Make no difference. Note 3 : Leap 15 is opensuse, they configure sudo differently as others. Thank you for helping. |
Registered Member
|
Does it make a difference if you use the -i flag which runs a login shell for that user:
or
(setting/overriding the DISPLAY variable should be avoided as that is tying the command to a specific graphical display session. Not a big deal in a single-user, single-session system, though)
airdrik, proud to be a member of KDE forums since 2008-Dec.
|
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]