Page 1 of 1

How can effectively stop MDM ?

Posted: Sun Mar 17, 2013 4:53 am
by mark1mint
I know this has been debated,but I'm afraid I haven't been able to gather a definitive answer:when in a console,how I can effectively kill mdm and prevent it from coming back unexpectedly ?

As you may imagine,this has to do with installing in a console video drivers like ATI (manually or via the sgfxi script) with the consequent necessity to kill the graphic server during the process:mdm has the annoying behavior to pop up again right after issuing commands like sudo service mdm stop,making the whole process more difficult.

Re: How can effectively stop MDM ?

Posted: Sun Mar 17, 2013 5:55 am
by viking777
I have never had that happen with the sgfxi script and I have used it an awful lot in the past (not now I have Intel graphics). Sgfxi kills the x server for you without any effort on your part.

This is how to use sgfxi:

http://forums.linuxmint.com/viewtopic.p ... xi#p497881

Have another go with it, maybe there is a step you missed out. It is so much easier than trying to do it manually.

Re: How can effectively stop MDM ?

Posted: Sun Mar 17, 2013 9:24 am
by mark1mint
Well that's weird,I'm asking because mdm popped up exactly while I was running sgfxi in a virtual console and the script was just trying to shutdown the X server-it maybe that my system is setup differently from yours as far as the login screen (or something like that) goes,or I may have done something wrong,although simply running sudo ./sgfxi doesn't leave much room for that...

And it's not just me,I've heard about other people running into the very same issue,mdm re-starts when it is supposed to shut down and stay out of the way-although,after logging in again,with Ctrl+Shift+F2 I was able to get back the same terminal with sgfxi still running.

Re: How can effectively stop MDM ?

Posted: Sun Mar 17, 2013 10:31 am
by viking777
You aren't following the instructions in my post. You don't run sgfxi from a terminal with sudo, that way you are starting it from a graphical window you MUST start it from a non graphical virtual terminal. Read my instructions again and with the exception of the installing bit (which you have already done) follow them precisely, they are not hard to follow, you are just doing it wrong that is why you are having trouble.

One thing to be aware of though, if you have hybrid graphics sgfxi probably wont work anyway.

Re: How can effectively stop MDM ?

Posted: Sun Mar 17, 2013 4:30 pm
by mark1mint
viking777 wrote: You don't run sgfxi from a terminal with sudo, that way you are starting it from a graphical window you MUST start it from a non graphical virtual terminal.
and I had written:
I was running sgfxi in a virtual console
:wink: isn't that what you mean ?

Re: How can effectively stop MDM ?

Posted: Mon Mar 18, 2013 6:20 am
by viking777
isn't that what you mean ?
Yes it is, but you still don't use sudo, you log in as root.

Just read the link I gave you and try it - if it doesn't work I will apologise to you, but if you do it right it works. :)

Re: How can effectively stop MDM ?

Posted: Wed Mar 20, 2013 4:55 pm
by mark1mint
Sorry,I did not read the post carefully:so,correct me if I'm wrong,the difference lays in running sgfxi using sudo vs. logging in as root in a virtual console from the start ?

Re: How can effectively stop MDM ?

Posted: Thu Mar 21, 2013 6:40 am
by viking777
mark1mint wrote:Sorry,I did not read the post carefully:so,correct me if I'm wrong,the difference lays in running sgfxi using sudo vs. logging in as root in a virtual console from the start ?
That is correct.