LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-07-2008, 09:22 PM   #1
Kimnadz
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Rep: Reputation: Disabled
Unhappy Screen Resolution Issues (For a Learner)


I am new to Ubuntu and linux and not very computer savy. However, got a Dell D610 that came loaded with Ubuntu 8.04 and it was working well for a few days. It then suddenly changed screen resolution to 640 X 480 at 60Hz and will not allow me to go any higher. This was not the case when I got the laptop. I am looking for someone patient to walk me through how to change the resolution back to 1000 and higher x something else. Sorry for the vagueness, as I said not very comp savvy and new to Linux and Ubuntu.
 
Old 04-08-2008, 05:16 AM   #2
dr_agon
Member
 
Registered: Sep 2007
Location: Poland
Distribution: Ubuntu LTS
Posts: 102
Blog Entries: 12

Rep: Reputation: 26
Quote:
Originally Posted by Kimnadz View Post
However, got a Dell D610 that came loaded with Ubuntu 8.04
Wow, someone preinstalled beta version???
Quote:
Originally Posted by Kimnadz View Post
It then suddenly changed screen resolution to 640 X 480 at 60Hz and will not allow me to go any higher. This was not the case when I got the laptop.
Probably after automatic update it cannot sense the correct sttings itself.

I usually resolve this problem by finding the correct monitor parameters manually and putting it into configuration file xorg.conf. So, you have to:

1. find the parameters
launch the terminal and use either gtf or (better) cvt utility to get the proper modeline for your monitor. You should get something like this:
Code:
jl@nch-002:~$ gtf 1280 1024 60

  # 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz
  Modeline "1280x1024_60.00"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync
See man gtf for explanation of parameters.

2. insert the parameters to /etc/X11/xorg.conf
(You will need root privileges to edit this file.)
Code:
sudo gedit /etc/X11/xorg.conf
Insert the whole modeline you just got into the "Monitor" section and make sure the name of this modeline ("1280x1024_60.00" in the above example) is included in desired subsection "Display" of section "Screen".

3. restart Xserver

You may search the LinuxQuestions.org to get more information about your problem, it is quite common.

Good luck.
 
Old 04-09-2008, 02:55 AM   #3
Kimnadz
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Original Poster
Rep: Reputation: Disabled
1. find the parameters
launch the terminal and use either gtf or (better) cvt utility to get the proper modeline for your monitor. You should get something like this:
Code:
jl@nch-002:~$ gtf 1280 1024 60

  # 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz
  Modeline "1280x1024_60.00"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync
See man gtf for explanation of parameters.

Did this with no problem what so ever - thanks.

2. insert the parameters to /etc/X11/xorg.conf
(You will need root privileges to edit this file.)

Tried doing this but got the prompt "Permission denied". How do I get root privileges to reconfigure my settings? Aargh.
 
Old 04-10-2008, 12:33 AM   #4
dr_agon
Member
 
Registered: Sep 2007
Location: Poland
Distribution: Ubuntu LTS
Posts: 102
Blog Entries: 12

Rep: Reputation: 26
Quote:
Originally Posted by Kimnadz View Post
Tried doing this but got the prompt "Permission denied". How do I get root privileges to reconfigure my settings? Aargh.
See https://help.ubuntu.com/community/RootSudo
 
Old 04-10-2008, 04:22 AM   #5
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
Quote:
How do I get root privileges to reconfigure my settings?
Use the sudo command. So if you wanted to edit the xorg.conf file, you could use the following commands in the following way within a command line terminal window:

(you might want to create a backup of the xorg.conf file first, so you would do:

Code:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
Then it is safe to edit the file with the commands:

Code:
sudo pico /etc/X11/xorg.conf
So now you can add or modify the lines in the file.

Then, to save the file, hold CTRL+O then to exit the file editor, hold CTRL+X


To summarise the above commands a bit for you:

sudo = Super User DO, means the following command will be done with Super User privilidges.

cp = copy!

pico = is a text file editor (one of many) 'nano' is also another option

/etc/X11/xorg.conf = simply the path and the filename.

Regards,
Greenie
 
Old 04-12-2008, 07:58 AM   #6
Kimnadz
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hey guys, thank you very very much for your help. The Sudo command worked and my computer is back to normal and now working fine.

When I entered: sudo pico /etc/X11/xorg.conf I got a prompt telling me "If you have edited this file but would like to be automatically updated again run the following command: sudo dpkgpreconfigure -phigh xserver-xorg

This enabled any upgrades or downloads to recognise that there was an error in settings and restore the correct resolutions. Computer now back to normal resolutions and working fine. However half another question now, if the text is too small and I keep needing to use the ctrl + + and ctrl + - commands to get it to a useable size. Is there any way of setting it to my own personal preference?

Again cheers guys.
 
Old 04-12-2008, 08:21 AM   #7
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
When is the text too small? In the web browser? The application menu? In a terminal? On the login screen?

Or is it too small everywhere?
 
Old 04-12-2008, 04:18 PM   #8
Doctorzongo
Member
 
Registered: Mar 2008
Distribution: Fedora 11
Posts: 72

Rep: Reputation: 15
Quote:
Originally Posted by Kimnadz View Post
I am new to Ubuntu and linux and not very computer savy. However, got a Dell D610 that came loaded with Ubuntu 8.04 and it was working well for a few days. It then suddenly changed screen resolution to 640 X 480 at 60Hz and will not allow me to go any higher. This was not the case when I got the laptop. I am looking for someone patient to walk me through how to change the resolution back to 1000 and higher x something else. Sorry for the vagueness, as I said not very comp savvy and new to Linux and Ubuntu.
If I remember correctly, somewhere in Ubuntu preferences is 'Display.' You need to change how Ubuntu reads the screen size itself, and then change the resolution.
 
  


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
A few issues (networking and screen resolution) RpgActioN Debian 1 01-02-2008 11:58 PM
screen resolution issues thebiggiantmouse Mandriva 8 08-31-2006 08:59 PM
screen resolution issues with nvidia gforce go 5600 Sul Linux - Laptop and Netbook 9 08-16-2004 10:44 AM
no horizontal sync? screen resolution issues. scabies Linux - Hardware 4 07-02-2004 01:13 PM
Screen resolution issues reign Linux - General 1 02-09-2004 10:14 AM

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

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