LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-09-2013, 10:39 AM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Rep: Reputation: 131Reputation: 131
Where is default display resolution stored if not in xrog.conf?


For some reason, when I start xfce, it starts up in a lower resolution of 1680x1050. I can switch to 2048x1152, and that works fine, but if I remote into the box via tightvnc (or any other vnc client), the vnc window is only 1680x1050. Something is 1) causing the default resolution to be 1680x1050 at startup, and 2) telling vnc clients that the display is still at 1680x1050 even when it is not.

There is no resolution specified in xorg.conf. Where is this default resolution of 1680x1050 stored? I'm assuming it is stored somewhere because it didn't used to do this. I'm not sure what I did, but a week or two ago this started. Prior to that, xfce would always come up at 2048x1152.

I had the same problem a month or so ago. I ran a program that switched the display to 1024x768, and this setting was stored somewhere such that when I restarted, the display would come up as 1024x768. After resetting it to 2048x1152, any vnc clients that connected would be told that the display was 1024x768, regardless of the fact that I had changed it.

So - where is the resolution stored, since it seems it is no longer stored in xorg.conf?
 
Old 07-09-2013, 11:16 AM   #2
BlackRider
Member
 
Registered: Aug 2011
Posts: 295

Rep: Reputation: 101Reputation: 101
As far as I know, relevant configuration is stored in /etc/X11/xorg.conf.d and in /etc/X11/xorg.conf if any. If configuration does not specify a resolution, the system will try to guess a proper one automatically.

I don't know if complex desktop environments have their own capabilities to switch resolution or how they would do so, sorry.
 
Old 07-09-2013, 11:30 AM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,383

Rep: Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762
Perhaps the default resolution of 1680x1050 is coming from the EDID in your monitor. Does 'xrandr --verbose' give any clues?
 
Old 07-09-2013, 02:19 PM   #4
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by allend View Post
Perhaps the default resolution of 1680x1050 is coming from the EDID in your monitor. Does 'xrandr --verbose' give any clues?
Interesting enough, xrandr shows that it is set to 1680x1050, even though the display is actually at 2048x1152 - I know, I looked at it to be sure.

How can this be? Why does xrandr think it is in 1680x1050, when it is in fact sitting at 2048x1152?

So I played with it a bit, and I am not getting consistent results. I can't identify why it sometimes starts at a lower resolution, and sometimes a higher. It is related to the resolution I was in when I last ran x, but not always. I need to play with this some more to see if I can identify a reproducible pattern.

The fix for now is to run xrandr at x startup to force the resolution. This works. Seems a kluge but gets the job done.
 
Old 07-09-2013, 04:06 PM   #5
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Rep: Reputation: 46
I don't even have a xorg.conf file on my machine and the xorg.conf.d directory is empty so apparently these are no longer needed for many installations. However can't you still create/edit xorg.conf and specify your preferred display resolution? I'm not an experienced user so I might be wrong but if memory serves I had to do that in Slackware 12.1.
 
Old 07-09-2013, 07:04 PM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,383

Rep: Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762
You may find an explanation under the "Limitations" heading. http://en.wikipedia.org/wiki/Extende...ification_data
 
  


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
[SOLVED] Resolution of display dropped to default size mojofender Ubuntu 2 04-24-2013 12:06 PM
Where are gnome default desktop backgrounds stored? cccc Debian 7 02-28-2011 06:48 AM
Where are my default resolutions stored? They aren't in xorg.conf David_g17 Fedora 5 08-19-2010 05:56 PM
VMWare Guest xorg.conf resolution snafu (default to largest instead of first) hollywoodb Linux - Desktop 0 10-22-2007 02:53 PM
Where are the environmental variables (eg. $DISPLAY) stored? davidas Linux - Newbie 2 04-08-2004 01:33 AM

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

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