Login Screen Resolution

Bug #16472 reported by Fernando Jaime
26
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Invalid
Medium
Sebastien Bacher

Bug Description

I have a bug on the login screen resolution; the resolution of the login screen
is different (bigger) to the one I'm actually using on the only session I have
for Ubuntu in this computer (only user, smaller resolution).
Is there any way you can adjust the login screen resolution in order to match it
with the one of the session??

Thank you

Tags: login window
Revision history for this message
Uphaar Agrawalla (uphaar) wrote :

I have this same issue, my resolution is 800x600 but the gdm login screen always
shows up at a higher resolution. The xorg.conf also has 800x600 resolution
specified.

Revision history for this message
Sebastien Bacher (seb128) wrote :

gdm use the xorg configuration, an user uses its own configuration. If you want
to change the login screen you have to configure xorg, that's not a bug.

Revision history for this message
davidcrickett (david-blangstrup) wrote :

I have the same issue, and I have configured the xorg alright, so that's not the culprit.

Revision history for this message
Sebastien Bacher (seb128) wrote :

attach you /etc/X11/xorg.conf and /var/log/Xorg.0.log

Revision history for this message
Rajib Ghosh (rajib-cybershiksha) wrote :

Found a workaround!
I am facing the same problem. /etc/x11/xorg.conf has only 1 res specified (1024x768), yet the GDM login screen appears at 1280x1024 since that was the res. I initially configured Ubuntu with (ubuntu 6.06 LTS).

Used gdmsetup (or System->Administration->Login Window) to switch to Plain greeter (Tab Local->Style:Plain). After a logout, the Plain greeter took over and it appeared in the correct resolution.

Used the above procedure to switch back to Graphical (Themed) greeter and logout. Voila! The new greeter too appeared in the correct resolution.

Hope this helps in diagnosis and fixing for the dev team.

Revision history for this message
proming (promingx) wrote :

I have try Rajib Ghosh's method,but it doesn't work on my system.

I found a new way to work out the problem.
Using aticonfig command.
Example:
aticonfig --resolution=0,1024x768

You can using aticonfig --help to get more information.

Revision history for this message
ponnappan (ponnappan) wrote :

I too faced the same problem recently (when I was switching back and forth between kdm and gdm)

I restored by login window fonts by the following method.

- the login window themes for kubuntu was in /usr/share/apps/kdm/themes/kubuntu/
- the heart of the theme was kubuntu.xml
- sudo vi kubuntu.xml
- decrease the font size (in my case decreased it to 8)
- restart the display manager
- yo! it worked.

Revision history for this message
Matt Rossi (matthew-penguincentral) wrote :

