LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-02-2004, 04:25 PM   #1
zedman
LQ Newbie
 
Registered: Aug 2004
Location: Virginia
Distribution: Debian Sarge
Posts: 11

Rep: Reputation: 0
Adding a resolution to Debian


Hey all, I'm trying to find out how to add more resolutions and refresh rates to my debian box. I am really new to linux and am trying to learn. Thanks for any help you can offer.

~zed
 
Old 08-02-2004, 04:52 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
If you're using x.org then edit the /etc/X11/xorg.conf, if you're using XFree86 edit /etc/X11/XF86Config
In them you'll find a section containing lists of resolutions and a Monitor section comprising refresh rates and various other monitor details. Edit some details and add extra resolutions in the same manner as they are there.

Make a backup of the file first and then experiment, it's the best way to learn. If it all goes tits up then you can restore from the back up.
 
Old 08-02-2004, 05:24 PM   #3
zedman
LQ Newbie
 
Registered: Aug 2004
Location: Virginia
Distribution: Debian Sarge
Posts: 11

Original Poster
Rep: Reputation: 0
heh, I'm sorry but I don't even know how to go about this. I feel like a dumbass :\
 
Old 08-02-2004, 05:32 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
First get out of X windows so you can make changes. Change to runlevel 2 by typing 'telinit 2' in a console windows (konsole/gnome-terminal/xterm/aterm etc).

Then use an editor with which you feel comfortable to edit the file I mentioned above. You'll only have one of the 2 so which to edit isn't an issue. As a beginner I would use something like Pico. The ^ symbols on the menu at the bottom mean to hold the control (CTRL) key. e.g. CTRL + o saves a file to disk.

create a backup of the file first. e.g.:
Code:
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
then if it all goes wrong, do:
[code]
cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf
[/code
to get your original configuration back.

All this as root of course.

To try out your new config type startx
(you may know this, but I don't know if Debian is text mode or graphical mode login by default).
If you want to get back to graphical login then type: telinit 4
(or it might be 5 in debian, I don't know)
 
Old 08-02-2004, 05:38 PM   #5
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,210

Rep: Reputation: 71
There are a couple of ways to do it. Open a terminal and become root, by entering the command "su" and then the root password when prompted. Then do one of the following:

1. Enter the command
Code:
dpkg-reconfigure xserver-xfree86
2. Enter the command
Code:
xf86config
and follow the instructions here: http://www.bitbenderforums.com/vb22/...?postid=313121 (I know this says Slackware, but it works the same in Debian).

3. Go here: http://www.morphix.org/debian/binari...0.1-6_i386.deb and download xconf. Install it with:
Code:
dpkg -i xconf*.deb
Then enter the command "xconf" and follow the instructions.

Hope that helps.
 
Old 08-02-2004, 05:43 PM   #6
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,210

Rep: Reputation: 71
One more thing, I think running "xf86config" is the most sure fire way to fix things. Just read the tutorial carefully.

By the way, Slackware has switched to xorg, but Debian still uses xfree86. Therefore, the configuration file you want is /etc/X11/XF86Config-4.

If your display is messed up, pressing ctrl+alt+F1 will bring up a text login prompt. After you are done trying to configure things, press ctrl+alt+F7 to return to X-windows and press ctrl+alt+backspace to re-start x-windows. If things still aren't configured correctly, go back again with ctrl+alt+F1 and start again.
 
Old 08-02-2004, 08:28 PM   #7
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 52
If you are new to Debian, reading this article will answer must of your questions, it is non-technical and explains everything in detail, a 'must' read.

The Very Verbose Debian installation Walkthrough
http://osnews.com/story.php?news_id=2016
 
Old 08-02-2004, 11:10 PM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,592

Rep: Reputation: 96
Re: Adding a resolution to Debian

Quote:
Originally posted by zedman
Hey all, I'm trying to find out how to add more resolutions and refresh rates to my debian box. I am really new to linux and am trying to learn. Thanks for any help you can offer.

~zed
What is most likely happening is you have chosen refresh rates for the monitor that are too low, using the already mentioned dpkg-reconfigure xserver-xfree86 command you should be able to enter in the proper rates for your monitor and resolutions. If it does not work then do you have some place to post the files /etc/X11/XF86Config-4 and /var/log/XFree86.0.log so we can see what you are using for a config and how the X server is getting started. You can post them here but you will have to split up the log file it will be over the limit IIRC.
 
  


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
Adding a spice of Debian lectraplayer Fedora 2 08-17-2005 06:30 PM
adding user on debian system anjani.78 Linux - Newbie 2 07-18-2005 07:36 AM
Adding smbfs to Debian jbrashear Linux - Newbie 2 04-03-2005 08:10 PM
adding a resolution and linux logo in boot up xemous Linux - Newbie 1 09-04-2004 11:48 AM
Adding printer in Debian Sarge noxious Debian 2 06-28-2004 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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