LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-20-2010, 02:05 PM   #1
flash619
LQ Newbie
 
Registered: May 2010
Posts: 2

Rep: Reputation: 0
Post How to reset xserver configurations?


Ok long story I will try my best.

I dont know much about linux, some basic console commands nuthing much, but I was setting up slackware for my server. The hardware was a bit old, so after making a new user and logging in, I tried my best to go into the theme settings, and change the current theme. Immedietly after hitting apply, It went back to console, and now startx tries to start xserver but crashes it. Is there a way I can reset the config? Possibly with the install cd?

I dony have anything to loose, so if i must reformat I will, but this would be something good to know for future mistakes either way. Thanks in advance!

-Travis
 
Old 05-20-2010, 02:21 PM   #2
Timothy Miller
Member
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian Jessie, OpenSuse 13.1, Chakra.
Posts: 723

Rep: Reputation: 114Reputation: 114
As root:

cd /etc/X11/
mv xorg.conf xorg.conf.old

Edit - Depending on your version of Xorg, you might be able to try starting X with no xorg.conf.

I'm ASSUMING this is current Slackware?

Last edited by Timothy Miller; 05-20-2010 at 02:23 PM.
 
Old 05-20-2010, 07:51 PM   #3
flash619
LQ Newbie
 
Registered: May 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Yes it is slackware 13
 
Old 05-21-2010, 01:28 AM   #4
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12 and higher
Posts: 229

Rep: Reputation: 51
Quote:
Originally Posted by flash619 View Post
Ok long story I will try my best.

... after making a new user and logging in, I tried my best to go into the theme settings, and change the current theme. Immedietly after hitting apply, It went back to console, and now startx tries to start xserver but crashes it. Is there a way I can reset the config? Possibly with the install cd?

I dony have anything to loose, so if i must reformat I will, but this would be something good to know for future mistakes either way. Thanks in advance!

-Travis
From what you said, you didn't edit xorg.conf or anything. The first thing that I would do is log in as root and create a second new user, say testuser or bob or something, then log in as testuser or bob or something and startx there.

Since testuser, bob, or something is a new user that user will be getting new copies of user themes and things.

If that new, second user can successfully startx and bring up a desktop then that tells you that what you corrupted is limited to a single user (your original user). If that new users startx crashes as well then that tells you that what you mis-configured is more system oriented.

If it is limited to a single user then the easiest thing to do would be to blow your normal log in user away and recreate it. If you decide to go that route then after you delete the user (as root) do a "ls /home" and make sure that the user with the corrupted X home directory is gone. If that user directory is not gone then (as root) just do an "rm -rf /home/[user name]" where [user name] is replaced with your user name with the corrupted X. Then, still as root, re-created that user and you should be good to go.

Hope this makes sense!

Last edited by jamesf; 05-21-2010 at 01:33 AM.
 
Old 05-21-2010, 03:01 AM   #5
JokerBoy
Member
 
Registered: Sep 2009
Posts: 140

Rep: Reputation: 23
hmm, do you used kde system settings to change your theme?

if true, rm -rf ~/.kde{,4} and try starting X again.

Last edited by JokerBoy; 05-21-2010 at 03:03 AM.
 
  


Reply

Tags
crash, reset, startup, xserver


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
fatal IO error 104 connection reset by peer on xserver busi007 Linux - Software 1 07-22-2008 05:37 AM
xserver lost configuration, dpkg-reconfigure xserver-xorg isn't helping bezdomny Linux - Software 5 07-13-2008 01:33 PM
Can I Reset Xserver Library File Search Path? Daniel N. Santiago Linux - Newbie 1 08-18-2006 01:45 PM
Reset Yum and Synaptic to their default configurations JRR883 Linux - Software 3 10-19-2005 04:14 PM
xserver-xorg config warning: migrating xserver-xfree86 templates doctorwebbox Debian 9 07-27-2005 08:24 PM


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