Can't Log in to Desktop, root Can't Access My Files Mint 9 XFCE
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can't Log in to Desktop, root Can't Access My Files Mint 9 XFCE
A couple weeks after I installed the xfce desktop version of Linux Mint, I became unable to log in to my own desktop. I enter my password, but the screen fades to black and then fades back in to the login screen.
I am able to log in using the recovery mode terminal and everything works as expected. I can log in to the Mint desktop as root, but the superuser can't view my files. Instead, there are only a .desktop file and a README telling me that my files have been unmounted (they're not on their own partition) and they give me instructions on how to remount them.
So I follow the instructions. Running the .desktop through the browser GUI quickly opens and closes a terminal, doing nothing. Running ecryptfs-mount-private, as the README recommends, reports:
Code:
ERROR: Encrypted private directory is not setup properly
Just to ask before going any further... Are you trying to log into using root the whole time? Using root to log in through your GUI should not be done; It is very unsafe.
I can't fully view it being at work, and I don't have access to linux right now. I know that's for ubuntu, but that should put you in the right direction.
I read through the article, and I think that's all I'll need if you can help me follow step 1, which asks me to mount a partition to /home. I created a generous ext4 partition for it in GParted, but I don't know how to do anything toward mounting it to /home.
Look in your /dev directory. Your hard drive should either be sdaX or hdaX. You need to use the mount command and mount it to whatever directory you need to. Like so:
Code:
mount /dev/sda2 /home
Of course that is an example. Read the man page to mount to learn more about it.
I can't. The next steps involve running the same command I tried earlier, after failing to run su on your user account. For me, the su command succeeds but ecryptfs-mount-private fails, just like it did before.
Ok. Will you be online in an hour? I'm leaving work in a half hour, and will be on shortly after. I will definitely assist you in troubleshooting then.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.