Sometimes, conveniency is the problem. So, the question is how do I disable automatic login for Linux Mint 13? When I tried to disable automatic login for Linux Mint 13 through graphical user interface and it failed to do just that. I scratched my head. Looked around the web and some Linux users suggested that I could totally edit the mdm.conf file. This was what I did and it worked. Here is how:
Open up a terminal
Do [sudo -i] and type in your sudo password (i.e., a user who has the authorization to become administrator through sudo command). By the way, do not use the square brackets in your command line as they’re there for clarity only.
Type in the command [cp -p -a /etc/mdm/mdm.conf /etc/mdm/mdm.conf-old]. What this command does is to create a copy of the file you about to edit. By doing this, you can recover the file when you completely mess up the original file. It’s a security measure that all Linux users should practice when editing an important file.
Type in the command [vim.tiny /etc/mdm/mdm.conf].
Hit letter [i] on the keyboard to enter editing mode.
Find the line which says AutomaticLoginEnable=true, and change the true part to false. It should look like this AutomaticLoginEnable=false. Make sure you know how to use vim.tiny OK? If not, try to edit the mdm.conf file with nano editor instead.
Also, find the line which says TimedLoginEnable=true, and change the true part to false. It should look like this afterward, TimedLoginEnable=false.
As you’re using vim.tiny editor, to save the new change of mdm.conf file, you must hit [Esc] key first, type in a colon second (i.e., [:]), type in [wq] right after the colon, and then hit enter key to save and exit the mdm.conf file. It should look like this [:wq].
Type [exit] and hit enter key in the terminal to exit root.
Type [exit] and hit the enter key again to exit the terminal altogether.
I was able to install Linux Mint 13 onto my MacBook Pro. I had to say it was riveting to see my MacBook Pro booted into Linux Mint 13 for the first time. How come? Probably it was that I never had tried to install any Linux distribution onto a Mac before! Anyhow, I thought it would be harder for me to install Linux Mint 13 than Windows onto a Mac, but it turned out I got it worked out perfectly the first time around. Of course, I had used the correct guide, otherwise I would not be able to install Linux Mint 13 onto Mac after just one try.
I followed the Install Linux Mint 12 (Lisa) on 13inch MacBook Air 4.2 (2011 model) tutorial on billsdon.com blog, but I did not follow this tutorial by the letter. I did not install and use rEFIt (i.e., preferring the use of the Mac’s option key on the keyboard to pick which operating system I want to boot into); I did not use GPT Fdisk to create 3 partitions for the hybrid MBR as I had only used it to create only 2 partitions — this prompted the warning about I had an extra partition that wasn’t used and GPT Fdisk asked about creating an extra partition in case I would be able to use this extra partition in the future for whatever purpose, but I refused to do so as I had read rodsbooks.com’s Hybrid MBRs: The Good, the Bad, and the So Ugly You’ll Tear Your Eyes Out article how it would be unwise to create an unrecognizable extra partition on Mac. It appeared that Apple Disk Utility might have a bug that would prevent it to manipulate unknown MBR type codes, and by being careful about this I decidedly it would be wise to not create extra partition. So, when GPT Fdisk asked me with this command prompt “Unused partition space(s) found. Use one to protect more partitions? (Y/N):,” I candidly replied N for no.
Here is the short version of how I had installed Linux Mint 13 onto Mac.
Use Boot Camp Assistant (come with Mac by default) to create a second partition
Download Linux Mint 13
Burn Linux Mint 13 into a DVD
Insert Linux Mint 13 into Mac’s DVD/CD tray
Reboot Mac (Mac OS X Lion in my case)
Hold down the option key (on the keyboard) right after hearing the chime (boot sound)
Choose the DVD to boot into Linux Mint 13 Live DVD (not the Boot Camp or Mac OS X Lion partition)
Wait for Linux 13 Live DVD to completely load into RAM (random access memory) and load itself up in a working stage
Double click on the DVD icon (I think it labels as installing onto hard drive or something of this sort) that allows the installing of Linux Mint 13 onto Mac
Follow the onscreen instruction to install Linux Mint 13, but I had to manually customize the partitions for Linux Mint 13 to make sure I that I would be able to pick the Linux Mint 13 partition (i.e., the root partition that represents by a backslash “/”) as a Bootloader, otherwise it would be a bad idea to install Linux Mint Bootloader into Mac’s main partition (i.e., you will not have a working Bootloader and won’t be able to boot into Linux Mint later as it would be installed into the wrong partition)
Reboot into Mac and install GPT Fdisk software from the Internet
GPT Fdisk software is dangerous as it can totally destroy how Mac would boot up and will destroy Mac partitions if use it in the wrong way (i.e., will have to reinstall Mac and all data will be lost) — research on GPT Fdisk and how to use it correctly
Use GPT Fdisk to create a hybrid MBR so when later I first boot into Linux Mint 13 on Mac, I won’t have to face the missing operating system warning
Reboot Mac and hold down the option key (on keyboard) after hearing the chime