LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-12-2008, 04:24 PM   #1
Woozle
LQ Newbie
 
Registered: Aug 2006
Location: Sutton, Surrey, England
Posts: 14

Rep: Reputation: 0
How do I correct faulty graphics config


(I'm pretty much a newbie at Linux, am learning fast, but still picking up some fundamentals)

I'm running Ubuntu 8.04.1 64-bit server with KDE gui

I had to reboot the server and for some reason it came back up with the screen resolution running at 800x600, instead of the original 1680x1050 (or whatever it was).

So I went into the display gui and reconfigured the settings back to how I thought they were, but now when the server boots it seems to fail when starting the graphics and just falls back to the command line.

I have a sneaky feeling I set the refresh rate too high for what the screen is capable of, so it fails and falls back to the command line.

But whatever the reason, I need to get into a config file somewhere and amend some settings, so at least the graphics fire up and I can then work out the correct settings.

So, from the command line, what do I need to look at and amend so I stand some chance of getting a gui back up ?

Many thanks
 
Old 11-12-2008, 05:23 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
it's probably /etc/X11/xorg.conf
there may be a backup file there /etc/X11/xorg.conf.bak
you can use nano or pico if either is installed, to edit the file.
# cd /etc/X11
# ls -l
# nano xorg.conf
remember that there may be a backup there, that may be overwritten when you save a new copy.
you can
# cp xorg.conf xorg.conf.newextracopy
# cp xorg.conf.bak xorg.conf.bak.bak
for extra copies for safety
 
Old 11-12-2008, 06:18 PM   #3
linuxcanuck
LQ Newbie
 
Registered: Nov 2008
Location: Canada
Distribution: Ubuntu 8.10 and at least ten others at any given time
Posts: 26

Rep: Reputation: 15
Try: sudo dpkg-reconfigure xserver-xorg

This will reconfigure the xserver.
 
Old 11-14-2008, 09:19 AM   #4
Woozle
LQ Newbie
 
Registered: Aug 2006
Location: Sutton, Surrey, England
Posts: 14

Original Poster
Rep: Reputation: 0
Smile

I tried sudo dpkg-reconfigure xserver-xorg as the quick fix to get my graphics back. But will play with xorg.cong in due course to see what it can do for me.

Many thanks, Guys
 
Old 11-14-2008, 10:00 AM   #5
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Why are you running a server at 1680x1050?

It is not a good idea to run GUIs on servers...or do you really want to use the desktop edition.
 
  


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
Apache(everything works ????????????Correct config bunty82 Linux - Server 1 07-24-2008 03:20 PM
correct config of Hosts file ankycooper Red Hat 1 06-15-2006 01:07 AM
Correct graphics/framebuffer kernel config options -- garbled console text? Prostetnic_Jeltz Slackware 9 04-20-2006 10:29 AM
Is my Exim4 config file correct?... need help. ExCIA Debian 9 05-09-2005 02:58 PM
Mandrake won't config. correct Darkangel90 Linux - Newbie 3 06-04-2002 06:21 AM

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

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