How to change login resolution in Ubuntu?

8,544

Solution 1

What you want to do is change the GDM LOGIN Screen resolution?

Read this and please accept the correct answer.

Justin was kind of correct except the fact that GDM uses the modeline from your xorg.conf. The priority runs from left to right, so if you add "1280x960" as the first entry and remove any items you don't want (who needs half of them anyway, 768x600 or whatever it was, madness.) you should be fine for GDM.

    SubSection "Display"
        Depth       24
        Modes       "1280x960" "1024x768"
    EndSubSection
EndSection

Let me know if you need further explanation.

Solution 2

I believe you need to configure your xorg.conf to include the proper modes.

edit /etc/X11/xorg.conf

Section "Screen"
    Identifier  "Default Screen"
    Device      "NVIDIA Corporation NV43 [GeForce 6600 GT]"
    Monitor     "17P3"
    DefaultDepth    24

    [...]

    SubSection "Display"
        Depth       24
        Modes       "1024x768" "1280x960" "640x480" "800x600"
    EndSubSection
EndSection

Where the first Mode is the default resolution.

If you have an ATI card you may try this as well.

sudo aticonfig --resolution=0,1280x1024,1024x768,800x600

Where 0 is the first screen, and the resolutions are in order of preferred first.

Try adding this as a subsection to the 'Screen' section in your xorg.conf

SubSection "Display"
        Virtual 1280 800
EndSubSection
Share:
8,544
Nathan Osman
Author by

Nathan Osman

I am a software developer fluent in C++, Python, and JavaScript. I enjoy writing desktop tools, server software, and web applications. When writing programs with C++, I take advantage of the excellent Qt framework. On the Python side, I find that Django is hard to beat when it comes to ease of use and minimal configuration. I almost never write JavaScript without using jQuery. You can find a somewhat comprehensive list of software that I have written on my website: http://quickmediasolutions.com I've also written a few articles ([1], [2], [3]) for the SuperUser blog.

Updated on September 17, 2022

Comments

  • Nathan Osman
    Nathan Osman over 1 year

    How do you change the resolution of the login screen in Ubuntu 9.10 (Karmic)?

    Edit: keep in mind that I need to change the resolution of the login screen, as explained below.

    • akira
      akira over 14 years
      what is your login-manager (gdm, kdm, slick etc)?
    • Nathan Osman
      Nathan Osman over 14 years
      I am using gdm.
  • Nathan Osman
    Nathan Osman over 14 years
    ...and this will just change the login resolution, right?
  • Jjames
    Jjames over 14 years
    Not really...resolution is a global setting.
  • Nathan Osman
    Nathan Osman over 14 years
    That's not what I need though.
  • Nathan Osman
    Nathan Osman over 14 years
    Once I'm logged on, everything is fine, but the login screen has the wrong resolution.
  • Jjames
    Jjames over 14 years
    @George: Ohhh... in that case try it! I thought you wanted different resolutions and not the same, sorry.
  • Nathan Osman
    Nathan Osman over 14 years
    @Bobby: Ya, the GTK desktop is, I believe 1280x800 but the login screen somehow became 2560x1024 and I wanted to fix it. What do I change in xorg.conf? It isn't that I want to add a resolution, but simply reset everything to 1280x800.
  • Justin S
    Justin S over 14 years
    What video card do you have?
  • Justin S
    Justin S over 14 years
    Try this as well. Add this text as a subsection to the 'Screen' section SubSection "Display" Virtual 1280 800 EndSubSection
  • Max Coplan
    Max Coplan over 4 years
    @JustinS what do you mean?
  • Max Coplan
    Max Coplan over 4 years
    @JustinS Is Virtual the name of your display? If my name is Virtual1 should I use that name? And where are the line breaks? Should it be "1280x800" instead of 1280 800?