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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
08-19-2002, 02:39 PM
|
#1
|
|
Member
Registered: Aug 2002
Distribution: ArchLinux 2007.08 / Slackware 11.0
Posts: 58
Rep:
|
locked out of X
i don't know what happened, how it happened, or why it happened, but i am locked out of X. I can startx as root, but not as my normal user. It gives me some bull about can't lock Xauthority or something to that effect. This happened one other time and i just wiped the hdd out and started over. i really don't want to take the cheap way out this time and lose all of my work that i have put into the system this time. I did already recompile the kernel. I thought it may help, but it didn't. PLEASE HELP ME. 
|
|
|
|
08-19-2002, 03:05 PM
|
#2
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,471
Rep: 
|
In your home directory:
rm .Xauthority
If it's the only problem it'll work again.
|
|
|
|
08-19-2002, 03:42 PM
|
#3
|
|
Member
Registered: Aug 2002
Distribution: ArchLinux 2007.08 / Slackware 11.0
Posts: 58
Original Poster
Rep:
|
i removed .Xauthority from my home directory. still didn't work. rebooted, still didn't work.
any other possible things that i can try?
|
|
|
|
08-19-2002, 04:28 PM
|
#4
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,471
Rep: 
|
Could you copy there the error you get? I know it isn't easy, but it'd help all people trying to solve your problem.
|
|
|
|
08-19-2002, 06:34 PM
|
#5
|
|
Member
Registered: Aug 2002
Distribution: ArchLinux 2007.08 / Slackware 11.0
Posts: 58
Original Poster
Rep:
|
bash# startx
xauth: timeout in locking authority file /home/user/.Xauthority
xauth: timeout in locking authority file /home/user/.Xauthority
xauth: timeout in locking authority file /home/user/.Xauthority
then KDE starts and tells me that something is screwed up, so i press Ctrl + Alt + Bkspce to logout. after you had me delete .Xauthority there is another error at this point.
cat: /home/user/.Xauthority directory or file missing
cat: /home/user/.Xauthority directory or file missing
cat: /home/user/.Xauthority directory or file missing
cat: /home/user/.Xauthority directory or file missing
cat: /home/user/.Xauthority directory or file missing
cat: /home/user/.Xauthority directory or file missing
cat: /home/user/.Xauthority directory or file missing
cat: /home/user/.Xauthority directory or file missing
|
|
|
|
08-20-2002, 02:40 PM
|
#6
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,471
Rep: 
|
Now try with new, empty .Xauthority. To create it use
touch ~/.Xauthority
Then startx again. In case of errors, copy them.
|
|
|
|
08-22-2002, 11:13 PM
|
#7
|
|
Member
Registered: Aug 2002
Distribution: ArchLinux 2007.08 / Slackware 11.0
Posts: 58
Original Poster
Rep:
|
i tried that and it still did the exact same thing. same errors were generated. it tells me that the DCOPSever cannot be initialized and therefore KDE cannot start.
|
|
|
|
08-23-2002, 04:50 PM
|
#8
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,471
Rep: 
|
Now it's KDE problem... Try with another window manager (create .xinitrc in your home firectory and put startgnome, startwindowmaker or any other command to run a window manager).
Are you sure your KDE is properly configured?
|
|
|
|
08-26-2002, 02:05 AM
|
#9
|
|
Member
Registered: Aug 2002
Distribution: ArchLinux 2007.08 / Slackware 11.0
Posts: 58
Original Poster
Rep:
|
i have been using KDE since i installed slackware. i tried to install yahoo like another member told me, and then the next thing that happened was no more KDE. i'm not real happy about it. I know there has to be a way to fix it. I have to have KDE, i can't live without it.
i'm not sure what you mean by
Quote:
|
create .xinitrc in your home firectory and put startgnome, startwindowmaker or any other command to run a window manager
|
do i create it just like you had me create .Xauthority? and how do i "put" that command?
i am a fast learner, but i am very new.
|
|
|
|
08-26-2002, 02:19 AM
|
#10
|
|
Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611
Rep:
|
To 'create' xinitrc, you can use any text editor you'd like. Make the file in your home directory, and simply type the lines Mara said:
startgnome
startwindowmaker (actually I thought it was startwm, but I don't know)
startkde
OR these lines are what I use:
#!/bin/bash
#exec kde
#exec gnome
exec gkrellm &
exec fluxbox
And that's it, I think anyway.
|
|
|
|
08-26-2002, 04:00 AM
|
#11
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,471
Rep: 
|
And copy the erros connected with DCOP, maybe it's quite easy to fix.
|
|
|
|
08-28-2002, 12:09 PM
|
#12
|
|
Member
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386
Rep:
|
Try copying the .Xauthority from another users's directory over.
You could also try adding a new user to the system, logging in as them and starting up X.
|
|
|
|
08-28-2002, 02:02 PM
|
#13
|
|
Moderator
Registered: May 2001
Posts: 24,805
|
try adding this line to the top your .xinitrc, it will generate .Xauthority for your display:
xauth generate $DISPLAY . trusted &
|
|
|
|
10-09-2002, 05:57 PM
|
#14
|
|
LQ Newbie
Registered: Oct 2002
Location: Tennessee
Distribution: Slackware 8.0
Posts: 1
Rep:
|
This exact same thing happened to me this morning. The problem was that ownership of my home directory was changed to root.root.
I don't know why it happened. I had su'ed in my home directory to run pkgtool (Slackware) to install gnucash.tgz that I had downloaded. gnucash wouldn't launch, so I used pkgtool to remove the package. The next time I booted, I couldn't launch X unless I was logged in as root. I experienced every error that the original poster did. Only when I got a permission error when I tried to rm .Xauthority from my home directory did I think to check ownership of my ~/.
FWIW
Terry
|
|
|
|
10-09-2002, 07:01 PM
|
#15
|
|
Member
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177
Rep:
|
To use windowmaker, type wmaker.inst - it will add the relevant entry into your .xinitrc
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
locked out
|
kwickcut |
Mandriva |
6 |
11-14-2005 10:09 PM |
|
Locked out of SU...
|
wiskic10_4 |
Linux - Newbie |
6 |
12-03-2004 06:49 PM |
|
Locked out of RH 9
|
carmoda |
Linux - Security |
3 |
12-16-2003 09:44 AM |
|
Locked out
|
downinthemine |
Mandriva |
1 |
10-28-2003 04:00 PM |
|
Locked out
|
captain_bogus |
Linux - Newbie |
11 |
08-11-2003 04:32 PM |
All times are GMT -5. The time now is 12:30 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|