LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   No shut down option (https://www.linuxquestions.org/questions/mandriva-30/no-shut-down-option-303990/)

A_Linux_Newbie 03-20-2005 02:55 PM

No shut down option
 
I'm a total Linux newbie, so I'm trying to get my head around somrthing other that Windows. I've installed Mandrake 10.1 on my spare machine, but there's no option for shut down - just log off.

What am I missing?

Thoreau 03-20-2005 03:11 PM

By default users can't shutdown the machine. You have to be root, unless you give users permission to do so. At command as a user, type "su". Enter the root password. shutdown -h now(shuts it down). shutodwn -r now(reboots).

Lakota 03-20-2005 04:34 PM

my mandrake default installs always allow everybody to shutdown, others like Slack only allow root by default.

If you use kde, to enable anyone to shutdown simply click on your menu>system>configuration>Kde>system>login manager
select the "shutdown" tab and in the "allow shutdown" box, change it from root to everybody.

the command "halt" will do the same as "shutdown -h now" if you are lazy at typing like me.

opjose 03-21-2005 03:15 AM

I believe that the differences are due to the initial security level selected during the installation.

Lakota 03-21-2005 04:08 AM

That would make some sense Opjose, I always leave security level at "standard" for my installs of Mandrake.
http://www.linuxloader.com/modules.p...&pid=18&page=4
In that case, if it is simply a home pc we are talking about, maybe better solution would be changing to "standard" on the "basic" tab of "levels and checks" window in the "Mandrake Control Center". I will assume if security setting is higher than need be user acct's may loose permission for mounting devices etc.

A_Linux_Newbie 03-21-2005 03:17 PM

Thanks, now another one
 
Thanks everyone - the shut down is available now, however....

When KDE starts, I don't have any mouse movement. I have to use the keyboard to get into 'Configure your computer', enter the root password, go onto Hardware, then mouse. KDE always sets my mouse to 'Universal - Any PS/2 & USB mice'. I have to change this to 'PS/2 - Standard', then logoff / logon and the mouse works. (It's a bog standard PS/2 mouse by the way).

If this was Windows, I'd say Plug and play is messing up - what's Linux / Mandrake / KDE doing, and more importantly - how do I stop it?

Thanks in advance

opjose 03-21-2005 04:04 PM

Look in /etc/sysconfig

Usually the problem is that the /etc/X11/XF86Config file and the files in /etc/sysconfig do not point to the same devices.

/etc/sysconfig determines the machine's initial settings at startup.

A_Linux_Newbie 03-23-2005 03:23 PM

Mouse probs
 
Right, I've had a look at the 2 files, but I'm none the wiser. Here's the contents...

The file /etc/sysconfig/mouse has the following lines:-

MOUSETYPE=ps/2
XMOUSETYPE=PS/2
FULLNAME='"PS/2|STANDARD"'
XEMU3=yes
WHEEL=no
device=psaux

the file /etc/X11/XF86Config has the following lines:-

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
EndSection

Any clues?

opjose 03-23-2005 04:05 PM

Type

ls -l /dev/mouse

And post the results...


All times are GMT -5. The time now is 08:05 AM.