Announcement

Collapse
No announcement yet.

Replace KDM over lightdm

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

    Replace KDM over lightdm

    Whats the best way to completely remove and replace lightdm with KDM.

    I use XDMCP extensively and I also prefer KDM.

    apt-get purge lightdm-kde
    apt-get install kdm



    Seems dangerous and risky for a key component of logging into the system that these managers serve.

    Thanks.

    #2
    Should be fine. What's the worst that can happen?

    If LightDM/KDM fails, you can still log in to the CLI and fix it, right?
    --
    Intocabile

    Comment


      #3
      No need to remove it. Just install KDM and make it the default WM.

      apt-get install kdm
      dpkg-reconfigure kdm

      and chose kdm as the WM

      Comment


        #4
        kubuntu-desktop has a hard dependency on lightdm-kde-greeter, which in turn depends on lightdm, so even though you can install KDM and configure it to be the default display manager (which I always do), you can't remove LightDM without removing the Kubuntu Desktop metapackage.

        Comment


          #5
          Hello, sorry to bump. When I attempt to install kdm I get the following error and am at a complete loss. Any help would be appreciated.

          Code:
          ~$ sudo apt-get -f install kdm
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          Some packages could not be installed. This may mean that you have
          requested an impossible situation or if you are using the unstable
          distribution that some required packages have not yet been created
          or been moved out of Incoming.
          The following information may help to resolve the situation:
          
          The following packages have unmet dependencies:
           kdm : Depends: libkworkspace4abi2 (= 4:4.9.3-0ubuntu0.1~ppa2) but 4:4.9.3-0ubuntu1~ubuntu12.04.1~ppa3 is to be installed
                 Depends: kde-workspace-kgreet-plugins (= 4:4.9.3-0ubuntu0.1~ppa2) but 4:4.9.3-0ubuntu1~ubuntu12.04.1~ppa3 is to be installed
          E: Unable to correct problems, you have held broken packages.

          Comment


            #6
            what repo you using? o_O
            Code:
            apt-cache show kdm
            Package: kdm
            Priority: optional
            Section: universe/kde
            Installed-Size: 2691
            Maintainer: Kubuntu Developers <kubuntu-devel@lists.ubuntu.com>
            Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
            Architecture: i386
            Source: kde-workspace
            Version: 4:4.9.2-0ubuntu2.1
            Replaces: kde-kdm-themes, kdmtheme
            Provides: x-display-manager
            Depends: kde-runtime, libc6 (>= 2.15), libck-connector0 (>= 0.2.1), libdbus-1-3 (>= 1.0.2), libkdecore5 (>= 4:4.9.2), libkdeui5 (>= 4:4.9.2), libkio5 (>= 4:4.9.2), libknewstuff3-4 (>= 4:4.9.2), libkworkspace4abi2 (= 4:4.9.2-0ubuntu2.1), libpam0g (>= 0.99.7.1), libqimageblitz4 (>= 1:0.0.4), libqt4-svg (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.8.0), libstdc++6 (>= 4.1.1), libx11-6, libxau6, libxdmcp6, libxtst6, debconf (>= 0.5) | debconf-2.0, lsb-base (>= 3.2-14), consolekit, upstart-job, kde-workspace-kgreet-plugins (= 4:4.9.2-0ubuntu2.1), adduser, kde-wallpapers-default
            Recommends: logrotate, xserver-xorg | xserver, kde-workspace | x-session-manager | x-window-manager, xterm | x-terminal-emulator
            Suggests: kdepasswd, kde-wallpapers
            Breaks: kde-kdm-themes, kdmtheme
            Filename: pool/universe/k/kde-workspace/kdm_4.9.2-0ubuntu2.1_i386.deb
            Size: 929912
            MD5sum: 2280ef66b94151a4e3c972c43df14620
            SHA1: 3d5f3e33dce65d174b0beb9599d00c6ea76e2c1c
            SHA256: 05c3e267119ab13d1171c6175cff65c3d47d11b6fac8190742038ef2caf01f4d
            Description-en: KDE Display Manager for X11
             KDM manages a collection of X servers running on local or remote machines.
             It allows users to easily log into their preferred desktop environment, connect
             to a remote XDMCP server, or shut down the system.
             .
             KDM supports custom themes and can display a list of users with icons.
             Additional user icons can be found in the 'kdepasswd' package.
             .
             This package is part of the KDE base workspace module.
            Homepage: http://www.kde.org/
            Description-md5: 162cb026b8b58a10982e2958a61a9dab
            Bugs: https://bugs.launchpad.net/ubuntu/+filebug
            Origin: Ubuntu

            Comment


              #7
              he is running 12.04, and using the kubuntu-backports repo. All good on that factor

              You should just have to apt-get update, followed by a dist-upgrade first, then install kdm. However, isn't KDM the default in 12.04 anyway? If you have installed lightdm, and have not removed kdm, you can reconfigure Kubuntu to use whichever login manager you want, if it is installed.

              Code:
              sudo dpkg-reconfigure kdm

              Comment


                #8
                Sorry, I'm running 12.10, and doing the updates did not work. Is kdm just not supported on 12.10 at all anymore? I have seen some posts about people being able to install it.

                Comment


                  #9
                  try
                  sudo apt-get install kdm=4:4.9.2-0ubuntu2.1

                  Comment


                    #10
                    I get the same error as before. /:

                    Comment


                      #11
                      dpkg -l kdm ?

                      Comment


                        #12
                        Code:
                        ~$ dpkg -l kdm
                        Desired=Unknown/Install/Remove/Purge/Hold
                        | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
                        |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
                        ||/ Name           Version      Architecture Description
                        +++-==============-============-============-==================================
                        rc  kdm            4:4.9.3-0ubu amd64        KDE Display Manager for X11

                        Comment


                          #13
                          what is your apt-cache show kdm ?

                          Comment


                            #14
                            Code:
                            ~$ apt-cache show kdm
                            Package: kdm
                            Status: deinstall ok config-files
                            Priority: optional
                            Section: x11
                            Installed-Size: 2802
                            Maintainer: Kubuntu Developers <kubuntu-devel@lists.ubuntu.com>
                            Architecture: amd64
                            Source: kde-workspace
                            Version: 4:4.9.3-0ubuntu1~ubuntu12.04.1~ppa3
                            Config-Version: 4:4.9.3-0ubuntu1~ubuntu12.04.1~ppa3
                            Replaces: kde-kdm-themes, kdmtheme
                            Provides: x-display-manager
                            Depends: kde-runtime, libc6 (>= 2.15), libck-connector0 (>= 0.2.1), libdbus-1-3 (>= 1.0.2), libkdecore5 (>= 4:4.9.3), libkdeui5 (>= 4:4.9.3), libkio5 (>= 4:4.9.3), libknewstuff3-4 (>= 4:4.9.3), libkworkspace4abi2 (= 4:4.9.3-0ubuntu1~ubuntu12.04.1~ppa3), libpam0g (>= 0.99.7.1), libqimageblitz4 (>= 1:0.0.4), libqt4-svg (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.8.0), libstdc++6 (>= 4.1.1), libx11-6, libxau6, libxdmcp6, libxtst6, debconf (>= 0.5) | debconf-2.0, lsb-base (>= 3.2-14), consolekit, upstart-job, kde-workspace-kgreet-plugins (= 4:4.9.3-0ubuntu1~ubuntu12.04.1~ppa3), adduser, kde-wallpapers-default
                            Recommends: logrotate, xserver-xorg | xserver, kde-workspace | x-session-manager | x-window-manager, xterm | x-terminal-emulator
                            Suggests: kdepasswd, kde-wallpapers
                            Breaks: kde-kdm-themes, kdmtheme
                            Conffiles:
                             /etc/pam.d/kdm f8e043e7de6dd93d537ffe72a2fbae75
                             /etc/pam.d/kdm-np 527a9b02acd0858ea7e061e29e3f127c
                             /etc/kde4/kdm/kdm.options a1c3b5cec366daed61487fbd760be5a2
                             /etc/kde4/kdm/Xsetup 9faeb5bdf71e8338f03f0a3df2a01f87
                             /etc/kde4/kdm/Xwilling ab97870cde0424d576375813874a304e
                             /etc/kde4/kdm/Xstartup 0821820c79fabf5009939626144a03ef
                             /etc/kde4/kdm/README e22153008a45ad278940020fc4594e70
                             /etc/kde4/kdm/kdmrc fe8c6ff6b943ca88c876352bc6a793a3
                             /etc/kde4/kdm/Xsession 9ae86149a17f326a256e338bd352e11d
                             /etc/kde4/kdm/Xreset 514c4b4a0f42640916fac03574f843d9
                             /etc/kde4/kdm/Xaccess 03b7b6cd8eacc152567b7f4a3ae9f537
                             /etc/kde4/kdm/backgroundrc 2ae4df1d13f2a8eae3ee2a965277205f
                             /etc/init/kdm.conf 53071169f74deaef06f64365996265f0
                             /etc/logrotate.d/kdm a07bff9d80d56119f8db95696445f86a
                             /etc/dbus-1/system.d/org.kde.kcontrol.kcmkdm.conf f3a5c84af8ce5582747f760c20308e45
                             /etc/insserv.conf.d/kdm d3a7ab4b48c90e2a0b609fcfa3b8b064
                            Description-en: KDE Display Manager for X11
                             KDM manages a collection of X servers running on local or remote machines.
                             It allows users to easily log into their preferred desktop environment, connect
                             to a remote XDMCP server, or shut down the system.
                             .
                             KDM supports custom themes and can display a list of users with icons.
                             Additional user icons can be found in the 'kdepasswd' package.
                             .
                             This package is part of the KDE base workspace module.
                            Homepage: http://www.kde.org/
                            Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
                            
                            Package: kdm
                            Source: kde-workspace
                            Priority: optional
                            Section: x11
                            Installed-Size: 2754
                            Maintainer: Kubuntu Developers <kubuntu-devel@lists.ubuntu.com>
                            Architecture: amd64
                            Version: 4:4.9.3-0ubuntu0.1~ppa2
                            Recommends: logrotate, xserver-xorg | xserver, kde-workspace | x-session-manager | x-window-manager, xterm | x-terminal-emulator
                            Replaces: kde-kdm-themes, kdmtheme
                            Suggests: kdepasswd, kde-wallpapers
                            Provides: x-display-manager
                            Depends: kde-runtime, libc6 (>= 2.15), libck-connector0 (>= 0.2.1), libdbus-1-3 (>= 1.0.2), libkdecore5 (>= 4:4.9.3), libkdeui5 (>= 4:4.9.3), libkio5 (>= 4:4.9.3), libknewstuff3-4 (>= 4:4.9.3), libkworkspace4abi2 (= 4:4.9.3-0ubuntu0.1~ppa2), libpam0g (>= 0.99.7.1), libqimageblitz4 (>= 1:0.0.4), libqt4-svg (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.8.0), libstdc++6 (>= 4.1.1), libx11-6, libxau6, libxdmcp6, libxtst6, debconf (>= 0.5) | debconf-2.0, lsb-base (>= 3.2-14), consolekit, upstart-job, kde-workspace-kgreet-plugins (= 4:4.9.3-0ubuntu0.1~ppa2), adduser, kde-wallpapers-default
                            Breaks: kde-kdm-themes, kdmtheme
                            Filename: pool/main/k/kde-workspace/kdm_4.9.3-0ubuntu0.1~ppa2_amd64.deb
                            Size: 998250
                            MD5sum: b343ffd88df3abd45fc572864a07722f
                            SHA1: 14a65fb8d8e1b369d91e43cd33ec411568a8d4cc
                            Description-en: KDE Display Manager for X11
                             KDM manages a collection of X servers running on local or remote machines.
                             It allows users to easily log into their preferred desktop environment, connect
                             to a remote XDMCP server, or shut down the system.
                             .
                             KDM supports custom themes and can display a list of users with icons.
                             Additional user icons can be found in the 'kdepasswd' package.
                             .
                             This package is part of the KDE base workspace module.
                            Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
                            
                            Package: kdm
                            Priority: optional
                            Section: universe/kde
                            Installed-Size: 2754
                            Maintainer: Kubuntu Developers <kubuntu-devel@lists.ubuntu.com>
                            Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
                            Architecture: amd64
                            Source: kde-workspace
                            Version: 4:4.9.2-0ubuntu2.1
                            Replaces: kde-kdm-themes, kdmtheme
                            Provides: x-display-manager
                            Depends: kde-runtime, libc6 (>= 2.15), libck-connector0 (>= 0.2.1), libdbus-1-3 (>= 1.0.2), libkdecore5 (>= 4:4.9.2), libkdeui5 (>= 4:4.9.2), libkio5 (>= 4:4.9.2), libknewstuff3-4 (>= 4:4.9.2), libkworkspace4abi2 (= 4:4.9.2-0ubuntu2.1), libpam0g (>= 0.99.7.1), libqimageblitz4 (>= 1:0.0.4), libqt4-svg (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.8.0), libstdc++6 (>= 4.1.1), libx11-6, libxau6, libxdmcp6, libxtst6, debconf (>= 0.5) | debconf-2.0, lsb-base (>= 3.2-14), consolekit, upstart-job, kde-workspace-kgreet-plugins (= 4:4.9.2-0ubuntu2.1), adduser, kde-wallpapers-default
                            Recommends: logrotate, xserver-xorg | xserver, kde-workspace | x-session-manager | x-window-manager, xterm | x-terminal-emulator
                            Suggests: kdepasswd, kde-wallpapers
                            Breaks: kde-kdm-themes, kdmtheme
                            Filename: pool/universe/k/kde-workspace/kdm_4.9.2-0ubuntu2.1_amd64.deb
                            Size: 917494
                            MD5sum: 10ac68d89dda59eeaf91e726e95d90d4
                            SHA1: 8fbeca3c0b70d65540406fb6edf988fcdc083a00
                            SHA256: f4fcd2f7559ec152d0cc9003c5a5614be5314a4a6308fa82eaf8db94d163c7af
                            Description-en: KDE Display Manager for X11
                             KDM manages a collection of X servers running on local or remote machines.
                             It allows users to easily log into their preferred desktop environment, connect
                             to a remote XDMCP server, or shut down the system.
                             .
                             KDM supports custom themes and can display a list of users with icons.
                             Additional user icons can be found in the 'kdepasswd' package.
                             .
                             This package is part of the KDE base workspace module.
                            Homepage: http://www.kde.org/
                            Description-md5: 162cb026b8b58a10982e2958a61a9dab
                            Bugs: https://bugs.launchpad.net/ubuntu/+filebug
                            Origin: Ubuntu
                            
                            Package: kdm
                            Priority: optional
                            Section: universe/kde
                            Installed-Size: 2754
                            Maintainer: Kubuntu Developers <kubuntu-devel@lists.ubuntu.com>
                            Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
                            Architecture: amd64
                            Source: kde-workspace
                            Version: 4:4.9.2-0ubuntu2
                            Replaces: kde-kdm-themes, kdmtheme
                            Provides: x-display-manager
                            Depends: kde-runtime, libc6 (>= 2.15), libck-connector0 (>= 0.2.1), libdbus-1-3 (>= 1.0.2), libkdecore5 (>= 4:4.9.2), libkdeui5 (>= 4:4.9.2), libkio5 (>= 4:4.9.2), libknewstuff3-4 (>= 4:4.9.2), libkworkspace4abi2 (= 4:4.9.2-0ubuntu2), libpam0g (>= 0.99.7.1), libqimageblitz4 (>= 1:0.0.4), libqt4-svg (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.8.0), libstdc++6 (>= 4.1.1), libx11-6, libxau6, libxdmcp6, libxtst6, debconf (>= 0.5) | debconf-2.0, lsb-base (>= 3.2-14), consolekit, upstart-job, kde-workspace-kgreet-plugins (= 4:4.9.2-0ubuntu2), adduser, kde-wallpapers-default
                            Recommends: logrotate, xserver-xorg | xserver, kde-workspace | x-session-manager | x-window-manager, xterm | x-terminal-emulator
                            Suggests: kdepasswd, kde-wallpapers
                            Breaks: kde-kdm-themes, kdmtheme
                            Filename: pool/universe/k/kde-workspace/kdm_4.9.2-0ubuntu2_amd64.deb
                            Size: 916528
                            MD5sum: c6ce8629d1fe68ddc14e87a876563bf8
                            SHA1: 514e168e2ac00725f7f0a5ad037dd5862858c8a9
                            SHA256: 6ad42864344699598d25bfe962b5ac1f7fc118674ed62d2ddd77009bcd89c709
                            Description-en: KDE Display Manager for X11
                             KDM manages a collection of X servers running on local or remote machines.
                             It allows users to easily log into their preferred desktop environment, connect
                             to a remote XDMCP server, or shut down the system.
                             .
                             KDM supports custom themes and can display a list of users with icons.
                             Additional user icons can be found in the 'kdepasswd' package.
                             .
                             This package is part of the KDE base workspace module.
                            Homepage: http://www.kde.org/
                            Description-md5: 162cb026b8b58a10982e2958a61a9dab
                            Bugs: https://bugs.launchpad.net/ubuntu/+filebug
                            Origin: Ubuntu

                            Comment


                              #15
                              seems you have some bad repository. show your repo list and try
                              sudo apt-get install kdm=4:4.9.3-0ubuntu0.1~ppa2

                              Comment

                              Working...
                              X