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 > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-22-2006, 10:23 AM   #1
spfdz
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Rep: Reputation: 15
Deleted XF86Config-4 file and it won't come back


I deleted my XF86Config-4 file assuming it would be recreated when I run dpkg-reconfigure xserver-xfree86 but it didn't.

Any ideas on how to get the file to recreate again?
 
Old 03-22-2006, 11:43 AM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Maybe apt-get install x-window-system?

You might need to add a --reinstall option
 
Old 03-22-2006, 01:29 PM   #3
jessdog9001
LQ Newbie
 
Registered: Mar 2006
Distribution: Debian Unstable
Posts: 14

Rep: Reputation: 0
You should be able to get a new XF86Config-4 if you run
Code:
/usr/X11R6/xf86config
or
Code:
/usr/X11R6/xfree86 -configure
as root. The first option will ask you about your graphics setup and then create the config for you, and the second option will attempt to detect what hardware is in your system, and will create an X configuration in /root/XF86Config-4.new which can then be copied into /etc/X11. Or, if you're desperate, you can make the file by hand--but it is a serious pain!
 
  


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
linux deleted, windows installed, but i want back zetsui Linux - General 11 07-29-2006 10:36 PM
Deleted user, want him back... leupi Linux - Networking 5 01-17-2006 08:55 PM
accidentally deleted some files and I don't know what I need to do to get them back Michele Linux - Newbie 2 06-26-2004 05:42 AM
Deleted Windows (from Linux), Now it's BACK Hayz Linux - Newbie 6 09-15-2003 02:18 AM
restore back deleted file edreddy Linux - General 4 07-19-2002 06:43 AM

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

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