MDM not working (as a service anymore)

Questions about applications and software
Forum rules
Before you post please read this

MDM not working (as a service anymore)

Postby thorx89 on Tue Aug 06, 2013 8:46 pm

Hi,

All of a sudden, I started having some serious issues with MDM -- in short, it won't start, leaving me at the console.
Tinkering around a bit, I found out that startx works just fine and so does starting /sbin/mdm directly, however, accessing mdm via the service interface (service mdm start/restart/stop) always fails. sudo /etc/init.d/mdm start fails as well.
No logs are being generated in /var/log/mdm .
My current version of mdm is 1.2.5, and I'm on Linux Mint Maya 13.

I have currently installed lightdm to get by temporarily, but I would like to solve this issue.
Anyone having the same problem? Any luck solving it?
thorx89
Level 1
Level 1
 
Posts: 21
Joined: Sun Dec 21, 2008 7:45 am

Linux Mint is funded by ads and donations.
 

Re: MDM not working (as a service anymore)

Postby karlchen on Wed Aug 07, 2013 6:19 pm

Hello, thorx89.

The correct commandline is
Code: Select all
sudo service mdm start/restart/stop

Yet, during the late boot phase the upstart routines are run by root. So no "sudo" needs to be prefixed. And more importantly the command should be executed automatically and correctly.
When mdm is not running, what does the commandline
Code: Select all
service mdm start
tell you exactly?

Kind regards,
Karl
User avatar
karlchen
Level 11
Level 11
 
Posts: 3544
Joined: Sat Dec 31, 2011 7:21 am

Re: MDM not working (as a service anymore)

Postby thorx89 on Thu Sep 05, 2013 8:13 am

Hi,
thanks for the reply.
It doesn't really say anything, it simply doesn't work anymore.

Logs in /var/log show that the "mdm main processes terminated with status 127".
I can't seem to be able to get it to spill out any more information.
thorx89
Level 1
Level 1
 
Posts: 21
Joined: Sun Dec 21, 2008 7:45 am

Re: MDM not working (as a service anymore)

Postby thorx89 on Thu Sep 05, 2013 8:35 am

OK, I figured it out.

I did "man service", finding out that it runs scripts in /etc/init.
Then I went went line by line /etc/init/mdm.conf , which led me to discover that the error was in one of the files mdm.conf was trying to source in, namely in /etc/profile .

Now it's working just fine. :-)
thorx89
Level 1
Level 1
 
Posts: 21
Joined: Sun Dec 21, 2008 7:45 am

Re: MDM not working (as a service anymore)

Postby Rehdon on Tue Oct 29, 2013 2:38 am

Sorry to "necro" the thread, but could you tell me what was wrong with those config files? Because I'm having the same problem, i.e. MDM not starting, after I installed Cinnamon 2.0 under LM 14.

Thanks in advance!
Rehdon
Level 3
Level 3
 
Posts: 144
Joined: Tue Nov 29, 2011 9:18 am

Re: MDM not working (as a service anymore)

Postby virtualxtc on Fri Dec 20, 2013 5:03 pm

Same issue here. There are other posts else where claim it's font related, but I can't seem to trace it to that. Clearly the OP has a better knoledge of this and it would be sweet if someone told us exactly what is wrong with /etc/init/mdm.conf because the lines in it I see about /etc/profile seem harmless to me, but I really have no clue what they do. Or beter yet, if someone could post a working version of /etc/init/mdm.conf we could diff against that might help shed some light.

For others finding this post, it didn't work for me, but you might want to check here to see if it helps you: viewtopic.php?f=208&t=136307
virtualxtc
Level 1
Level 1
 
Posts: 3
Joined: Wed Dec 11, 2013 12:39 am

Re: MDM not working (as a service anymore)

Postby Rehdon on Sun Dec 22, 2013 10:44 am

Well I installed Linux Mint 16 on a different partition, and was the definitive fix for this issue ... ;)

Rehdon
Rehdon
Level 3
Level 3
 
Posts: 144
Joined: Tue Nov 29, 2011 9:18 am

Re: MDM not working (as a service anymore)

Postby Pela on Thu Mar 13, 2014 5:58 pm

I think fontconfig made startup services confusion...

I solved this way:

installed fontconfig-infinality (cool!)

on reboot mdm won't start, then execute:

sudo update-rc.d -f mdm remove
sudo update-rc.d mdm defaults

reboot and mdm works again.

hope this help
Pela
Pela
Level 1
Level 1
 
Posts: 1
Joined: Thu Mar 13, 2014 5:48 pm

Re: MDM not working (as a service anymore)

Postby athom on Thu May 15, 2014 7:59 am

Thanks for the solution ! I had this problem several times when I installed "Lacie Network Assistant".package file
I don't know why :O
athom
Level 1
Level 1
 
Posts: 1
Joined: Thu May 15, 2014 7:57 am

Re: MDM not working (as a service anymore)

Postby tonywhelan on Mon Jul 21, 2014 3:38 am

I had installed Lacie Network Assistant today and suffered this mdm failure afterwards.

After 2 hours of getting nowhere I found Pela's post and it worked perfectly. Everything is back to normal again.

Thank you Pela !!! :D :D
tonywhelan
Level 1
Level 1
 
Posts: 15
Joined: Sun Jun 10, 2012 10:47 pm

Re: MDM not working (as a service anymore)

Postby Monsta on Mon Jul 21, 2014 4:42 am

Pela wrote:installed fontconfig-infinality (cool!)

MDM is incompatible with infinality and Mint developers state that it should be fixed on infinality's side.
Monsta
Level 8
Level 8
 
Posts: 2454
Joined: Fri Aug 19, 2011 3:46 am

Re: MDM not working (as a service anymore)

Postby johnniedoo on Fri Sep 05, 2014 4:18 am

This post and an ubuntu wiki recovery page got me back into a blocked or hung up Mint17 . I had installed some font hinting tweak from infinality and fontconfig. it broke the mdm and/or some samba auto upload integration something or other
It was still helpful to me now Sept.4th 2014.
thanks
had run out of hope. i had to learn how to use the recovery mode 'drop to shell 'something so i could read and write to get rid of the offending infinality issue
johnniedoo
Level 1
Level 1
 
Posts: 21
Joined: Sun Jun 15, 2014 4:33 pm
Location: USA, Earth w/short trips to space

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 19 guests