LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-15-2005, 04:45 AM   #1
JimmyL
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0
Unhappy Modifying resolution in Debian


Hi,

I am new to Linux and Debian.

I installed Debian using three floppies I prepared, and once the installation had configured my Network card the rest of the installation proceeded by downloading Debian direct from a mirror site.

The installation went well, and I decided to go with the Base debian system (not the standard desktop), but chose to additionally install X-windows and KDE during the install.

Finally the install was complete and the machine booted into KDE lovely!

My problem is that the screen resolution is set to 800 x 600, and I want to up it to 1024 x 768.

Logging on as root, I ran:

dpkg-reconfigure xserver-xfree86

I went through all the subsequent screens setting everything up as accurately as possible. I'm fairly sure I got most of the values right, but on re-booting the machine I now get the following messages:

"Starting K Display Manager: kdm."
"Not starting X display manager (xdm); it is not the default display manager."

Alas the screen goes black for a while and then prompts for a command-line login. No KDE at all!

Cheers, Jim
 
Old 12-15-2005, 05:06 AM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
That all looks about right and was the correct way to reconfigure your x server. What graphics card + monitor are you using? And have you looked through /etc/X11/XF86Config-4 to see if there are any problems, as this is where the settings for the x server are stored.
 
Old 12-15-2005, 05:17 AM   #3
JimmyL
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Hi,

I tried:

cat /etc/X11/XF86Config-4

but it disappears up the screen before I can read it all. I'm ashamed not to know, but I'm assuming there's an easy way to view it page by page?

My graphics card is: integrated ATI Rage Pro (AGP 2X)
Monitor: Dell D1025HE

The PC is an old Dell Optiplex GX1

Cheers, Jim
 
Old 12-15-2005, 05:52 AM   #4
mjolnir
Member
 
Registered: Apr 2003
Posts: 815

Rep: Reputation: 99
Try this:cat | more /etc/X11/XF86Config-4. Nothing to be ashamed of. Just as fouldsy said you may have to edit the file. Find the line that gives your max color depth and in that section add: "1024x768". If you happen to have a Knoppix LiveCD you can copy the file it generates to your installation.
 
Old 12-15-2005, 07:06 AM   #5
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
You can use
Code:
cat /etc/X11/XF86Config-4 | less
To scroll up and down to view the file.

Alternatively you can use vim or nano to view and edit (as root) the file.

Did you also try running the xf86config program? It usually produces a decent configuration if you enter safe values.

Last edited by vharishankar; 12-15-2005 at 07:08 AM.
 
Old 12-15-2005, 08:58 AM   #6
JimmyL
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Hi,

the "vim" was useful, but on checking the XF86Config-4 file, I have checked the highest colour depth and found that the "1024 x 768" is already in the config!

SubSection "Display"
Depth 24
Modes "1024 x 768" "800 x 600" "640 x 480"
EndSubSection


Also I'm still worried about the message I get on boot up:

"Not starting X display manager (xdm); it is not the default display manager."

Cheers, Jim
 
Old 12-15-2005, 09:35 AM   #7
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
My graphics card is: integrated ATI Rage Pro (AGP 2X)
Monitor: Dell D1025HE
In "dpkg-reconfigure xserver-xfree86" you should choose the "ati" driver and selecting "advanced" monitor configuration allows you to set horizontal and vertical refresh range. This monitor information is needed if you want to set optimal screen resolution.

A bit of Google'ing gave me these pages:
http://forum.rue-montgallet.com/ruem...et-45204-2.htm
http://cgi.ebay.es/Monitor-DELL-CRT-...QQcmdZViewItem
and they both suggest that for the Dell D1025HE monitor the horizontal sync should be set to 31.5-92 kHz while the vertical refresh is 50-150 Hz. If you still have your monitor's manual around, you should double-check this info before using it.

Quote:
Also I'm still worried about the message I get on boot up:

"Not starting X display manager (xdm); it is not the default display manager."
Try "dpkg-reconfigure xdm".
 
Old 12-15-2005, 09:50 AM   #8
JimmyL
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Hi,

I have set the horizontal sync to "31.5-92" and vertical refresh to "50-150" (I checked these values at: h t t p://support.dell.com/support/edocs/monitors/50292/specs.htm )

Still no joy.

When I run XDM or KDM the screen goes blank for a while and then pops back to the command prompt.

Using "dpkg-reconfigure xdm" I changed the default display manager from "KDM" to "XDM" but that did not improve things. At boot up, instead of getting:

"Starting K Display Manager: kdm."
"Not starting X display manager (xdm); it is not the default display manager."

I got instead:

"Not starting K Display Manager (kdm); it is not the default display manager."
"Starting X display manager: xdm."

Apart from that no improvement. I'm still left at the command prompt.

Cheers, Jim
 
Old 12-15-2005, 11:04 AM   #9
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Browse /var/log/XFree86.0.log for any lines that begin with (EE). The reason why X fails to start should be told in the last lines of that log file.
 
Old 12-16-2005, 04:23 AM   #10
JimmyL
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Ha ha!

Thanks very much for the hint about the /var/log/XFree86.0.log! It turns out my problems were all due to my mouse config! Nothing at all to do with my graphics card or monitor!

Well, you learn something new every day!

Many thanks to all who helped! I learnt a lot from every post!

Cheers, Jim
 
  


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
Debian Screen resolution..... Eux Debian 19 10-26-2005 06:30 PM
Modifying GUI screen resolution thru text jenson Red Hat 1 03-18-2005 03:33 PM
Name resolution problem in Debian TiredOfLinux Linux - Networking 4 02-21-2005 02:57 PM
Debian resolution Mingthefirst Debian 8 11-06-2004 08:53 PM
Debian LCD resolution halo14 Linux - Laptop and Netbook 2 08-17-2004 10:56 AM

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

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