Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

error stopping gdm

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
blaksaga
Guru
Guru
User avatar
Posts: 461
Joined: Mon May 19, 2003 9:00 pm
Location: Omaha, NE, USA
Contact:
Contact blaksaga
Website

error stopping gdm

  • Quote

Post by blaksaga » Fri Oct 24, 2003 4:27 am

When I logout->shutdown in gnome it kicks me out to the gnome graphical login. From there I have to hit system->shutdown and then it still gives and "error stopping gdm" message. Its nothing major just an annoyance...anybody know what's wrong???
Top
Mactabilis
n00b
n00b
Posts: 37
Joined: Sun Oct 19, 2003 7:19 am
Location: Auckland, New Zealand
Contact:
Contact Mactabilis
Website

Re: error stopping gdm

  • Quote

Post by Mactabilis » Fri Oct 24, 2003 5:28 am

blaksaga wrote:When I logout->shutdown in gnome it kicks me out to the gnome graphical login. From there I have to hit system->shutdown and then it still gives and "error stopping gdm" message. Its nothing major just an annoyance...anybody know what's wrong???
I also get the same error message. I am pretty sure its because gdm has already closed when the init script goes to stop it. You could test this by going to a virtual console (ctrl+alt+f1 etc..) logging in then shutting down the computer manually.

Edit:
Without doing any testing I would say changing line 101 in /etc/init.d/xdm

(from the stop method)

Code: Select all

 94          if [ "$(ps -A | grep -e "${myservice}")" ]
    95          then
    96                  start-stop-daemon --stop --quiet \
    97                          --exe ${myexe} &>/dev/null
    98
    99                  retval=$?
   100          else
   101                  retval=1
   102          fi
to

Code: Select all

   101                  retval=0
should fix the problem
Top
krissly1
Tux's lil' helper
Tux's lil' helper
Posts: 83
Joined: Fri Dec 26, 2003 5:02 pm

  • Quote

Post by krissly1 » Sun Jan 25, 2004 5:17 am

I have 2 questions for this post. Did the change in line 101 work? I use nano to do my editing. How do you get the line number to display as in your example? Thanks
AMD 64 3000+
Asus A8NE-FM Motherboard
2Gig PC2700 DDR 333MHz SDRAM
ATI X700 Pro PCI Express Video card
Plextor 716A DVD/CD Writer
Logitech Z-640 5.1 Surround Speakers
Logitech Cordless Elite Duo Keyboard & Mouse
Epson Stylus Photo R200 Printer
Top
AmosMutke
Apprentice
Apprentice
User avatar
Posts: 235
Joined: Wed Dec 24, 2003 2:09 am
Location: Akita, Japan.

  • Quote

Post by AmosMutke » Tue Jan 27, 2004 12:03 am

krissly1 wrote:I have 2 questions for this post. Did the change in line 101 work? I use nano to do my editing. How do you get the line number to display as in your example? Thanks

Ctrl-C will display the current line number...

even easier yet, if you want to open a file with nano and go directly to a particular line then try this

Code: Select all

nano -n 101 myfile.txt
that will open up myfile.txt and start you on line 101
Top
krissly1
Tux's lil' helper
Tux's lil' helper
Posts: 83
Joined: Fri Dec 26, 2003 5:02 pm

  • Quote

Post by krissly1 » Tue Jan 27, 2004 4:57 am

Thanks, the change in line 101 got rid of the "error stopping gdm" and thanks for the tip on editing particular lines.
AMD 64 3000+
Asus A8NE-FM Motherboard
2Gig PC2700 DDR 333MHz SDRAM
ATI X700 Pro PCI Express Video card
Plextor 716A DVD/CD Writer
Logitech Z-640 5.1 Surround Speakers
Logitech Cordless Elite Duo Keyboard & Mouse
Epson Stylus Photo R200 Printer
Top
StinkingMonkey
Apprentice
Apprentice
User avatar
Posts: 183
Joined: Sat May 24, 2003 7:56 am
Location: UK
Contact:
Contact StinkingMonkey
Website

  • Quote

Post by StinkingMonkey » Tue Jan 27, 2004 6:07 am

Ah great, thanks for that, been annoying me for ages.
Intel Q6600, Asus P5N32-E SLI, Audigy2 ZS, Gainward 7950
Top
AmosMutke
Apprentice
Apprentice
User avatar
Posts: 235
Joined: Wed Dec 24, 2003 2:09 am
Location: Akita, Japan.

  • Quote

Post by AmosMutke » Tue Jan 27, 2004 6:14 am

I was having the same gdm issue, but I rarely have to shutdown gdm so I just ignored it.. thx for the fix.

:wink:
Top
eug2k
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 141
Joined: Tue Feb 10, 2004 4:42 am

  • Quote

Post by eug2k » Tue Mar 09, 2004 10:18 pm

AmosMutke wrote:
krissly1 wrote:I have 2 questions for this post. Did the change in line 101 work? I use nano to do my editing. How do you get the line number to display as in your example? Thanks

Ctrl-C will display the current line number...

even easier yet, if you want to open a file with nano and go directly to a particular line then try this

Code: Select all

nano -n 101 myfile.txt
that will open up myfile.txt and start you on line 101
nano -n doesn't work for me, if I do nano --help I don't even see that switch in the list
I wish I had a pet penguin
way better than a pet window
Top
lamekain
Guru
Guru
User avatar
Posts: 331
Joined: Tue Nov 25, 2003 7:58 am
Location: Helsinki, Finland
Contact:
Contact lamekain
Website

  • Quote

Post by lamekain » Sat Apr 03, 2004 11:50 am

Code:

Code: Select all

101                  retval=0
won't that just stop all the return values? in other words, the problem is still there; the error-message just isn't printed :?

Shouldn't there be a clever way to stop the shutdown from trying to kill gdm (as it is not running):?:
"Only when the last tree has died, the last river been poisoned,
and the last fish been caught, will we realize we cannot eat money"

-Global Terrorism.org
Top
kallamej
Administrator
Administrator
User avatar
Posts: 4993
Joined: Fri Jun 27, 2003 10:05 am
Location: Gothenburg, Sweden

  • Quote

Post by kallamej » Mon Feb 21, 2005 10:06 am

Moved from Desktop Environments in favour of http://forums.gentoo.org/viewtopic.php?t=25772
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Top
Post Reply

10 posts • Page 1 of 1

Return to “Duplicate Threads”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic