Author Topic: [SOLVED] can`t login  (Read 641 times)

Offline derekf

  • Full Member
  • ***
  • Posts: 249
[SOLVED] can`t login
« on: August 07, 2012, 04:50:03 AM »
Hello forum,

 Last night i updated my PCLinuxos Full Monty and today when i started my pc i got a message on the screen saying: call to lnusertemp fail (temporary directories full) check your installation.

I did search the forum and was reading what Bald Brick said to do to a user with the same trouble, empty /tmp and ~/tmp and reboot, i did that still no change so removed the 3 symlinks and rebooted.

Now when my pc starts i get a konsole box in the bottom right corner saying:

chmod: changing permissions of `/home/derek/temp`: Operation not permitted.
[derek08 ~]$


I`m not sure what i have done, is there some way i can fix this so my PCLinuxos Full Monty works properly.

Derek.
« Last Edit: August 08, 2012, 11:38:24 PM by derekf »

Offline Phil

  • Hero Member
  • *****
  • Posts: 738
Re: can`t login
« Reply #1 on: August 07, 2012, 05:49:44 AM »
I have seen a few posts on tmp directories giving permission problem.

Issue here is user derek does not have permission to that directory.

So Alt+F2 > kdesu dolphin > apply the root password > look at the permissions for tmp and amend to derek, job done
« Last Edit: August 07, 2012, 10:01:18 AM by Phil »

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: can`t login
« Reply #2 on: August 07, 2012, 06:37:52 AM »
Phil,

 Sorry for the dumb question, but what do you mean by Att+F2 ?

I can only get a black screen with konsole on the screen.

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1627
  • UK MLU
Re: can`t login
« Reply #3 on: August 07, 2012, 06:59:23 AM »
In the konsole enter ls -ld /home/derek/* and post the result


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline Phil

  • Hero Member
  • *****
  • Posts: 738
Re: can`t login
« Reply #4 on: August 07, 2012, 10:00:41 AM »
Hi Derek,

Suggest replying with info to Andy first.

Brain and finger issues....

Press the Alt key and F2 at the same time, brings up a command box.
Type in kdesu dolphin to bring up dolphin as root.

You just have a minor permissions glitch, easy when you know how.

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: can`t login
« Reply #5 on: August 07, 2012, 11:09:25 PM »
ls -ld /home/derek/*

drwx--------- 91 derek derek 4096 Aug 8 15:03 /home/derek

Is that what you need ? i typed kdesu dolphin and dolphin came up as root, but not sure what to change.
« Last Edit: August 07, 2012, 11:20:14 PM by derekf »

Offline Phil

  • Hero Member
  • *****
  • Posts: 738
Re: can`t login
« Reply #6 on: August 07, 2012, 11:58:52 PM »
Hi Derek,

Most of the way there. When I type the command I get a long list of the contents of my home directory rather than just one entry.

Taking lots of care as root in dolphin find the problematical tmp directory and right click, look at the permissions. Should be in the name of derek and not root. Change to derek if this is the issue.

Also are there a lot of directories in /home/derek, there should be, and they should be in the name of derek. They should have been listed in the command Andy suggested. Slightly puzzling.



ps Another thought. Is your home directory new?  Doesitt contain any files you need or have saved? In which case go to the Control Centre, users, oblitorate user derek AND the home directory, make a new user derek to include a new home directory. CARE - if you obliterate the old user all files in that users home directory will be obliterated. Dirty fix.
 
« Last Edit: August 08, 2012, 12:03:48 AM by Phil »

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1627
  • UK MLU
Re: can`t login
« Reply #7 on: August 08, 2012, 03:08:35 AM »
From the output you provided, I can see that the home directory exists is populated and has the correct permissions, unfortunately I was expecting to see a list of the directories contained within /home/derek. The implication is that the /* was missed from the end of the command you typed in.

Try changing the command to ls -l /home/derek
In the list that is produced you should see an entry similar to drwx------ 48 derek derek   4096 Aug  8 09:55 tmp/
If you can see the line please post it back, if not, please post the list that was output

Regards


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: can`t login
« Reply #8 on: August 08, 2012, 04:55:30 AM »
ls -l /home/derek

drwx----- 2 derek derek 4096 jul 14 11:36 audacity1.3-derek/
-rw------  1 derek derek 59 jun 13 18:36 connect320.sh
-rw------  1 derek derek 59 jun 13 18:36 disconnect320.sh
drwx----  11 derek derek 4096 aug 6 23:36 Downloads/
-rwx----   1  derek derek 512 apr 21 2011 FirstSteps*
-rwx----   1 derek derek 503 apr 21 2011 ForumHelp*
drwx---    2 derek derek 4096 aug 6 22:23 Movies/
drwx---    2 derek derek 61440 aug 5 11:50 Music/
drwx---    3 derek derek 4096 dec 29 2011 My GCompris/
drwx---    4 derek derek 4096 aug 5 17:16 Pictures/
drwx---    2 derek derek 4096 jun 14 13:16 Templates/
drwxr-xr-x 2 root root 4096 aug 6 23:39 tmp/
drwx------ 3 derek derek 4096 aug 5 23:08 Videos/


I had to type all that out.

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1627
  • UK MLU
Re: can`t login
« Reply #9 on: August 08, 2012, 05:09:04 AM »
OK the permissions are shot on the tmp directory

enter the following
chmod 700 /home/derek/tmp
chown -hR derek:derek /home/derek/tmp


That should sort it out for you

Regards


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: can`t login
« Reply #10 on: August 08, 2012, 05:20:17 AM »
7272andy,

 I typed in what you said and rebooted. When pclinuxos goes to start it comes up a black screen with a konsole box in bottom right again.


Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1627
  • UK MLU
Re: can`t login
« Reply #11 on: August 08, 2012, 05:53:01 AM »
That sounds like you're booting to a failsafe session

On the login screen click on Session Type at the bottom of the screen and then select KDE and log in

What does ls -ld /home/derek/tmp show now?


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: can`t login
« Reply #12 on: August 08, 2012, 06:07:53 AM »
ls -ld /home/derek/tmp

drwx----- 2 derek derek 4096 Aug 6 23:39 /home/derek/tmp

I rebooted and on the login screen all there is:

PCLinuxos FullMonty
PCLinuxos FullMOnty-nonfb
PCLinuxos FullMonty(failsafe)
memtest-4.20

F1 Help    F2 Language    F3 Kernel Option

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1627
  • UK MLU
Re: can`t login
« Reply #13 on: August 08, 2012, 06:21:17 AM »
OK; your /home/derek/tmp directory looks good now.

The screen you're looking at is the boot screen, the login screen is where you select/enter your user name and password.

If you boot FullMonty or FullMonty-nonfb what happens? if you get a Konsole in the bottom right corner enter the command exit

Does this get you to the login screen?


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: can`t login
« Reply #14 on: August 08, 2012, 06:27:26 AM »
I booted FullMonty and when the kosole screen appears i typed exit and yes the login screen appeared.

So at the bottom of the screen i clicked the blue arrow and selected KDE and my system booted up properly.

Then i rebooted again and my system booted the right way without the konsole on the screen.

Now i guess my system is fixed ?
« Last Edit: August 08, 2012, 06:34:17 AM by derekf »