Announcement

Collapse
No announcement yet.

Shutdown problem-black screen-solutions

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Shutdown problem-black screen-solutions

    Hello Kubuntu users,

    The problem I will describe here is a problem experienced by many users (including myself). It is going on for quite a long time now and all the solutions found so far did not work for me. In this post I gather all the solutions and I propose one of my own which worked for me in hope of helping anyone interested.

    The problem occurs when trying to shutdown/restart from the LogOut menu. The screen then just goes black or shows some small colored squares before the usplash appears and the computer hangs there. It does not respond to anything at all except for pressing the shutdown button for 5-6 seconds (hard reboot).

    There are three solutions proposed so far (none of them worked for me):

    1. First proposed solution:
    edit the /etc/kde3/kdm/kdmrc file and add or uncomment the following line in the [X-:*-Core] section (note the *):

    TerminateServer=true

    2. Second proposed solution:
    Instead of shutting down, first logout and then shutdown/restart from the KDM menu.


    3. Third proposed solution:
    Remove the usplash by editing the /boot/grub/menu.lst and removing the splash option. Usually the kernel line is something like
    ... ro quiet splash
    Just remove the splash so that it looks like this
    ....ro quiet


    My proposed solution is to get rid of the KDM and use GDM instead. So what I suggest is:

    install GDM and themes:
    sudo apt-get install gdm gdm-themes

    Once it finishes the installation it will ask you to select between KDM and GDM. You must select GDM. This workaround works flawlessly for me, I hope it will for you.
    Kubuntu 12.04 64-bit

    #2
    Re: Shutdown problem-black screen-solutions

    Nice to know you found another approach for the problem.
    BTW, does it install too many Gnome packages because of GDM?

    Comment


      #3
      Re: Shutdown problem-black screen-solutions

      Well, I do not remember that. However , the GDM package depends on about 30 packages most of which are already installed for the KDE. So, I would say that it does not install too many Gnome packages.
      Kubuntu 12.04 64-bit

      Comment


        #4
        Re: Shutdown problem-black screen-solutions

        Originally posted by tekkenlord
        My proposed solution is to get rid of the KDM and use GDM instead. So what I suggest is:

        install GDM and themes:
        sudo apt-get install gdm gdm-themes

        Once it finishes the installation it will ask you to select between KDM and GDM. You must select GDM. This workaround works flawlessly for me, I hope it will for you.
        I tried this suggestion but it did not work.
        So I wanted to go back to KDM.
        I think I goofed up here. I went to the "System Setting" from K-Menu and in "System Services" I tried starting KDM again. But gave me an error saying it is not the default manager. So I clicked on GDM and clicked on Stop button.
        At this point the system went down. Now I am able to boot the computer only in Recovery Mode. Can anyone suggest how to start KDM from this point?
        Triple booting Kubuntu Intrepid with XP and Ubuntu Hardy <br />Intel Pentium DualCore 2 Ghz, 1 GB RAM Intel 945GM MoBo

        Comment


          #5
          Re: Shutdown problem-black screen-solutions

          That's strange... Anyway, in recovery mode try

          sudo dpkg-reconfigure gdm

          and it will allow you to select between kdm and gdm again.

          Let me know how it goes.

          Kubuntu 12.04 64-bit

          Comment


            #6
            Re: Shutdown problem-black screen-solutions

            I’ll try to slip this here (sorry to interrupt) --
            Some feedback on Method #1, fwiw, fyi:

            Quote OP:
            “There are three solutions proposed so far (none of them worked for me):
            1. First proposed solution:
            edit the /etc/kde3/kdm/kdmrc file and add or uncomment the following line in the [X-:*-Core] section (note the *):
            TerminateServer=true “

            It worked for me.
            I have a fresh download/install of 7.04, CD checked out OK (No Defects and MD5SUMS ok), downloaded all 199 MB of updates, etc., but no shutdown or restart from the K-Menu would work.

            The above solution fixed it.

            Hardware (very standard):
            Intel mobo D915GAVL, Intel CPU 530J 3 GHz, Seagate HDDs, Antec P/S, Sony DVD writer, embedded video (no video cards), NEC Accusync 750F CRT
            An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

            Comment


              #7
              Re: Shutdown problem-black screen-solutions

              Originally posted by tekkenlord
              That's strange... Anyway, in recovery mode try

              sudo dpkg-reconfigure gdm

              and it will allow you to select between kdm and gdm again.

              Let me know how it goes.

              Tried this. It did ask me to select between the two. I selected GDM. However, it returned an error message saying
              invoke-rc.d: initscript gdm, action "reload" failed
              I also tried to reconfigure xserver-xorg (dpkg-reconfigure xxerver-xorg) and selected all the settings as required. However when I gave the command "startx" it returned messages saying screen not found.
              very puzzled
              will i need to reinstall Kubuntu?
              Triple booting Kubuntu Intrepid with XP and Ubuntu Hardy <br />Intel Pentium DualCore 2 Ghz, 1 GB RAM Intel 945GM MoBo

              Comment


                #8
                Re: Shutdown problem-black screen-solutions

                I am puzzled too. I guess you can still enter in recovery mode. So make sure that GDM has indeed stopped by

                sudo /etc/init.d/gdm stop

                then remove GDM

                sudo apt-get remove --purge gdm gdm-themes
                sudo apt-get autoremove --purge

                and then start KDM by

                sudo /etc/init.d/kdm start.

                If I remember correctly you do not need to do "startx" after the last command.

                Let me know how it goes.
                Kubuntu 12.04 64-bit

                Comment


                  #9
                  Re: Shutdown problem-black screen-solutions

                  Originally posted by tekkenlord
                  I am puzzled too. I guess you can still enter in recovery mode. So make sure that GDM has indeed stopped by

                  sudo /etc/init.d/gdm stop

                  then remove GDM

                  sudo apt-get remove --purge gdm gdm-themes
                  sudo apt-get autoremove --purge

                  and then start KDM by

                  sudo /etc/init.d/kdm start.

                  If I remember correctly you do not need to do "startx" after the last command.

                  Let me know how it goes.
                  Did as suggested. at last stage, it showed

                  Starting KDM... [OK]
                  After this, text prompt appeared and nothing else seemed to happen. So I rebooted (in normal mode this time)
                  After grub selection, only blank screen appeared. I tried Ctrl.+Alt+F2. It showed up the login prompt (in text mode only). I logged in and again tried the last command you suggested (sudo /etc/init.d/kdm start)
                  It returned the following
                  Starting K Display Manager: KDM already running
                  However no login splash screen or gui
                  Any way ahead?
                  Triple booting Kubuntu Intrepid with XP and Ubuntu Hardy <br />Intel Pentium DualCore 2 Ghz, 1 GB RAM Intel 945GM MoBo

                  Comment


                    #10
                    Re: Shutdown problem-black screen-solutions

                    Apparently, the display manager is working fine (KDM) but there is nothing to display. This means you probably messed up something you shouldn't have when you dpkg-reconfigured the xserver-xorg. You probably have a backup of the xorg.conf configuration before you reconfigured (probably something like xorg.conf~ or xorg.conf.20070819). So I suggest to use the backup.

                    cd /etc/X11/
                    mv xorg.conf xorg.conf.backup (save your current configuration)
                    mv xorg.conf~ xorg.conf

                    where xorg.conf~ is the backup you want to restore. I will wait for news.



                    Kubuntu 12.04 64-bit

                    Comment


                      #11
                      Re: Shutdown problem-black screen-solutions

                      how do i know which backup to use?
                      when I had done this 'reconfigure xserver' thing it gave me a file name as "/etc/X11/xorg.conf.20070819221053" as backup
                      shall i use the same?
                      Triple booting Kubuntu Intrepid with XP and Ubuntu Hardy <br />Intel Pentium DualCore 2 Ghz, 1 GB RAM Intel 945GM MoBo

                      Comment


                        #12
                        Re: Shutdown problem-black screen-solutions

                        perfect, it seems like you found your backup. So do the following:

                        cd /etc/X11
                        mv xorg.conf xorg.conf.backup
                        mv xorg.conf.20070819221053 xorg.conf

                        and then restart.

                        Kubuntu 12.04 64-bit

                        Comment


                          #13
                          Re: Shutdown problem-black screen-solutions

                          thank you my friend... everthing up and running as yesterday

                          by the way, can you suggest a good tutorial for shell commands
                          Triple booting Kubuntu Intrepid with XP and Ubuntu Hardy <br />Intel Pentium DualCore 2 Ghz, 1 GB RAM Intel 945GM MoBo

                          Comment


                            #14
                            Re: Shutdown problem-black screen-solutions

                            You are very welcome! Hmm... I really do not know of any good tutorial. However you can learn most of the things from the manual pages (e.g. man mv (from a terminal) or man:/mv (from konqueror)) and scattered searches on the internet.
                            Kubuntu 12.04 64-bit

                            Comment


                              #15
                              Re: Shutdown problem-black screen-solutions

                              Originally posted by mistrynitesh
                              by the way, can you suggest a good tutorial for shell commands
                              A good reference to have on had is Learning the bash Shell, Third Edition published by O'Reilly books.
                              Windows no longer obstructs my view.
                              Using Kubuntu Linux since March 23, 2007.
                              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                              Comment

                              Working...
                              X