MDM not working (as a service anymore)
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
MDM not working (as a service anymore)
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?
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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: MDM not working (as a service anymore)
Hello, thorx89.
The correct commandline is
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 tell you exactly?
Kind regards,
Karl
The correct commandline is
Code: Select all
sudo service mdm start/restart/stop
When mdm is not running, what does the commandline
Code: Select all
service mdm start
Kind regards,
Karl
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
Re: MDM not working (as a service anymore)
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.
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.
Re: MDM not working (as a service anymore)
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.
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.
Re: MDM not working (as a service anymore)
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!
Thanks in advance!
Re: MDM not working (as a service anymore)
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: http://forums.linuxmint.com/viewtopic.p ... 8&t=136307
For others finding this post, it didn't work for me, but you might want to check here to see if it helps you: http://forums.linuxmint.com/viewtopic.p ... 8&t=136307
Re: MDM not working (as a service anymore)
Well I installed Linux Mint 16 on a different partition, and was the definitive fix for this issue ...
Rehdon
Rehdon
Re: MDM not working (as a service anymore)
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
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
Re: MDM not working (as a service anymore)
Thanks for the solution ! I had this problem several times when I installed "Lacie Network Assistant".package file
I don't know why :O
I don't know why :O
- tonywhelan
- Level 4
- Posts: 296
- Joined: Sun Jun 10, 2012 10:47 pm
- Location: Canberra, Australia
Re: MDM not working (as a service anymore)
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 !!!
After 2 hours of getting nowhere I found Pela's post and it worked perfectly. Everything is back to normal again.
Thank you Pela !!!
Linux Mint 21 Cinnamon household.
If your issue is solved, please edit your first post in the topic, adding [SOLVED] to the title.
If your issue is solved, please edit your first post in the topic, adding [SOLVED] to the title.
Re: MDM not working (as a service anymore)
MDM is incompatible with infinality and Mint developers state that it should be fixed on infinality's side.Pela wrote:installed fontconfig-infinality (cool!)
Re: MDM not working (as a service anymore)
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
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