Announcement

Collapse
No announcement yet.

Remove Gnome option from KDM Login Screen

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

    Remove Gnome option from KDM Login Screen

    To all,

    I just got a new laptop with 12.10 on it, so I gave my wife my older laptop with 12.04 on it. She really likes it, but occasionally when she logs on she gets a "Gnome Desktop not Available" error and is kicked out to a command prompt. This does not happen all the tme, but often enough where she is concerned that there is something wrong with "Linux." I do not have Gnome installed on the laptop.

    What I think causes this is that I tried to install Lightdm a while ago--it didn't work out but it did seem to install a lot of Gnome dependencies. I stripped out lightdm with "apt-get remove --purge lightdm" but the problem seems to persist. I even did a search for other lightdm components and removed them, too.

    Is there any way I can disable/remove the Gnome option within KDM? I suspect that periodically the "default" is set to Gnome and that is causing the problem.

    Any ideas?

    #2
    Do you have 'gnome-session' and/or 'gnome-session-fallback' installed? These will put gnome .desktop files in /usr/share/xsessions/

    Comment


      #3
      I will check when I get home. Thanks!

      Comment


        #4
        Those packages are not installed.

        Comment


          #5
          What's the output of:
          Code:
          ls -al /usr/share/xsessions

          Comment


            #6
            SteveRiley,

            The only entry is kde-plasma.desktop

            Comment


              #7
              Originally posted by Thiudans View Post
              What I think causes this is that I tried to install Lightdm a while ago--it didn't work out but it did seem to install a lot of Gnome dependencies.
              It appears that when installing LightDM via
              Code:
              sudo apt-get install lightdm
              APT will choose the Gtk-based greeter by default, which pulls many GNOME packages. A better way to do this instead is:
              Code:
              sudo apt-get install lightdm-kde-greeter
              which will install LightDM and the KDE greeter all in one go.

              Comment


                #8
                Originally posted by Thiudans View Post
                The only entry is kde-plasma.desktop
                What's the output of
                Code:
                sudo updatedb && locate -i sessions
                Last edited by SteveRiley; Mar 23, 2013, 10:13 PM.

                Comment


                  #9
                  Quite a lot, actually. :-)

                  Code:
                  /etc/kde4/kdm/sessions
                  /usr/bin/ck-list-sessions
                  /usr/lib/kde4/krunner_sessions.so
                  /usr/share/xsessions
                  /usr/share/kde4/apps/kdm/sessions
                  /usr/share/kde4/apps/kdm/sessions/9wm.desktop
                  /usr/share/kde4/apps/kdm/sessions/aewm++.desktop
                  /usr/share/kde4/apps/kdm/sessions/aewm.desktop
                  /usr/share/kde4/apps/kdm/sessions/afterstep.desktop
                  /usr/share/kde4/apps/kdm/sessions/amaterus.desktop
                  /usr/share/kde4/apps/kdm/sessions/amiwm.desktop
                  /usr/share/kde4/apps/kdm/sessions/asclassic.desktop
                  /usr/share/kde4/apps/kdm/sessions/blackbox.desktop
                  /usr/share/kde4/apps/kdm/sessions/cde.desktop
                  /usr/share/kde4/apps/kdm/sessions/ctwm.desktop
                  /usr/share/kde4/apps/kdm/sessions/cwwm.desktop
                  /usr/share/kde4/apps/kdm/sessions/e16.desktop
                  /usr/share/kde4/apps/kdm/sessions/enlightenment.desktop
                  /usr/share/kde4/apps/kdm/sessions/evilwm.desktop
                  /usr/share/kde4/apps/kdm/sessions/fluxbox.desktop
                  /usr/share/kde4/apps/kdm/sessions/flwm.desktop
                  /usr/share/kde4/apps/kdm/sessions/fvwm.desktop
                  /usr/share/kde4/apps/kdm/sessions/fvwm95.desktop
                  /usr/share/kde4/apps/kdm/sessions/gnome.desktop
                  /usr/share/kde4/apps/kdm/sessions/golem.desktop
                  /usr/share/kde4/apps/kdm/sessions/icewm.desktop
                  /usr/share/kde4/apps/kdm/sessions/ion.desktop
                  /usr/share/kde4/apps/kdm/sessions/kde-plasma-safe.desktop
                  /usr/share/kde4/apps/kdm/sessions/kde-plasma.desktop
                  /usr/share/kde4/apps/kdm/sessions/larswm.desktop
                  /usr/share/kde4/apps/kdm/sessions/lwm.desktop
                  /usr/share/kde4/apps/kdm/sessions/matchbox.desktop
                  /usr/share/kde4/apps/kdm/sessions/metacity.desktop
                  /usr/share/kde4/apps/kdm/sessions/mwm.desktop
                  /usr/share/kde4/apps/kdm/sessions/olvwm.desktop
                  /usr/share/kde4/apps/kdm/sessions/olwm.desktop
                  /usr/share/kde4/apps/kdm/sessions/openbox.desktop
                  /usr/share/kde4/apps/kdm/sessions/oroborus.desktop
                  /usr/share/kde4/apps/kdm/sessions/phluid.desktop
                  /usr/share/kde4/apps/kdm/sessions/pwm.desktop
                  /usr/share/kde4/apps/kdm/sessions/qvwm.desktop
                  /usr/share/kde4/apps/kdm/sessions/ratpoison.desktop
                  /usr/share/kde4/apps/kdm/sessions/sapphire.desktop
                  /usr/share/kde4/apps/kdm/sessions/sawfish.desktop
                  /usr/share/kde4/apps/kdm/sessions/twm.desktop
                  /usr/share/kde4/apps/kdm/sessions/ude.desktop
                  /usr/share/kde4/apps/kdm/sessions/vtwm.desktop
                  /usr/share/kde4/apps/kdm/sessions/w9wm.desktop
                  /usr/share/kde4/apps/kdm/sessions/waimea.desktop
                  /usr/share/kde4/apps/kdm/sessions/wm2.desktop
                  /usr/share/kde4/apps/kdm/sessions/wmaker.desktop
                  /usr/share/kde4/apps/kdm/sessions/xfce.desktop
                  /usr/share/kde4/apps/kdm/sessions/xfce4.desktop
                  /usr/share/kde4/apps/ksmserver/screenlocker/org.kde.passworddialog/contents/ui/SessionSwitching.qml
                  /usr/share/kde4/services/plasma-runner-sessions.desktop
                  /usr/share/locale-langpack/en_AU/LC_MESSAGES/plasma_runner_katesessions.mo
                  /usr/share/locale-langpack/en_AU/LC_MESSAGES/plasma_runner_konquerorsessions.mo
                  /usr/share/locale-langpack/en_AU/LC_MESSAGES/plasma_runner_konsolesessions.mo
                  /usr/share/locale-langpack/en_AU/LC_MESSAGES/plasma_runner_sessions.mo
                  /usr/share/locale-langpack/en_CA/LC_MESSAGES/plasma_runner_katesessions.mo
                  /usr/share/locale-langpack/en_CA/LC_MESSAGES/plasma_runner_sessions.mo
                  /usr/share/locale-langpack/en_GB/LC_MESSAGES/plasma_runner_katesessions.mo
                  /usr/share/locale-langpack/en_GB/LC_MESSAGES/plasma_runner_konquerorsessions.mo
                  /usr/share/locale-langpack/en_GB/LC_MESSAGES/plasma_runner_konsolesessions.mo
                  /usr/share/locale-langpack/en_GB/LC_MESSAGES/plasma_runner_sessions.mo
                  /usr/share/man/man3/SSL_CTX_flush_sessions.3ssl.gz
                  /usr/share/man/man3/SSL_CTX_sessions.3ssl.gz
                  /usr/share/man/man3/SSL_flush_sessions.3ssl.gz
                  /usr/share/nmap/scripts/smb-enum-sessions.nse
                  /usr/share/ri/1.9.1/system/OpenSSL/SSL/SSLContext/flush_sessions-i.ri
                  /usr/share/webkitgtk-3.0/webinspector/Images/sessionStorage.png
                  /usr/share/xsessions/kde-plasma.desktop
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/rdoc/ActiveRecord/SessionStore
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/rdoc/ActiveRecord/SessionStore.html
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/rdoc/ActiveRecord/SessionStore/Session.html
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/rdoc/ActiveRecord/SessionStore/SqlBypass.html
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/Session
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/cdesc-SessionStore.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/Session/cdesc-Session.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/Session/data-i.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/Session/data_column_name-c.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/Session/data_column_size_limit-c.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/Session/find_by_session_id-c.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/Session/loaded%3f-i.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/Session/new-c.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/cdesc-SqlBypass.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/connection-c.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/connection_pool-c.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/data-i.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/data_column-c.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/data_column_name-c.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/destroy-i.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/find_by_session_id-c.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/loaded%3f-i.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/new-c.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/new_record%3f-i.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/new_record-i.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/save-i.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/session_id-i.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/session_id_column-c.ri
                  /var/lib/gems/1.9.1/doc/activerecord-3.2.11/ri/ActiveRecord/SessionStore/SqlBypass/table_name-c.ri
                  Last edited by Snowhog; Mar 24, 2013, 09:36 AM.

                  Comment


                    #10
                    A lot of that we can ignore. As I don't have KDM on any of my machines anymore, I'll have to keep asking you some more questions.

                    What's the output of
                    Code:
                    ls -al /etc/kde4/kdm/sessions

                    Comment


                      #11
                      Here is it

                      Code:
                      ebreiss@kubuntu-64:~$ ls -al /etc/kde4/kdm/sessions
                      total 8
                      drwxr-xr-x 2 root root 4096 Jun 24  2012 .
                      drwxr-xr-x 3 root root 4096 Mar 15 18:48 ..
                      ebreiss@kubuntu-64:~$

                      Comment


                        #12
                        Well, I'm out of ideas.

                        Anyone else here using KDM and multiple desktops, and can think of which configuration files might be borked on Thiudans's computer?

                        Comment

                        Working...
                        X