LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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



Reply
 
Search this Thread
Old 03-09-2011, 04:46 PM   #1
Trentixero
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Rep: Reputation: 0
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
And that's where I'm stuck.
 
Old 03-09-2011, 04:57 PM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
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.
 
Old 03-09-2011, 04:59 PM   #3
Trentixero
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Original Poster
Rep: Reputation: 0
No. I logged in as root only to see if it worked and then tried out the files that were in my user account's home folder.

Last edited by Trentixero; 03-09-2011 at 05:01 PM.
 
Old 03-09-2011, 06:12 PM   #4
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
Try looking at this:

http://goshawknest.wordpress.com/201...ory-in-ubuntu/

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.

Josh
 
Old 03-09-2011, 09:24 PM   #5
Trentixero
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 03-09-2011, 09:36 PM   #6
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
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.
 
Old 03-09-2011, 10:32 PM   #7
Trentixero
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Original Poster
Rep: Reputation: 0
The instructions tell me to create a new user with my existing name, but the terminal just tells me that the account already exists.
 
Old 03-09-2011, 11:06 PM   #8
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
So then proceed from there. I will be able to assist a lot mote once I get gome in another hour and some.
 
Old 03-09-2011, 11:12 PM   #9
Trentixero
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 03-09-2011, 11:29 PM   #10
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
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.

Josh
 
Old 03-09-2011, 11:32 PM   #11
Trentixero
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Original Poster
Rep: Reputation: 0
Well, I really should be going to sleep. It's not that urgent; I can still use the computer pretty well.

Oh, and now that I mounted the new partition, my /home/user directory seems to have disappeared.

^ Nevermind, this fixed itself after a restart, but I still can't log in. ^

Last edited by Trentixero; 03-10-2011 at 04:49 PM.
 
Old 03-11-2011, 04:49 PM   #12
Trentixero
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Original Poster
Rep: Reputation: 0
Here's the result of me playing around with this. I'm not sure whether or not this will shed light on the problem.


The-Falconette ~ # cd /home/the-tyrian
The-Falconette the-tyrian # ls
Access-Your-Private-Data.desktop README.txt
The-Falconette the-tyrian # su the-tyrian
the-tyrian@The-Falconette ~ $ ls
Access-Your-Private-Data.desktop README.txt
the-tyrian@The-Falconette ~ $ cd .
the-tyrian@The-Falconette ~ $ ls
bin Minecraft-Server ROMs Stuff.png
Desktop Music Run-Notes_files Templates
Documents Network Run-Notes.html Videos
Downloads Pictures Screenshot1.png VisualBoyAdvance.cfg
Fencing Videos ps.txt Screenshot.png
Link to wireshark.exe Public Software.ini
the-tyrian@The-Falconette ~ $ exit
exit
The-Falconette the-tyrian # ls
Access-Your-Private-Data.desktop README.txt
The-Falconette the-tyrian #

Last edited by Trentixero; 03-11-2011 at 05:04 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xfce menu desktop files, location? wufo Slackware 3 02-24-2011 05:27 PM
How to log in as root in Guest OS Linux Mint on host Windows Vista using virtual box apanimesh061 Linux - Software 3 11-01-2010 01:03 PM
Can i install xfce without root access ? ramy_m Solaris / OpenSolaris 1 07-13-2009 08:24 PM
Access log-files without logging in as root Bl4deRunner Linux - Security 2 04-10-2006 06:28 AM


All times are GMT -5. The time now is 02:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration