Page 1 of 1

Remove LXDM

Posted: Thu Jan 10, 2013 11:15 pm
by noahc
I installed openbox, and then install lxde on an ubuntu 12.10 machine.

I've tried uninstall lxdm, but that kicks me to just my old openbox installation.

I've modifed my ~/.xinitrc file to look like:

Code: Select all

exec openbox-session
#exec lxde-session
Alternating commenting them out. I noticed with lxdm installed though it never hits this file.

I've also tried running:

sudo update-alternatives --config x-session-manager

which gets me:

Code: Select all

There are 3 choices for the alternative x-session-manager (providing /usr/bin/x-session-manager).

  Selection    Path                      Priority   Status
------------------------------------------------------------
  0            /usr/bin/startlxde         50        auto mode
  1            /usr/bin/lxsession         49        manual mode
  2            /usr/bin/openbox-session   40        manual mode
* 3            /usr/bin/startlxde         50        manual mode

Press enter to keep the current choice[*], or type selection number: 
Where I've tried options 0 and 3 without lxdm installed.

The overall goal is to remove lxdm and be able to type startx or startlxde once I login.

Re: Remove LXDM

Posted: Fri Jan 11, 2013 3:22 pm
by Rex Bouwense
I found this:
http://manpages.ubuntu.com/manpages/pre ... xdm.1.html
Not sure if that is what you are looking for.

Re: Remove LXDM

Posted: Sat Jan 12, 2013 9:42 pm
by rokytnji
My ~/.xinitrc in my AntiX LXDE install.

Code: Select all

#xset m 10 2
xmodmap -e 'pointer = 1 2 3 4 5'

# The following line gets changed by antiX-init.sh with the desktop= cheatcode
XINITRC_DEFAULT="startlxde"


case $1 in
icewm)
	exec icewm-session
	;;

lxde) 
        exec startlxde
        ;;

xfce)
        exec startxfce4
        ;;

dwm)
        exec dwm
        ;;

wmii)
        exec wmii
        ;;

fvwm-crystal)
        exec fvwm-crystal 
        ;;

kde)
        exec startkde
        ;;

gnome)
        exec gnome-session
        ;;

openbox)
        exec openbox-session
        ;;

fluxbox)
	exec startfluxbox
	;;

Rox-fluxbox)
        rox --pinboard=antiX
        exec startfluxbox
        ;; 

Rox-icewm)
        rox --pinboard=antiX
        exec icewm-session
        ;;

*)
	exec $XINITRC_DEFAULT
	;;
esac
But I run http://wiki.debian.org/XDM

Code: Select all

apt-cache policy xdm
xdm:
  Installed: 1:1.1.11-1
  Candidate: 1:1.1.11-1
  Version table:
 *** 1:1.1.11-1 0
        500 http://ftp.us.debian.org/debian/ testing/main i386 Packages
        100 /var/lib/dpkg/status
instead of lxdm as a login manager/