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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-20-2010, 01: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, 01:21 PM   #2
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
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 01:23 PM.
 
Old 05-20-2010, 06: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, 12:28 AM   #4
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12, Slackware64 14.2
Posts: 236
Blog Entries: 1

Rep: Reputation: 57
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 12:33 AM.
 
Old 05-21-2010, 02:01 AM   #5
JokerBoy
Member
 
Registered: Sep 2009
Posts: 140

Rep: Reputation: 24
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 02:03 AM.
 
  


Reply

Tags
crash, reset, startup, xserver



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

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

All times are GMT -5. The time now is 08:19 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