Announcement

Collapse
No announcement yet.

No automatic boot to KDE

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

    No automatic boot to KDE

    No respnse to a post on the GG forum so I'll try here:
    Greetings, After running into problems with KDE4 I followed a post for removing it.I had to reinstall kubuntu desktop. Now on bootup I get kinit:trying to resume from /dev/disk/......( long string )
    Then kinit:no resume image, doing normal boot. I can then log in with user name and password and get a command line prompt. startx enter loads KDE 3.5. Also I don't get a shutdown button in KDE ,only logout ( back to non GUI command line) How can I go back to the automatic GUI. Thanks

    #2
    Re: No automatic boot to KDE

    Originally posted by fcookvt

    Then kinit:no resume image, doing normal boot.
    That is a normal message during the booting process -- it is telling you that the computer was not put into "hibernate" mode in the previous session, so it will boot "from scratch" as opposed to re-starting a hibernated session.

    I'm not 100% sure what it takes to restore a messed up GUI login. Basically, you want to start the K Display Manager, aka KDM, and you want it to present you the "greeter" which is the GUI login screen.

    So, your kernel boot line in the boot menu (i.e. the applicable line in /boot/grub/menu.lst) needs to contain the "splash" option.

    From the CLI, you can start KDM (the KDE 3 version) with the command
    Code:
    sudo /etc/init.d/kdm start
    I hope one of those factoids will lead you to restore your login. :P

    Comment


      #3
      Re: No automatic boot to KDE

      I had to reinstall kubuntu desktop
      You also have to install:
      kdm
      and
      adept:

      At prompt from booting in recovery mode:
      apt-get install kdm adept

      that should fix it
      HP Pavilion dv6 core i7 (Main)
      4 GB Ram
      Kubuntu 18.10

      Comment


        #4
        Re: No automatic boot to KDE

        Hi Thanks fro the posts. I used apt-get install kdm and adept and it reports I have latest versions installed. Here is my menu.list file.
        # menu.lst - See: grub(8), info grub, update-grub(8)
        # grub-install(8), grub-floppy(8),
        # grub-md5-crypt, /usr/share/doc/grub
        # and /usr/share/doc/grub-doc/.

        ## default num
        # Set the default entry to the entry number NUM. Numbering starts from 0, and
        # the entry number 0 is the default if the command is not used.
        #
        # You can specify 'saved' instead of a number. In this case, the default entry
        # is the entry saved with the command 'savedefault'.
        # WARNING: If you are using dmraid do not use 'savedefault' or your
        # array will desync and will not let you boot your system.
        default 0

        ## timeout sec
        # Set a timeout, in SEC seconds, before automatically booting the default entry
        # (normally the first entry defined).
        timeout 3

        ## hiddenmenu
        # Hides the menu by default (press ESC to see the menu)
        hiddenmenu

        # Pretty colours
        #color cyan/blue white/blue

        ## password ['--md5'] passwd
        # If used in the first section of a menu file, disable all interactive editing
        # control (menu entry editor and command-line) and entries protected by the
        # command 'lock'
        # e.g. password topsecret
        # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
        # password topsecret

        #
        # examples
        #
        # title Windows 95/98/NT/2000
        # root (hd0,0)
        # makeactive
        # chainloader +1
        #
        # title Linux
        # root (hd0,1)
        # kernel /vmlinuz root=/dev/hda2 ro
        #

        #
        # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

        ### BEGIN AUTOMAGIC KERNELS LIST
        ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
        ## by the debian update-grub script except for the default options below

        ## DO NOT UNCOMMENT THEM, Just edit them to your needs

        ## ## Start Default Options ##
        ## default kernel options
        ## default kernel options for automagic boot options
        ## If you want special options for specific kernels use kopt_x_y_z
        ## where x.y.z is kernel version. Minor versions can be omitted.
        ## e.g. kopt=root=/dev/hda1 ro
        ## kopt_2_6_8=root=/dev/hdc1 ro
        ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
        # kopt=root=UUID=2f02edb3-9ebe-423d-b7a9-c449d92474b0 ro

        ## Setup crashdump menu entries
        ## e.g. crashdump=1
        # crashdump=0

        ## default grub root device
        ## e.g. groot=(hd0,0)
        # groot=(hd0,0)

        ## should update-grub create alternative automagic boot options
        ## e.g. alternative=true
        ## alternative=false
        # alternative=true

        ## should update-grub lock alternative automagic boot options
        ## e.g. lockalternative=true
        ## lockalternative=false
        # lockalternative=false

        ## additional options to use with the default boot option, but not with the
        ## alternatives
        ## e.g. defoptions=vga=791 resume=/dev/hda5
        # defoptions=quiet splash locale=pl_PL

        ## should update-grub lock old automagic boot options
        ## e.g. lockold=false
        ## lockold=true
        # lockold=false

        ## Xen hypervisor options to use with the default Xen boot option
        # xenhopt=

        ## Xen Linux kernel options to use with the default Xen boot option
        # xenkopt=console=tty0

        ## altoption boot targets option
        ## multiple altoptions lines are allowed
        ## e.g. altoptions=(extra menu suffix) extra boot options
        ## altoptions=(recovery) single
        # altoptions=(recovery mode) single

        ## controls how many kernels should be put into the menu.lst
        ## only counts the first occurence of a kernel, not the
        ## alternative kernel options
        ## e.g. howmany=all
        ## howmany=7
        # howmany=all

        ## should update-grub create memtest86 boot option
        ## e.g. memtest86=true
        ## memtest86=false
        # memtest86=true

        ## should update-grub adjust the value of the default booted system
        ## can be true or false
        # updatedefaultentry=false

        ## should update-grub add savedefault to the default options
        ## can be true or false
        # savedefault=false

        ## ## End Default Options ##

        title Ubuntu 7.10, kernel 2.6.22-14-generic
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=2f02edb3-9ebe-423d-b7a9-c449d92474b0 ro quiet splash locale=pl_PL
        initrd /boot/initrd.img-2.6.22-14-generic
        quiet

        title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=2f02edb3-9ebe-423d-b7a9-c449d92474b0 ro single
        initrd /boot/initrd.img-2.6.22-14-generic

        title Ubuntu 7.10, memtest86+
        root (hd0,0)
        kernel /boot/memtest86+.bin
        quiet

        ### END DEBIAN AUTOMAGIC KERNELS LIST
        Where would you enable KDM and the "greeter" ?

        Comment


          #5
          Re: No automatic boot to KDE

          Your menu.lst file looks fine.

          Try booting "Recovery Mode", then at the prompt issue
          Code:
          /etc/init.d/kdm start
          This will run the X server. Log in, open Konqueror, set the "View" to "show hidden files", find the hidden file .kde in your /home/fcookvt directory, and rename it to .kde_bak14apr08.

          Then do a normal shutdown restart from your desktop.

          If this works, you'll be greeted by your normal login greeter.

          The bad news is, your desktop settings will all be lost in the renamed file -- it will be like a new installation of KDE 3.5. Depending on your level of interest, you might be able to look at the contents of the backed up .kde file and see how to reset the settings in the new .kde file that is created when you first log in. But be careful!

          Comment


            #6
            Re: No automatic boot to KDE

            Tried etc/init.d/kdm start in recovery mode. I get "not starting K display manager;it is not the default"
            How is this configured? thanks

            Comment


              #7
              Re: No automatic boot to KDE

              Interesting. But pretty screwed up.

              I'm going to take a guess that the KDE 4 display manager, kdm-kde4, remains installed and the system default. You can try, from the recovery mode prompt,
              Code:
              apt-get remove kdm-kde4
              to remove it.

              Then you can do
              Code:
              apt-get --reinstall install kdm
              to make sure you have the KDE3 KDM.

              Then try
              Code:
              /etc/init.d/kdm start
              again.

              But this is not an encouraging situation -- no guarantees. :P

              Comment


                #8
                Re: No automatic boot to KDE

                Have you tried this?:
                Code:
                sudo dpkg-reconfigure kdm
                see if it is there?
                HP Pavilion dv6 core i7 (Main)
                4 GB Ram
                Kubuntu 18.10

                Comment


                  #9
                  Re: No automatic boot to KDE

                  Hey, I like your theory, Fintan!

                  (crossing my fingers ....)

                  Comment


                    #10
                    Re: No automatic boot to KDE

                    thanks again for your help.
                    dpkg reconfigure.....nothing seems to happen, it goes back to the prompt.
                    apt-get remove.......kdm-kde4 not present so i did a reinstall of kdm and rebooted , still goes to command line, log in and startx bring me to the kde3.5 desktop.

                    I also tried the etc/init.d/kdm start from the regular(non recovery) command line and get cannot create /var/run/kdm/xacess



                    Comment


                      #11
                      Re: No automatic boot to KDE

                      Continued to hunt around, someone had the same problem with HH and the default display manager. kde 4 leaves a line in etc/x11/default-display-manager which was referencing kde4. i changed the line to /usr/bin/kdm and on reboot I have my normal log in back .
                      see http://kubuntuforums.net/forums/inde...opic=3091025.0

                      Comment


                        #12
                        Re: No automatic boot to KDE

                        i changed the line to /usr/bin/kdm and on reboot I have my normal log in back .
                        That was the next thing I was going to suggest
                        HP Pavilion dv6 core i7 (Main)
                        4 GB Ram
                        Kubuntu 18.10

                        Comment

                        Working...
                        X