LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-27-2008, 08:01 AM   #1
Teenna
LQ Newbie
 
Registered: Nov 2008
Location: I'm not really sure
Distribution: Debian Etch 4.0
Posts: 17

Rep: Reputation: 0
Exclamation I can't login neither as root or user. It won't let me login at all


Hello sorry for my grammar this is not my mother language
My problem:
I started my PC today "normally" and suddenly a gray square appeared in the middle of my screen telling me that my session last 10 seg and that I have lo login as "fialsession". I tried that but I only can got in with the terminal.
It said: "Can not open or create *(null)*,this indicate it can be a problem with your configuration, error:"Failed to create file '/tmp/gconf-test-locking-file-RZWBKU' Permission denied"(errno=2)
I'm here sitting and waiting (and getting in panic).
Yesterday I installed Picasa 3 and stopped cherokee from starting with the system, else I realized that I couldn't find my .bashrc file
Im really a baby here, just borned into Debian a week ago.
I really appreciate if anyone can help me.
Thanks for reading.
 
Old 11-27-2008, 08:22 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Try (as root): mkdir /tmp && chmod 1777 /tmp
 
Old 11-27-2008, 11:39 AM   #3
Teenna
LQ Newbie
 
Registered: Nov 2008
Location: I'm not really sure
Distribution: Debian Etch 4.0
Posts: 17

Original Poster
Rep: Reputation: 0
Talking Solved

Quote:
Originally Posted by AlucardZero View Post
Try (as root): mkdir /tmp && chmod 1777 /tmp
fIRST: THANK YOU VERY MUCH iT WORKED!

I have first to press Ctrl-Alt F6 to get into a tty (I guess that is that black window) login as root and then type what you wrote. At first it saiad that the /tmp already exists so I just typed:

$ chmod 1777 /tmp

then I press Ctrl-Alt F7 and that's it I was into my normal state.
What I wonder is what happened? See, I also like to know whys.
Anyway I just thanks you a lot.

Nice day.
 
Old 11-27-2008, 02:23 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Looks like the permissions on /tmp got corrupted somehow. They should be "drwxrwxrwt", or 1777. (An explanation of what that means is beyond the scope of my post)
 
Old 11-27-2008, 03:10 PM   #5
Teenna
LQ Newbie
 
Registered: Nov 2008
Location: I'm not really sure
Distribution: Debian Etch 4.0
Posts: 17

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by AlucardZero View Post
Looks like the permissions on /tmp got corrupted somehow. They should be "drwxrwxrwt", or 1777. (An explanation of what that means is beyond the scope of my post)
Well, the explanation of getting, the /tmp permissions corrupted, is good enough for me... for now. I appreciate that.
I will investigate more and learn more how this happened (what I did to corrupt it)

About the "drwxrwxrwt" I know that it means that /tmp is a directory (d) in which the owner has the permission to Read, Write and eXecute (rwx), the groups, the same (rwx) and the same for all others (rwx)

But, what on earth means "t"? on drwxrwxrwxt

About the Octal Permission 1777:
I know that r=4 w=2 x=1 and sum=7 total permissions for owner,groups and others (777)

But, again, what on earth means "1"? on 1777

Well, don't mean to use more of your time.
Thanks for everything.
 
Old 11-29-2008, 06:33 PM   #6
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
AFAIK, (I didn't check it in the docs ) the 't' is the sticky bit. It gives everyone rwx rights in /tmp, but as ordinary user you cannot remove other user's files.

BTW, you are never able to login as root in the Debian GUI (I guess it is Gnome in your case). Root logins are disabled by default, and for the reason that inside a GUI you don't want a program wich goes berserk let ruin your installation.

CTRL-ALT-F[1-6] was the right action indeed.

jlinkels
 
Old 11-30-2008, 12:15 PM   #7
Teenna
LQ Newbie
 
Registered: Nov 2008
Location: I'm not really sure
Distribution: Debian Etch 4.0
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jlinkels View Post
AFAIK, (I didn't check it in the docs ) the 't' is the sticky bit. It gives everyone rwx rights in /tmp, but as ordinary user you cannot remove other user's files.

BTW, you are never able to login as root in the Debian GUI (I guess it is Gnome in your case). Root logins are disabled by default, and for the reason that inside a GUI you don't want a program wich goes berserk let ruin your installation.

CTRL-ALT-F[1-6] was the right action indeed.

jlinkels
jlinkles,
thanks for your explanation about the "t" and for the tip about root.

Teenna
 
  


Reply



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
Root login but no user login on samba Cybercool Linux - Newbie 3 07-13-2011 05:36 AM
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 08:01 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 03:44 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:16 AM.

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
Open Source Consulting | Domain Registration