hi
iam installed mandriva spring 2009
iam unble to login into gui using root
how to enable it
where the settings are stored
hi
iam installed mandriva spring 2009
iam unble to login into gui using root
how to enable it
where the settings are stored
is it enabled for normal users? What happens if you type "startx" as root?
what is your initdefault in the /etc/inittab file?
etc/inittab is ok
normal users are able to login both in GUI & CLI
root is unable to login in gui ( CLI login is working for root)
why....
It's not a bug but a feature - or, as the Mandriva folks put it:
The default desktop for the root user is sparse and nearly unusable on purpose. Mandrake is trying to discourage people from the very unsafe practice of running a gui as root. Most applications that need root permissions have menu entries to start them as root, and any application that needs to be run as root can be started in a user's desktop environment by opening a terminal, using su to become root and launching the app from the command line. Running the entire gui desktop environemnt as root is completely unecessary and very dangerous. If you regularly run certain commands as root, you may also want to investigate using sudo instead.
ya i know that ..
my question is
because iam learning system administration
i want to know
case 1). in mandriva is there is any way to enable root gui login.
case 2). in any other linux restrict any users (some of users or root itself ) ,so that they can only can login in command line or they can only login in gui ,, is it possible..?
the settings will be stored in which file
Then what do you need a GUI for? :rolleyes:
However, for KDE 3, the key you're looking for, i.e.
AllowRootLogin=false
is to be found in
/etc/kde3/kdm/kdmrc