LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2006, 11:37 PM   #1
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
Shutdown problem as well as .dmrc Problem


Hello all,

I changed mice on my Ubuntu system, changed from PS/2 mouse to a USB mouse.

Prior to changing mice, this system was perfect.

Now the system does two strange things:

1) It will not power down by itself now, I have to hold the power button in for 5 secs.

2) When I log in, I receive a message about ignoring $home/.dmrc file because it does not have correct permissions.


I have chmodded the .dmrc file to all sorts of values such as 755, 777, 644 but no matter what I try this error will not go away.

Any thoughts would be much appreciated.

Regards,
Greenie
 
Old 07-24-2006, 01:20 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
First, do you have acpid running? It should read events like pressing power button and react on them. Also check presence of /proc/acpi/button , if there is no such dir, modprobe button . Your way does not let fs's to be cleanyly unmounted.

Proper permissions of .dmrc? I guess 600 .
 
Old 07-24-2006, 02:47 AM   #3
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Original Poster
Rep: Reputation: 37
Hi Raskin,

I checked if acpid is running by doing a 'ps x'

The following line would indicate that acpid is running, however not sure if correctly.

7509 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket


I checked for the prescence of /proc/acpi/button/power

I have two directories in there "PWRB" and "PWRB" both of those directories have an "info" file in them.


I dont think there is a problem with the permissions of .dmrc as I have tried every chmod value that would make sense, and the error still appears. (It never was a problem until I added the USB mouse).

So I think the error is a side effect of something else.
 
Old 07-24-2006, 03:47 AM   #4
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Original Poster
Rep: Reputation: 37
Hmmmm,

Putting the 'user' into the 'user' group then . . .

chmod 700 /home/user
chmod 644 .dmrc
chown user .dmrc

Seems to fix the error at logon (not sure how any of this got changed)



I thought the shutdown problem was fixed by adding:

'acpi' to the /etc/modules file

but alas, its till has shutdown problem.

I have read comments about including acpi=on but no comments about how to do that. Does anybody know what this means? more info?

Last edited by greengrocer; 07-24-2006 at 06:23 AM.
 
Old 07-24-2006, 07:15 PM   #5
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Original Poster
Rep: Reputation: 37
I had made an image of the Linux Partition prior to these problems, so I re-applied that image back to the Linux partition and rebooted this time with the PS/2 mouse connected.

I tested shut down a few times and had no problems.


I reconnected the USB mouse and the shutdown problems began again (the computer does not power off automatically). So I am 100% certain that using a USB mouse causes this type of shutdown/powerdown problem.

If I disconnect the USB mouse and revert back to the PS/2 mouse without reverting to my backed up image of the partition, the shutdown problem does not go away (ie: Connecting USB mouse causes indefinate power down problem).


The last message to appear on the screen during shutdown is as follows:

shutting down LVM volume Groups [OK]
[4294827.504000] Power Down

The system does not power down at this point.
 
Old 07-24-2006, 09:59 PM   #6
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Original Poster
Rep: Reputation: 37
Most Bizzarre,

Everytime I edit the /etc/modules file, the immediate following shutdown will work (power down works).

Then everytime after that, the power down fails at the end of shutdown.
 
Old 07-25-2006, 12:42 AM   #7
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Original Poster
Rep: Reputation: 37
I'll be buggered!

If I connect a PS/2 mouse in tandem with the USB mouse, the system powers down just fine, everytime.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GDM complain about my .dmrc file although there is no problem with this file. TruongAn Linux - Software 7 04-27-2006 06:18 AM
strange error from the .dmrc-file supersucker Linux - General 2 04-06-2006 09:03 PM
Shutdown problem Emx Slackware 8 01-25-2006 05:12 PM
shutdown problem mas00d Linux - Newbie 4 01-26-2005 01:04 AM
shutdown -h problem thrix Linux - General 9 02-07-2004 05:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration