[SOLVED] KDE neon - How to edit display manager to login as root in GUI
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
KDE neon - How to edit display manager to login as root in GUI
H!@all
How to login as root in the Graphical User Interface (GUI)
Which Display Manager is using KDE neon GNU/Linux?
It is not LigtDM or DMG.
Wehre is the configuration file and what do i need to add to unlock the root?
I can login to the root account in GUI by switching the TTY (Ctrl+Alt+F2), login root and startx but this is like a hack.
Quote:
Operating System: KDE neon 5.15
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.0
Kernel Version: 5.0.0-custom
OS Type: 64-bit
Processors: 8 × AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
Memory: 6,8 GiB of RAM
I already asked this question in an other forum and the answer was a question:
Quote:
Why do you want to login as root, to GUI? You can do everything as normal user with sudo. What are you trying to achieve?
My answer:
Quote:
Why do I have to justify myself for what I do on my own Computer?
To be honest, that was a legitimate question you were posed by the person on the other forum. Often people ask questions which are not actually the question they need to be asking, and the poster in question was probably trying to understand why you were wanting to do what you wanted to do so that they could advise a safer solution. Running GUI programs as root is not advisable from a security point of view. Your answer was fairly rude, if you don't mind me saying, and I hope that such behaviour won't be repeated here.
The following should normally show the display manager:
Example (extracting Linux-Kernel in to /usr/src/ for compiling)
Command-Line:
Code:
cd /usr/src/
Code:
xz -cd /home/USER/Downloads/linux-5.0.6.tar.xz | tar xfv -
File-Explorer
So much easier, safer and faster.
I accidentally unpacked a File into the wrong Folder because I forgot cd /xxx/xx... This cannot happen in File Explorer.
It's off-topic, but i want to make it clear. Im not using Windows like it shows up in the corner of the trade (Windows 10 logo). I just changed my User-Agent
Gurus: Isn't there a way to open File Manager as root without logging on to the GUI as root?
Wouldn't that be the safer way to go?
That way the OP wouldn't be running a web browser as root, for example, which is a really bad idea, IMO.
On my Cinnamon desktop, in Files (Nemo), a right-click and selecting Open As Root will prompt for the root password, then open a new instance of files with root privileges. OP: would that work for you?
Ahh. I see you're using Dolphin...looking to see if that's possible in Dolphin...
Edit: Not finding that capability there, but it does appear to be in Konqueror. At least there's a section of the help file about Konqueror in superuser mode.
The following should normally show the display manager:
Code:
cat /etc/X11/default-display-manager
That is a Debian thing, not universal, not in e.g. openSUSE or Fedora, but expected in Neon as in other Debian derivatives.
Teso, try installing and using MC instead of Dolphin. You can run it in a root Konsole or su - in Konsole, or in an XTerm, or in a vtty, besides directly from Plasma's menu starter (though not as root without special menu configuration). You can search for sddm with it, view it with it, and edit it with it, among many other things other file managers can't do.
I just want to delete, move and create files in the File-Explorer because it's easier, faster and safer than in the command line.
Thanks, Teso. In that case there's no need to log in as root, you just need to log in as user and launch the file manager as root. I do this from time to time too when I have a lot of system-related file management work to do. My system is Mint 19.1 MATE which uses the Caja file manager so I merely use sudo caja to do the job, even though it's not the perfect way to do things.
There was an issue for a while that the KDE developers wouldn't allow Dolphin to run as root but as far as I know that restriction has been relaxed now. If it still affects you though, see https://www.dedoimedo.com/computers/...n-as-root.html
It's off-topic, but i want to make it clear. Im not using Windows like it shows up in the corner of the trade (Windows 10 logo). I just changed my User-Agent
I don't think many people will attach any importance to that logo - I certainly don't as people on here often have mixed systems including Linux, Windows, Mac, Android and others, and may use any one of these to connect. In my book, you use whatever you need to get the job done.
Out of interest though, why have you changed your user agent? Are there particular sites you use that don't play ball if they know you have a Linux system behind the browser?
Gurus: Isn't there a way to open File Manager as root without logging on to the GUI as root?
NO
Command-Line as SuperUser su
Code:
su
dolphin
Quote:
#dolphin
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
"Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)"
Command-Line as User with sudo
Code:
sudo dolphin
Quote:
Executing Dolphin with sudo is not possible due to unfixable security vulnerabilities.
I have it installed already, but this is not what I want and Dolphin is not the only reason for the use of root account.
Previously, I used elementery-OS and installed Dolphin on it, but it doesn't work properly, error Messages, Crashes, no Directory preview...
That's why I have installed KDE-neon and don't want to use any other File-Browser.
I didn't install KDE-neon just because of Dolphin. I love the KDE-Desktop-Cube, Video-Wallpaper and lots of other KDE Stuff.
I just liked to have a nice coordinated and organized operating system.
And even if I would never use the root account because 3D and therefore KDE-Desktop-Cube doesn't work, I still want to have the opportunity to log in as root, just because that's my Computer and I do what I want to do with my Computer.
Quote:
Originally Posted by hydrurga
In that case there's no need to log in as root
Yaa... that's the answer i was looking for.
What is the point keeping me up of using the root account?
This is my Computer, if i brake the system is my problem.
Quote:
Originally Posted by hydrurga
Are there particular sites you use that don't play ball if they know you have a Linux system behind the browser?
No, just for annonyality.
Google is spying at you, Google knows you'r favorite por** and Google sells this knowledge to everyone.
As long as I don't get paid, Google doesn't get any information from me. Google will never pay...
Yaa... that's the answer i was looking for.
What is the point keeping me up of using the root account?
This is my Computer, if i brake the system is my problem.
Absolutely. That doesn't stop people advising you that running your desktop as root is not a good idea. It would be remiss of folk not to point this out in case other people in the future read this thread and think of doing the same thing. It is always useful to advise folk of risk.
Quote:
Originally Posted by Teso
No, just for annonyality.
Google is spying at you, Google knows you'r favorite por** and Google sells this knowledge to everyone.
As long as I don't get paid, Google doesn't get any information from me. Google will never pay...
Setting your user agent as Windows or Linux doesn't affect whether Google tracks your browsing habits or not, unless you're worried that so few people use Linux that Google will be able to pinpoint you.
I know the risks. Can i use the root account on my own risk plz..
Quote:
Originally Posted by hydrurga
Setting your user agent as Windows or Linux doesn't affect whether Google tracks your browsing habits or not
Im connected over The Onion Roter and have a lot of stuff to not be tracked. All my Browser information's are fake and changing every 5 minutes as well as my IP-address an my MAC-address, all fake and temporary. I have a Firewall whit only two, (yes "2") open ports, all the data gets encrypted through a local proxy-sever (TOR), sendet out to many other routers, coming out somewhere in the world, gets the Web-Side i asked for and brings it the same way back to me.
I know the risks. Can i use the root account on my own risk plz.
Did you not read my previous post when I mentioned that all I and others are doing is pointing out the risks. You are free to use your system as you see fit.
Also, if you "know the risks", why did you ask me "Why?" in the first question. That makes no sense.
Look, you're now making more of this than you need to. You've been warned of this risks, now just get on with trying to research how to log on in KDE Neon as root.
I have [mc] installed already, but this is not what I want...
How long did you spend to make that determination? If less than a week, or even a month, I can understand the reluctance. Did you know either pane can be the entire width of the screen or window? I began about 33 years ago, with NC 1.0, knowing of no alternatives in DOS other than pure command prompt. Once I actually spent enough time with it to grasp its power, I found myself painfully hampered anywhere I couldn't have it. I didn't use OS/2 much until I found a clone of NC for it (FC/2). I stuck with OS/2 entirely exclusive of Windows for around decade, in part because I didn't find a free clone of NC for Windows until long after I became entrenched in OS/2. In MC delete by default means delete, not hide in trash, not freeing disk space. Meanwhile, I found MC and later FC/L on Linux, enabling me to spend more time in Linux and eventually migrate into it as primary OS, never more than dabbling with Windows.
OTOH, I've never purposely opened Dolphin on any of my own puters. The combination of MC and FC/L get my file editing, viewing, copying archiving, searching, unpacking and more done easily and reliably without a mouse or having to remember whether or when DND means move or copy. It's like people say about Slack, once you get it, you can't go back.
Quote:
I do what I want to do with my Computer.
Me too!
Quote:
This is my Computer, if i brake [sic] the system is my problem
Exactly! Lectures about how not to use my puters I find at least as rude as any comments you made in this thread that others openly chastised you for, particularly when they occur without any apparent attempt to answer any question asked.
I use both. Google painfully often provides answers that DDG does not, and provides some handy time constraints on the left side, while DDG makes each hit entirely a link, so that copy & paste from its summaries is impossible absent heroics.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.