Announcement

Collapse
No announcement yet.

After updates KDM login screen wont accept input. (SOLVED)

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

    After updates KDM login screen wont accept input. (SOLVED)

    Hi

    I just ran the package updater and i believe one of the things it updated was xorg. It also removed the xorg synaptics driver, another driver I forgot, and the dummy package for all Xorg drivers.

    I went through with it because my system is a desktop and I thought i wouldn't need the synaptics or other driver and the dummy package said it would probably be safe.

    After a reboot the system loads properly but the kdm login window wont accept any input from the keyboard or mouse. I can log into the console on tty1 ok and i tried to find some X config programs. I ran "dpkg-reconfigure xserver-xorg" and restarted kdm and even rebooted but it didn't work.

    Any ideas? I'm more used to running server Linux so I'm a bit lost with GUI issues.

    #2
    Re: After updates KDM login screen wont accept input.

    Did it make a backup of /etc/X11/xorg.conf? You can tell by the date of the last backup file -- it it is dated today, then that's it. You can take a look and see if it is different than the current xorg.conf -- if so, you might want to rename the backup to "xorg.conf", and restart X.

    I just checked mine -- the backup is dated 4 OCT, so mine didn't get changed today.

    Comment


      #3
      Re: After updates KDM login screen wont accept input.

      Hi - Can you explain how I would do this please seeing as all I can use is recovery mode?

      Comment


        #4
        Re: After updates KDM login screen wont accept input.

        I'm going to have a little look now. Ill post back after more investigation.

        If i find out how to do it i'll post a guide.

        Comment


          #5
          Re: After updates KDM login screen wont accept input.

          To check when running in text mode (after you log in):

          Code:
          cd /etc/X11
          Code:
          ls -l
          This will list all files and directories under the directory /etc/X11. You should see something like this:
          dibl@ibex:~$ cd /etc/X11
          dibl@ibex:/etc/X11$ ls -l
          total 60
          drwxr-xr-x 2 root root 4096 2008-10-04 00:37 app-defaults
          drwxr-xr-x 2 root root 40 2008-10-04 00:35 cursors
          -rw-r--r-- 1 root root 13 2008-10-04 00:39 default-display-manager
          drwxr-xr-x 6 root root 32 2008-10-04 00:31 fonts
          lrwxrwxrwx 1 root root 13 2008-10-04 18:00 X -> /usr/bin/Xorg
          drwxr-xr-x 3 root root 24 2008-10-04 00:35 xinit
          drwxr-xr-x 2 root root 8 2008-10-04 00:21 xkb
          -rw-r--r-- 1 root root 1922 2008-10-07 19:09 xorg.conf
          -rw-r--r-- 1 root root 1888 2008-10-04 23:05 xorg.conf~
          -rw-r--r-- 1 root root 1922 2008-10-07 19:09 xorg.conf.backup
          -rw-r--r-- 1 root root 894 2008-10-09 19:16 xorg.conf.failsafe
          -rw-r--r-- 1 root root 1037 2008-10-04 22:24 xorg.conf.vesa
          drwxr-xr-x 2 root root 16 2008-10-08 18:44 Xresources
          -rwxr-xr-x 1 root root 3730 2008-09-30 13:01 Xsession
          drwxr-xr-x 2 root root 4096 2008-10-08 18:44 Xsession.d
          -rw-r--r-- 1 root root 265 2008-09-08 06:44 Xsession.options
          -rw-r--r-- 1 root root 13 2007-07-24 06:02 XvMCConfig
          -rw------- 1 root root 614 2008-10-04 00:24 Xwrapper.config
          I highlighted the date of my backup files. Upon doing this the second time, I see I DO have a backup dated 7 OCT. But that could not have been created by last night's updates. But your system could be different, depending on the driver that you're using.

          Comment


            #6
            Re: After updates KDM login screen wont accept input.

            Yes I have a list of them, although in a different format:

            I have the xorg.conf file
            Then the following all preceded by xorg.conf.:

            20081008111125
            20081010150810
            20081010151517
            20081010153355
            xorg.conf~

            The figures are clearly dates and times. The first one precedes this issue by about 4 hours. The others were created either at the time of the problem or due to my failed attempts to recover. So I think I've got one shot at this. Please can you tell me how in text mode I will be able to rename 20081008111125 to xorg.conf?

            Comment


              #7
              Re: After updates KDM login screen wont accept input.

              I have no backup files. But my Xorg config itself looks pretty sparse...

              Code:
              # xorg.conf (X.Org X Window System server configuration file)
              #
              # This file was generated by dexconf, the Debian X Configuration tool, using
              # values from the debconf database.
              #
              # Edit this file with caution, and see the xorg.conf manual page.
              # (Type "man xorg.conf" at the shell prompt.)
              #
              # This file is automatically updated on xserver-xorg package upgrades *only*
              # if it has not been modified since the last upgrade of the xserver-xorg
              # package.
              #
              # Note that some configuration settings that could be done previously
              # in this file, now are automatically configured by the server and settings
              # here are ignored.
              #
              # If you have edited this file but would like it to be automatically updated
              # again, run the following command:
              #  sudo dpkg-reconfigure -phigh xserver-xorg
              
              Section "Device"
              	Identifier	"Configured Video Device"
              EndSection
              
              Section "Monitor"
              	Identifier	"Configured Monitor"
              EndSection
              
              Section "Screen"
              	Identifier	"Default Screen"
              	Monitor		"Configured Monitor"
              	Device		"Configured Video Device"
              EndSection
              @ liquidator

              to rename from the command prompt and see if it works type
              Code:
              cd /etc/X11
              sudo mv xorg.conf.20081008111125 xorg.conf
              sudo /etc/init.d/kdm restart

              Comment


                #8
                Re: After updates KDM login screen wont accept input.

                More system info:

                I have an ATI Radeon X800XL  (wasnt running fglrx though)
                I have a USB mouse (razer diamondback) and a PS/2 105 keyboard (UK)
                I'm running the AMD64 version of kubuntu

                cheers

                Comment


                  #9
                  Re: After updates KDM login screen wont accept input.

                  Originally posted by jackslash
                  @ liquidator

                  to rename from the command prompt and see if it works type
                  Code:
                  cd /etc/X11
                  sudo mv xorg.conf.20081008111125 xorg.conf
                  sudo /etc/init.d/kdm restart
                  I don't want to seem pedantic, but I'd never move a file over an existing file. First I'd make a copy of the existing file (in this case xorg.conf) followed by a copy command, so that I keep the one that is being moved as well (in this case xorg.conf.20081008111125).
                  Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                  Comment


                    #10
                    Re: After updates KDM login screen wont accept input.

                    Originally posted by toad
                    Originally posted by jackslash
                    @ liquidator

                    to rename from the command prompt and see if it works type
                    Code:
                    cd /etc/X11
                    sudo mv xorg.conf.20081008111125 xorg.conf
                    sudo /etc/init.d/kdm restart
                    I don't want to seem pedantic, but I'd never move a file over an existing file. First I'd make a copy of the existing file (in this case xorg.conf) followed by a copy command, so that I keep the one that is being moved as well (in this case xorg.conf.20081008111125).
                    Yes, you're right. The instructions should be

                    Code:
                    cd /etc/X11
                    sudo mv xorg.conf xorg.conf.broken
                    sudo mv xorg.conf.20081008111125 xorg.conf
                    sudo /etc/init.d/kdm restart
                    Sorry.

                    Comment


                      #11
                      Re: After updates KDM login screen wont accept input.

                      Don't suppose it matters really Toad as it didn't work anyway! I suspect it's the removal of the synaptics package which I hadn't noticed.

                      Given that I don't seem to be able, in recovery mode, to access the repositories it seems like my only option now is to reinstall (and not update until this is fixed?)

                      Comment


                        #12
                        Re: After updates KDM login screen wont accept input.

                        I checked /var/log/apt/ for logs but there was nothing for my most recent update. Are there any other logs from which i can undo the updates?

                        Comment


                          #13
                          Re: After updates KDM login screen wont accept input.

                          I'm sure there's a way to "un-update", but I don't know it - and I doubt it's a one-button deal, either. :P

                          Given that you took some risk when you installed 8.10, (same as me), the best approach is just to philosophically accept that there will be times that things are not going well, and then usually either a later fix, or some self-help and forum-help will get you working again.

                          So, bearing in mind the wisdom of saving your existing xorg.conf file as xorg.conf.dammit, or whatever, did you rename the one that you think was working to xorg.conf?

                          One thing to remember is that there is quite a massive revision to the xserver in progress, and the xorg.conf file is becoming less used/useful in determining your display characteristics. Prolly that's both good and bad. :P

                          Comment


                            #14
                            Re: After updates KDM login screen wont accept input.

                            well given that the xorg.conf file i have hasnt got any backups and looks pretty spares i guess my next question is where are the keyboard and mouse preferences defined for xorg/kdm these days?

                            Comment


                              #15
                              Re: After updates KDM login screen wont accept input.

                              I think they are supposed to be detected during installation, and NOT changed by updates. But I'm not sure how we're supposed to re-install them if the updates knock them off the system.

                              Does "dpkg-reconfigure xserver-xorg" give you any keyboard or mouse options, still?

                              Comment

                              Working...
                              X