DebianThis forum is for the discussion of Debian Linux.
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.
I'm pretty sure it can't be done - and the error message seems to confirm it. Is there anything you need to do that can't be done with su or sudo (or it's KDE and GNOME equivalents)?
Well, I have a fedora box where I am able to use NX to login as root, so I assumed that it was a configuration setting that was preventing this from working on the debian machine. I am using the same computer to logon to both (win box).
I can do what I need using "su"...it's just a pain to constantly retype the root password to get to what I need, especially at the start of a new session.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
I am not quite sure how NX works, but VNC starts a new KDM session when you connect to the server. If that is the case, Debian does not allow root login in X.
Alternatively, the debian version of NX might have been patched in order to disable root access.
Generally it is bad idea to run a GUI as root. You can do everything from with KDE as a root, but it should be avoided to run the GUI itself as root.
If you insist and you know what you are doing, edit /etc/kde3/kdm/kdmrc (or /etc/somewhere/gdmrc if you use gnome) and allow root access and see if that helps.
What you said about the OS blocking root access makes a lot of sense....this version of debian was an image built to run an infosec IDS framework, so it's logical to assume the creators patched it/made it harder to hack.
How would I login as root after I login as a user using FreeNX? I would kill X Window? ctrl+alt+backspace does not work on the FreeNX client.
I am not familiar with FreeNX but I believe with nomachine NX CLient you can set up a login to root but it would be with a gui....would root log in in SSL work for you?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.