Ask Your Question

Failed to execute Child Process "dm-tool"( No Such File or Directory)

asked 2018-07-21 05:35:32 -0500

Gaurav29 gravatar image

updated 2018-07-21 07:04:43 -0500

When i try to switch from normal user to root user, i get this error and can't login to root user, as there is no option to login to root user on login screen. From terminal I can switch to root user but can't do it graphically. I have removed gnome by dnf remove gnome-*. And currently using only cinnamon.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-23 06:20:31 -0500

FeRDNYC gravatar image

Fedora 28 followed Ubuntu's lead and did away with the root password (see item #2), which among other beneficial effects means it's not possible to log in to the system as root. Root logins are a huge security exposure and should never be done for any reason. Executing permissions-elevated operations from a normal user account via sudo is the preferred method of accessing root capabilities.

However, the problems running dm-tool would seem to indicate that the lightdm package is not installed, as it's the source of that utility. If you indeed are using or attempting to use lightdm instead of the Fedora default gdm as your display manager, then sudo dnf install lightdm should make the dm-tool utility available.

edit flag offensive delete link more



the answer regarding root user is a bit misleading. It's not that there is no root user anymore. The installer has just been modified so users don't define a root password by default anymore. You can still do so by sudo -i passwd

florian gravatar imageflorian ( 2018-07-23 09:28:08 -0500 )edit

Point taken, I was inexact in describing the change here, especially considering I've previously been the one to stress that you really can't not have a root user account, on Linux. Though, even though the root user is always there, it's far safer if they're left in a non-login state, since IMHO it's really kind of impossible to go too far in discouraging the practice of logging in as root. Ever, in any way, for any reason.

FeRDNYC gravatar imageFeRDNYC ( 2018-07-23 10:13:59 -0500 )edit

Well I had a root user login option, but after completing removing gnome, by the command sudo dnf remove gnome-*, the root login option from the login screen was gone and there was only a option to login through normal user. I searched a lot to fix it, couldn't find it and at the end, I just format the /and /boot, and now I'm having gnome and cinnamon both.

Gaurav29 gravatar imageGaurav29 ( 2018-07-24 21:58:32 -0500 )edit

Glad you got that worked out.

FeRDNYC gravatar imageFeRDNYC ( 2018-07-24 22:03:21 -0500 )edit

Question Tools

1 follower


Asked: 2018-07-21 05:35:32 -0500

Seen: 188 times

Last updated: Jul 23 '18