How to change login resolution in Ubuntu?

3

1

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.

Nathan Osman

Posted 2010-01-21T18:52:05.100

Reputation: 2 552

what is your login-manager (gdm, kdm, slick etc)? – akira – 2010-01-22T04:55:45.477

I am using gdm. – Nathan Osman – 2010-01-22T06:36:11.160

Answers

2

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.

Kelbizzle

Posted 2010-01-21T18:52:05.100

Reputation: 1 808

5

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

Justin S

Posted 2010-01-21T18:52:05.100

Reputation: 351

...and this will just change the login resolution, right? – Nathan Osman – 2010-01-21T19:11:17.193

Not really...resolution is a global setting. – Bobby – 2010-01-21T19:25:55.520

That's not what I need though. – Nathan Osman – 2010-01-21T19:40:22.570

Once I'm logged on, everything is fine, but the login screen has the wrong resolution. – Nathan Osman – 2010-01-21T19:41:47.450

@George: Ohhh... in that case try it! I thought you wanted different resolutions and not the same, sorry. – Bobby – 2010-01-24T18:21:15.900

@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. – Nathan Osman – 2010-01-24T19:40:46.623

What video card do you have? – Justin S – 2010-01-26T02:59:42.300

Try this as well. Add this text as a subsection to the 'Screen' section

    SubSection "Display"
            Virtual 1280 800
    EndSubSection
 – Justin S  – 2010-01-26T03:10:29.247

@JustinS what do you mean? – Max Coplan – 2019-11-20T17:02:17.427

@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? – Max Coplan – 2019-11-20T17:05:42.857

0

If you don't have a special X11 configuration but you do happen to have a file /etc/X11/xorg.conf, you might want to try moving it aside and see what happens. Usually X11 should configure itself properly these days and in my experience having stuff in /etc/X11/xorg.conf often causes problems.

To try without the file:

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

and restart.

If it doesn't help move it back:

sudo mv /etc/X11/xorg.conf.backup /etc/X11/xorg.conf

and restart once more.

Mika Fischer

Posted 2010-01-21T18:52:05.100

Reputation: 4 159