LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 11-03-2012, 12:12 PM   #1
\/4A
Member
 
Registered: Aug 2012
Posts: 112

Rep: Reputation: Disabled
System boots but doesn't reach login screen


Hello,

My Pc's been working fine, but today when I booted up, it did a disk check which it successfully completed (which it does from time-to-time without any issues) but thereafter just didn't reach the Linux Mint 12 login screen.

I did the CTRL-ALT-DEL and it went through the shut-down process and rebooted, and again didn't reach the login.

Again rebooted and chose the recovery mode and did fsck and continued normal boot - same problem again and took a snap of the screen showing messages, which I've attached.

Pls help.

I have an update:
I rebooted normally and when I reached the stage where it's just displaying a blank screen instead of starting the gui, I tried CTRL-ALT-F1 and managed to get the login prompt (CLI). I logged in as root and did startx
This resulted in the GUI loading up and I was taken to the root user with a message saying there are zero bytes available on the drive.
I free'd up some space and the only way I could reboot was by CTRL-ALT-DEl as there was no start button.

Now I get the Linux Mint 12 login screen (GUI) but can only log into the root user. By selecting the other user which I've been always using, it just asks for the password and once I've put that in, it just waits there like forever, doing nothing.
Attached Images
File Type: jpg Pic_1103_001.jpg (252.4 KB, 18 views)

Last edited by \/4A; 11-03-2012 at 03:10 PM. Reason: update
 
Old 11-03-2012, 05:30 PM   #2
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,522

Rep: Reputation: 702Reputation: 702Reputation: 702Reputation: 702Reputation: 702Reputation: 702Reputation: 702
I've seen that problem several times when a partition was full or a users home directory was full. You can find the size of your users directory with this command: du -sh /home/username/

Obviously insert the actual username for username. If that's not the problem, I'm not sure what it could be.
 
1 members found this post helpful.
Old 11-04-2012, 02:46 AM   #3
\/4A
Member
 
Registered: Aug 2012
Posts: 112

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
I've seen that problem several times when a partition was full or a users home directory was full.
Thanks, Yancek.

It shows my main user as 51G
But does it really make a difference - I mean, there's no set limit as to how much space a user can take? I already have about 2.8GB of free space on this partition.
I can log in and use root in full GUI and can also setup new users and use them, so what could be preventing my main user a/c from being able to start up. It accepts the password and then just remains that way. Could there be a broken process or something in the waiting? Is there any way I can see the commands being run under the GUI or a log? I tried CTRL-ALT-F1 but was just given a CLI and asked to login.

Last edited by \/4A; 11-04-2012 at 06:08 AM.
 
Old 11-04-2012, 06:34 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,528
Blog Entries: 27

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by yancek View Post
I've seen that problem several times when a partition was full or a users home directory was full.
Did you mean "file system" rather than partition, yancek? And what do you mean by "a users home directory was full"? Unless quotas are enforced, a user's home directory cannot be full -- but it could be on a file system which is full.

\/4A, are there any full file systems on the computer? The df command will show. You may prefer the output of df -h
 
1 members found this post helpful.
Old 11-04-2012, 12:03 PM   #5
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,522

Rep: Reputation: 702Reputation: 702Reputation: 702Reputation: 702Reputation: 702Reputation: 702Reputation: 702
Quote:
Did you mean "file system" rather than partition,
Yes, my mistake.
 
1 members found this post helpful.
Old 11-04-2012, 01:39 PM   #6
\/4A
Member
 
Registered: Aug 2012
Posts: 112

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by catkin View Post
\/4A, are there any full file systems on the computer? The df command will show. You may prefer the output of df -h
Here's the result:
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5              60G   55G  2.6G  96% /
udev                  488M  4.0K  488M   1% /dev
tmpfs                 199M  1.1M  198M   1% /run
none                  5.0M     0  5.0M   0% /run/lock
none                  497M  140K  497M   1% /run/shm
/home/V4a2/.Private    60G   55G  2.6G  96% /home/V4a2
but if this were an issue 'cos of any full file systems, other user a/c's too wouldn't work. Yet, all but my main user a/c start up fine.
 
Old 11-04-2012, 09:12 PM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,528
Blog Entries: 27

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
96% used is too high for comfort or performance. Time to delete some files or add some more space.

Perhaps only V4a2 is affected and not the other main users because its home directory file system is special being created from the /home/V4a2/.Private file or device.
 
1 members found this post helpful.
Old 11-05-2012, 01:46 PM   #8
\/4A
Member
 
Registered: Aug 2012
Posts: 112

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by catkin View Post
96% used is too high for comfort or performance. Time to delete some files or add some more space.

Perhaps only V4a2 is affected and not the other main users because its home directory file system is special being created from the /home/V4a2/.Private file or device.
Catkin, V4A2 is the alternate user a/c which I'm having to use currently, since V4A is not accessible (V4A2 is the a/c I setup when installing the OS and thereafter I setup V4A user a/c which I've been using till now. I didn't select "make contents private" when setting up V4A, so there's no /home/VaA/.Private in there).