Yeah, I have the same problem but I am running 7.10beta (I can't change the milestone for this bug unfortunately) This happened after I updated my nvidia-glx-new driver a couple of days ago. Any ideas?

Changed in gdm:
status: Invalid → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

you should rather open a new bug rather than reopened a bug closed for months without even attaching the requested informations, closing again

Changed in gdm:
status: Confirmed → Invalid
Revision history for this message
register (spam3-inktype) wrote :

for me the problem was indeed the xorg.conf file. I'm running ubuntu through VMware on windows XP. in terminal I typed the following:

sudo nano /etc/X11/xorg.conf

I entered the password and then I scrolled down in xorg.conf until I found the resolution that I didn't like: 1920 x 1440. I changed it to 1280 x 960. the line I changed in xorg.conf now looks like:

Virtual 1280 960

I exited and saved xorg.conf, logged out, and the login screen looked right this time. thanks to those who provided hints in this thread!

Revision history for this message
RedBird (redbirdiii) wrote :

I reinstalled Ubuntu again and made sure that the resolution is the best one in the live CD session..
I ended up with a well configured screen in the installed session..

Revision history for this message
gratefulfrog (gratefulfrog) wrote :

same issue on amd64 with Gutsy 7.10.

I tried the plain login screen solution - no help,
I inspected my xorg.conf, but it seems correct,
I treid the aticonfig but this crashed even if aticonfig --help worked (I filed a bug report).

Anyone else with an idea?

Revision history for this message
Big_Rog (ehrnam45) wrote :

I just looked over my xorg.conf and saw something strange:

Section "Device"
 Identifier "Failsafe Device"
 Boardname "vesa"
 Busid "PCI:2:0:0"
 Driver "nvidia"
 Screen 0
EndSection

Section "Monitor"
 Identifier "Failsafe Monitor"
 Vendorname "Plug 'n' Play"
 Modelname "Plug 'n' Play"
<resolutions removed for brevity>
 Gamma 1.0
EndSection

Section "Screen"
 Identifier "Default Screen"
 Device "Failsafe Device"
 Monitor "Failsafe Monitor"
 Defaultdepth 24
 SubSection "Display"
  Depth 24
  Virtual 1792 1344
  Modes "800x600@72" "800x600@75" "800x600@56" "800x600@60" "640x480@75" "832x624@75" "640x480@72" "1024x768@75" "640x480@60" "1024x768@70" "1024x768@60" "1152x864@75" "1280x1024@75" "1280x960@60" "1280x1024@60" "1280x960@75" "1400x1050@60" "1400x1050@75" "1600x1200@65" "1600x1200@60" "1792x1344@60"
 EndSubSection
 Option "AddARGBGLXVisuals" "True"
EndSection

somehow whilst migrating to Gutsy, I wound up in failsafe video mode. I've re-run Envy to reset the drivers and xorg.conf, but this nasty little bit is still there. My nVidia control panel sees my monitor and card correctly, and the hardware works correctly (3d acceleration, proper resolution, etc.) when logged in. The login screen is only rendered at low resolution with the ability to scroll around a larger virtual resolution. I will post back if replacing this with an older (working) display and vid card section works.

Revision history for this message
Big_Rog (ehrnam45) wrote :

Indeed, replacing the "Failsafe" sections has restored my login screen!

Revision history for this message
greenhunter (tierfreunde-hagenburg) wrote :

since April the 8. this bug is back in Hardy.

---
Section "Screen"
 Identifier "Default Screen"
 Device "Failsafe Device"
 Monitor "Failsafe Monitor"
 Defaultdepth 24
 SubSection "Display"
  Depth 24
  Virtual 1792 1344
------------------

totally crap resolution on two computers.

Revision history for this message
edam (edam) wrote :

@Big_Rog, I'm suffereing from the exact same problem you're describing. I have the same "Failsafe" sections in xorg.conf and the login screen resolution is larger than will fit on the screen.

Would you mind elabourating on how you fixed the issue? What do you mean exactly when you say you "replaced" the Failsafe sections?

For the devs: This issue appeared when upgrading from 7.10 to 8.04 and although I'm now using the respos. nVidia drivers, I have previously used drivers from the nVidia site.

Revision history for this message
Mitch Clark (mitch-clark) wrote :

Running sudo dpkg-reconfigure -phigh xserver-xorg in terminal fixed this issue for me

Revision history for this message
edam (edam) wrote :

> Running sudo dpkg-reconfigure -phigh xserver-xorg in terminal fixed this issue for me

This worked for me also. Thanks! :o) Although I had to re-enable restricted drivers afterwards.

Revision history for this message
ferperezd (ferperezd) wrote :

Thanks buddies, running this command from terminal fixed my issue as well. One thing I noticed, as "edam" posted earlier, I had to reactivate restricted drivers for NVIDIA. Also I noticed that sometimes my computers boots up while loading the OS, and my keyboard changed from the default layout. Nothing serious. I'll let you know if the booting keeps going on.

> Running sudo dpkg-reconfigure -phigh xserver-xorg

Revision history for this message
Dinesh (dineshaero) wrote :

Thanks Mitch Clark .. You Rock..

I too have the same issue after updating my Ubuntu 8.04. But this command line helped me to restore it..

sudo dpkg-reconfigure -phigh xserver-xorg

Thanks again buddy.. My doubt is where did you get this command? Or from whom?

Revision history for this message
galacticovergrow@gmail.com (galacticovergrow) wrote :

About 10 lines down in the defective xorg.conf file

# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
# sudo dpkg-reconfigure -phigh xserver-xorg

Revision history for this message
cnj5 (ubuntu-bugs-cjlj) wrote :

Happened to me when upgrading to hardy

The fix I used (which I haven't had to do in years, like before graphical logins ) is to reorganise the Modes in Section "screen" # of the xorg.conf so that the mode you want to use by default is the first in the list. eg :

original xorg.conf file using the wrong size 800x600 used but my display is 1280x1024

 Modes "800x600@60" "1280x1024@60"

change to

 Modes "1280x1024@60" "800x600@60"

Revision history for this message
Petar Kulić (cooleech-gmail) wrote :

Hi, all!
Im using Kubuntu hardy and im having strange problem. My xorg.conf file doesnt look like it should, coz i have no SubSection "Display" or "Modes". Let me paste it here:

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "hr"
 Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver "mouse"
 Option "CorePointer"
EndSection

Section "Device"
 Identifier "Configured Video Device"
 Driver "fglrx"
EndSection

Section "Monitor"
 Identifier "Configured Monitor"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
 Defaultdepth 24
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
  screen "Default Screen"
EndSection
Section "Module"
 Load "glx"
EndSection

I have same problem with login window screen resolution (bigger that my working one). Will it help to add those missing parts into my xorg.conf file? Login resolution is 1280x1024@60 and i need it to be 1024x768@85 or @100 (monitor can pull this one). Thanx!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.