LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-13-2006, 04:29 PM   #1
pingvina
Member
 
Registered: Nov 2005
Distribution: slack
Posts: 188

Rep: Reputation: 30
cannot login


i list world writable dirs:
find / -perm -0002 -type d -print
and then change permission:
find / -perm -0002 -type d -print | xargs chmod 644
...now i cannot login with regular user, only as root
i check /var/log for clue...

xdm-errors- /etc/X11/xdm/Xsession - line 15 Permission denied - it is /dev/null (i changed that to "775")
- line 52 Permission denied -it is also /dev/null

/usr/X11R6/lib/X11/fonts/CID - it is also 775.
 
Old 01-13-2006, 04:50 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
what are/were you trying to do? you have to be carefull changing permissions. Check the permissions on your home directory

0 = --- = no access
1 = --x = execute
2 = -w- = write
3 = -wx = write and execute
4 = r-- = read
5 = r-x = read and execute
6 = rw- = read and write
7 = rwx = read write execute (full access)
 
Old 01-13-2006, 04:55 PM   #3
pingvina
Member
 
Registered: Nov 2005
Distribution: slack
Posts: 188

Original Poster
Rep: Reputation: 30
what is that arch distribution??
 
Old 01-13-2006, 05:00 PM   #4
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
I would stay away from arch for a while if i were you.

http://distrowatch.com/table.php?distribution=arch
 
Old 01-13-2006, 05:01 PM   #5
pingvina
Member
 
Registered: Nov 2005
Distribution: slack
Posts: 188

Original Poster
Rep: Reputation: 30
stderr is not a tty - where are you?
apps file failure
BScreen::BScreen: managing screen 0 using visual 0x23, depth 24
Error: No running window found
X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).

this is .xsession-errors in my home dir... any clue
 
Old 01-13-2006, 05:02 PM   #6
pingvina
Member
 
Registered: Nov 2005
Distribution: slack
Posts: 188

Original Poster
Rep: Reputation: 30
how much space it is usung installed??
 
Old 01-13-2006, 05:09 PM   #7
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
huh?? right now it looks like X is whats giving you the problems. are you able to startx as root?
 
Old 01-13-2006, 05:16 PM   #8
pingvina
Member
 
Registered: Nov 2005
Distribution: slack
Posts: 188

Original Poster
Rep: Reputation: 30
X loads as root
which files it is needing??
 
Old 01-13-2006, 05:20 PM   #9
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
are you root right now? from a terminal, type

su <your username> <- not root username, your normal user
then enter your password at the prompt.

are you able to log in that way?
 
Old 01-13-2006, 05:22 PM   #10
pingvina
Member
 
Registered: Nov 2005
Distribution: slack
Posts: 188

Original Poster
Rep: Reputation: 30
yes... i log even without password!?
 
Old 01-13-2006, 05:23 PM   #11
pingvina
Member
 
Registered: Nov 2005
Distribution: slack
Posts: 188

Original Poster
Rep: Reputation: 30
which file to download - arch or arch base??
 
Old 01-13-2006, 05:28 PM   #12
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
lol....ok if you are still logged in as your normal user type
passwd
at the prompt and you can set a password.
Now back to permissions.
try
mv -fr /home/<your user>/.kde /home/<your user>/.kde.old
then
mv -fr /home/<your user>/.kderc /home/<your user>/.kderc.old

use tab for the second one, i don't remember if it is .kderc, but i think it is.
then log out completely and try to log in as your normal user.
 
Old 01-13-2006, 05:30 PM   #13
pingvina
Member
 
Registered: Nov 2005
Distribution: slack
Posts: 188

Original Poster
Rep: Reputation: 30
-rw------- 1 user user 165 2006-01-06 16:41 .ICEauthority
-rw------- 1 user user 0 2006-01-14 00:17 .Xauthority
-rw-r--r-- 1 user user 342 2006-01-06 03:47 .Xdefaults
-rw------- 1 user user 4784 2006-01-14 01:32 .bash_history
-rw-r--r-- 1 user user 21 2006-01-06 03:47 .bash_profile
-rwxr-x--- 1 user user 961 2006-01-09 19:39 .bashrc

is that correct permissions?
 
Old 01-13-2006, 05:30 PM   #14
pingvina
Member
 
Registered: Nov 2005
Distribution: slack
Posts: 188

Original Poster
Rep: Reputation: 30
this is my home dir... not root
 
Old 01-13-2006, 05:32 PM   #15
pingvina
Member
 
Registered: Nov 2005
Distribution: slack
Posts: 188

Original Poster
Rep: Reputation: 30
i use fluxbox.
 
  


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
How to setup system Login banner and Login message 06-03-05 Linux - Newbie 13 07-24-2020 02:05 PM
Crazy blank dialog boxes and windows at login. Can't login as user soren625 Linux - General 2 08-11-2004 06:30 AM
login screen font size over 100 - can't login xzy2435 Linux - Newbie 1 11-20-2003 11:40 AM
Changin Graphical Login to command line login 3DLirio Linux - Newbie 2 10-16-2003 09:43 PM
Win2k Login wont work for samba login hellertech Linux - Networking 2 07-24-2003 09:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:04 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
Open Source Consulting | Domain Registration