Well, I did free up quite alot of space on the filesystem and here's the current output of df -h
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5              60G   41G   16G  72% /
udev                  487M  4.0K  487M   1% /dev
tmpfs                 199M  1.1M  198M   1% /run
none                  5.0M     0  5.0M   0% /run/lock
none                  497M  140K  497M   1% /run/shm
/home/V4A2/.Private    60G   41G   16G  72% /home/V4A2
However, I still cannot log into my main user a/c (V4A) - still the same, I put in the password which is accepted, then just like doesn't budge from there (PC doesn't freeze, though - I can still do things like CTRL-ALT-F1 CTRL-ALT-BACKSPACE CTRL-ALT-F7). I feel there's some process that starts a bit after I put in the password, 'cos at forst there's quite a bit of HDD activity and after the HDD actvity stops, the PC fan sound increases (like when I'd load 3D games). However, when I do ALT-SysRq-K and am taken back to the login screen, the high sound of the PC returns to silent.

I've even tried starting V4A with Gnome Classic, Gnome Classic (no effects), MATE.

Last edited by \/4A; 11-05-2012 at 02:19 PM.
 
Old 11-05-2012, 08:56 PM   #9
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,528
Blog Entries: 27

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Thanks for the clear posting. The symptoms suggest there is something specific to V4A that is causing the problem. This could be investigated by renaming /home/V4A and creating a new one (with identical ownerships and permissions). If V4A is then able to log on you will know that something under the original /home/V4A is the cause of the problem.
 
1 members found this post helpful.
Old 11-06-2012, 12:30 AM   #10
\/4A
Member
 
Registered: Aug 2012
Posts: 112

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by catkin View Post
Thanks for the clear posting. This could be investigated by renaming /home/V4A and creating a new one (with identical ownerships and permissions).
??? eek: Renaming V4A? how would I do that, just the normal 'rename' of the folder V4A that sits under /home/ ?
Thereafter would the OS allow me to make a new user named V4A or would it say the user already exists?

How would I make the new V4A with identical ownerships and permissions? I need to know the same for the current V4A? (where can I check that)
 
Old 11-06-2012, 03:13 AM   #11
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,528
Blog Entries: 27

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
As root:
Code:
ls -ld /home/V4A
mv /home/V4A /home/V4A.aside
mkdir /home/V4A
chown <user name>:<group name> /home/V4A
chmod 755 /home/V4A
Notes:
  1. Replace <user name> and <group name> with the names displayed by ls -ld
  2. Permissions 755 gives rwxr-xr-x which are the normal permissions on a home directory -- the best to use for testing. If you want tighter permissions that can be done later.
 
1 members found this post helpful.
Old 11-06-2012, 08:52 AM   #12
\/4A
Member
 
Registered: Aug 2012
Posts: 112

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by catkin View Post
As root:
Code:
ls -ld /home/V4A
mv /home/V4A /home/V4A.aside
mkdir /home/V4A
chown <user name>:<group name> /home/V4A
chmod 755 /home/V4A
Notes:
  1. Replace <user name> and <group name> with the names displayed by ls -ld
  2. Permissions 755 gives rwxr-xr-x which are the normal permissions on a home directory -- the best to use for testing. If you want tighter permissions that can be done later.
OK, I did this then rebooted my PC and logged into V4A and it logged in and I successfully arrived the desktop of the new V4A.

What would that mean?
 
Old 11-12-2012, 03:57 AM   #13
\/4A
Member
 
Registered: Aug 2012
Posts: 112

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by \/4A View Post
OK, I did this then rebooted my PC and logged into V4A and it logged in and I successfully arrived the desktop of the new V4A.

What would that mean?
I now tried to reverse the procedure to see if I could revert to using the original V4A user and see if it's desktop would successfully start.
However, at first the previous V4A disappeared and a new V4A user was setup under /home/
Game me a REAL REAL scare, but then I found a V4A.aside folder under /home/V4A/
As (gui based) root, I moved it out from there, and deleted the new V4A, and renamed V4A.aside to V4A
Rebooted the PC and tried to log into V4A, but the same original problem returned, where V4A would start, but would not successfully reach the desktop (I can still do things like CTRL-ALT-F1 CTRL-ALT-BACKSPACE CTRL-ALT-F7). I feel there's some process that starts a bit after I put in the password, 'cos at first there's quite a bit of HDD activity and after the HDD actvity stops, the PC fan sound increases (like when I'd load 3D games). However, when I do ALT-SysRq-K and am taken back to the login screen, the high sound of the PC returns to silent.)

I really need my V4A to start - it has my whole work life in it
 
Old 11-12-2012, 07:02 AM   #14
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,528
Blog Entries: 27

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
As posted above, it means "something under the original /home/V4A is the cause of the problem".

The task now is to find out what. Because the problem happens at desktop session logon it is likely to be caused by desktop session initialisation. Which of the three Mint 12 desktops are you using -- GNOME, LXDE or MATE?
 
1 members found this post helpful.
Old 11-12-2012, 08:53 AM   #15
\/4A
Member
 
Registered: Aug 2012
Posts: 112

Original Poster
Rep: Reputation: Disabled
Thanks, Catkin.

I'm using GNOME.
 
  


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
"Display is not set" ; boots to login, then frozen grey/white screen w. globes wiliamvw Slackware 6 05-10-2010 05:30 PM
Lucid x64 boots to login screen, at times.... salmanal Ubuntu 3 05-03-2010 11:19 AM
system boots but no login screen grindelwald Linux - Desktop 3 03-03-2008 12:58 PM
SUSE 10 on thinkpad doesn't give login screen, it just boots right up LordFett Linux - Laptop and Netbook 4 01-16-2006 11:13 PM
System no longer boots to graphical login will103 Debian 3 01-08-2005 03:56 PM


All times are GMT -5. The time now is 06:45 PM.

Main Menu
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