How can effectively stop MDM ?

How can effectively stop MDM ?

Postby mark1mint on Sun Mar 17, 2013 4:53 am

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.
mark1mint
Level 3
Level 3
 
Posts: 139
Joined: Tue May 22, 2012 4:36 pm

Linux Mint is funded by ads and donations.
 

Re: How can effectively stop MDM ?

Postby viking777 on Sun Mar 17, 2013 5:55 am

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:

viewtopic.php?f=59&t=86154&p=497881&hilit=sgfxi#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.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: How can effectively stop MDM ?

Postby mark1mint on Sun Mar 17, 2013 9:24 am

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.
mark1mint
Level 3
Level 3
 
Posts: 139
Joined: Tue May 22, 2012 4:36 pm

Re: How can effectively stop MDM ?

Postby viking777 on Sun Mar 17, 2013 10:31 am

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.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: How can effectively stop MDM ?

Postby mark1mint on Sun Mar 17, 2013 4:30 pm

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 ?
mark1mint
Level 3
Level 3
 
Posts: 139
Joined: Tue May 22, 2012 4:36 pm

Re: How can effectively stop MDM ?

Postby viking777 on Mon Mar 18, 2013 6:20 am

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. :)
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: How can effectively stop MDM ?

Postby mark1mint on Wed Mar 20, 2013 4:55 pm

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 ?
mark1mint
Level 3
Level 3
 
Posts: 139
Joined: Tue May 22, 2012 4:36 pm

Re: How can effectively stop MDM ?

Postby viking777 on Thu Mar 21, 2013 6:40 am

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.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Linux Mint is funded by ads and donations.
 

Return to MATE

Who is online

Users browsing this forum: No registered users and 5 guests