LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-11-2010, 07:37 AM   #1
ibwew
LQ Newbie
 
Registered: Mar 2008
Posts: 24

Rep: Reputation: 1
startx problem


OK guys....help me out. I've been using Slackware 13 since it was released and suddenly this morning startx quit working for me as a regular user. It will work as root. I also created a new user and it works fine there too. I'm thinking I have some corrupted files as my regular user but I don't know which ones to look at. I've already replaced the .Xauthority file but that didn't help. Any ideas??

Thanks !
 
Old 02-11-2010, 08:27 AM   #2
DonnieP
Member
 
Registered: Jan 2008
Location: Richmond, VA USA
Distribution: Slackware
Posts: 144

Rep: Reputation: 29
If you think startx itself is corrupt, you might run xwmconfig to regenerate it.
 
Old 02-11-2010, 08:57 AM   #3
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
If you have been using startx to get to KDE4, then it is possible that your /usr/tmp/kdecache-<username>/ksycoca4 database is corrupt. You could try running /usr/bin/kbuildsycoca4 to rebuild the database.
 
Old 02-11-2010, 09:58 AM   #4
ibwew
LQ Newbie
 
Registered: Mar 2008
Posts: 24

Original Poster
Rep: Reputation: 1
Startx itself works. I created another regular user and it works fine there....also as root. Just my regular user account quit. It's some file corrupted in my user startup I assume.
 
Old 02-11-2010, 02:29 PM   #5
DonnieP
Member
 
Registered: Jan 2008
Location: Richmond, VA USA
Distribution: Slackware
Posts: 144

Rep: Reputation: 29
I misspoke in my previous post. Startx will source your user's .xinitrc if you have one. I would think that's where corruption might lie. Xwmconfig will regenerate your .xinitrc file - not startx itself.
 
Old 02-11-2010, 05:33 PM   #6
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 326

Rep: Reputation: 56
I agree with DonnieP, it sounds like an issue with your .xinitrc file. If I were having this problem, I'd probably back up my .xinitrc, then copy over the .xinitrc from the user account that can startx to my home directory. See if that fixes your problem.

Also, are you getting any error messages when you try to startx? Have you checked your logs (/var/log/Xorg.0.log)? There might be some clues to be found..

Hope that helps!
 
Old 02-11-2010, 07:52 PM   #7
ibwew
LQ Newbie
 
Registered: Mar 2008
Posts: 24

Original Poster
Rep: Reputation: 1
OK......I'll give that a try. I'm away from home now but will be back tomorrow night and I will copy the .xinitrc file over then. I'll let ya'll know how it turns out!!

Thanks everyone!!!!
 
Old 02-13-2010, 06:48 AM   #8
ibwew
LQ Newbie
 
Registered: Mar 2008
Posts: 24

Original Poster
Rep: Reputation: 1
Well...that didn't work. I didn't have an .xinitrc in my home directory so I copied /etc/X11/xinit/xinitrc and placed it in there. It still doesn't start. I also ran "xorgsetup" as root but that didn't help either. If I hit Ctrl+Alt+F1 it scrolls "No Protocol Specified" until it times out and gives some error message about "invalid argument" and no permission for my home .Xauthority. I've already replaced the .Xauthority with one I copied from the new user account I created but that didn't help either.

I'm considering just deleting this user account and recreating it but I have some emails I need to save first. Where can I find those emails as root so I can save them?? I've already copied everything I need out of that "home" directory.

Thanks
 
Old 02-13-2010, 06:58 AM   #9
ibwew
LQ Newbie
 
Registered: Mar 2008
Posts: 24

Original Poster
Rep: Reputation: 1
Oh.....I forgot to mention, I'm using Seamonkey for my browser and also my email. I've looked in /home/MyUserName/.mozilla/seamonkey but I there is no mail folder. Where do I look to find my email with Seamonkey?

Thanks
 
Old 02-13-2010, 12:44 PM   #10
Hangaber
Member
 
Registered: Sep 2004
Location: USA
Distribution: Slackware, Debian
Posts: 93

Rep: Reputation: 25
Mails in your 'inbox' will generally be in the file "/var/spool/mail/yourUserName". Mails you already downloaded will probably have been saved by the email app to somewhere in /home/yourUserName ... including in one of those lucky .hidden folders. (Make sure you do a 'FULL' backup of that /home/yourUserName ... not just a copy of the visible folders.)
 
Old 02-13-2010, 01:45 PM   #11
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 326

Rep: Reputation: 56
Sorry to repeat myself, but you don't mention if you've tried this.

Your log file will probably give you some clues as to where to start looking for the problem. You can browse through it, and see what happens at the end. Or you can grep (EE) (for errors) or (WW) (for warnings) to just look at those types of messages. The file is at /var/Xorg.0.log

Of course, if you don't mind recreating your user account, you can always do that instead.

Hope that helps.
 
  


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
startx problem brajesh153 Linux - Newbie 2 04-14-2006 06:59 AM
(nvidia) First startx = blank screen, second startx = works ?!? BuckRogers01 Linux - Hardware 2 04-07-2006 06:26 PM
startx problem NNP Linux - Software 2 05-14-2005 10:37 AM
Bug / Xwindows / startx : xinit works but startx crash www.rzr.free.fr Linux - Software 4 10-17-2004 09:06 AM
startx problem dark_light Linux - General 4 05-03-2003 10:27 PM


All times are GMT -5. The time now is 03:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration