5

I'd like to install and use mdm over lightdm with Cinnamon.

I've installed mdm, but gksudo mdmsetup just opens a dialogue requesting authentication, then immediately exits with code 1. There's nothing in any system logs.

Am I missing a package, or should I configure by hand?


Here are the results requested in the comments:

$ uname -a
Linux mint-kitty 4.2.0-24-generic #29-Ubuntu 15.10 SMP Mon Jan 11 18:00:07 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

$ apt-cache policy mdm
mdm:
  Installed: 0.1.3-2.1
  Candidate: 0.1.3-2.1
  Version table:
 *** 0.1.3-2.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
        100 /var/lib/dpkg/status

$ which mdmsetup
process terminated with exit status 2
cat
  • 1,712

2 Answers2

3

There is another package in the Ubuntu official repository/universe with the same name mdm, see packages.ubuntu.com

Package mdm

xenial (utils): Utilities for single-host parallel shell scripting [universe]
0.1.3-2.1: amd64 i386

Possibly, you have installed the wrong package. Check:

sudo apt-cache policy mdm
which mdmsetup

I think this should be reported to Mint dev as bug.

Well now it is clear that you don't have mint mdm installed.

  1. Remove mdm got from official repository

    sudo apt-get purge mdm
    
  2. Download mint mdm and its related themes from a mirror or the Mint official repository:

    http://packages.linuxmint.com/search.php?keyword=mdm&release=Sarah&section=any

  3. Install it using software center (double click) or command, example:

    sudo dpkg -i mdm_2.0.7+rosa_amd64.deb
    
user.dz
  • 49,176
1

Since you can't just install mdm you need to type sudo add-apt-repository ppa:noobslab/mint then update and type sudo apt-get install mdm mdm-themes. You can use the other official repository or if you have access to the root account. You may be able to run this command without the mdm window.

sudo apt-get update
sudo dpkg-reconfigure lightdm
sudo apt-get purge mdm
dpkg-reconfigure mdm

If that did not work I suggest you type apt-cache policy mdm then which mdmsetup.

Also try uninstalling lightdm and install mdm. That may also solve your problem. To do this run these commands:

sudo apt-get purge lightdm
sudo apt-get update
sudo apt-get install mdm
sudo reboot