Announcement

Collapse
No announcement yet.

Login screen resolution

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Login screen resolution

    I know this is a trivial problem, but I'm hoping to find an easy answer. I've installed Kubuntu 7.10 on an HP laptop and everything works just great. Kudos to the developers.

    I need to install it on several other similar laptops for a client, and I'd like the installation to "look professional". The only issue I have with Gutsy is the resolution of the login screen. During the initial splash and login, it appears to be running at 640x480, and this looks low grade. This is contrary to a previous Ubuntu 7.04 (and two other Linux distros) installed on the same computer, where the login appeared to be normal, which is 1280x800 on these laptops.

    After the login, the video changes to the desired resolution. Is there a file that can be edited or some other setting that will change the login screen resolution?



    #2
    Re: Login screen resolution

    I read that the first entry in the Section "Screen" of the xorg.conf file (/etc/X11/xorg.conf) is used during login.

    Section "Screen"
    Identifier "Default Screen"
    Device "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
    Monitor "Generic Monitor"
    DefaultDepth 24
    SubSection "Display"
    Depth 1
    Modes "1440x900"
    EndSubSection
    My login screen resolution is at 1440x900 as is the KDE desktop. In my xorg.conf file, that is the only resolution I have set (I have no desire to run at less than what my laptop will work with) in my xorg.conf file.

    You could try changing the Modes line of the first entry to "1280x800" save and then reboot to see if this corrects your login screen resolution.

    When ever working with configuration files, BACKUP FIRST. The xorg.conf file requires editing as root. I always perform a Save as on the file, give it a new name (xorg.conf_ORIGINAL), close the file, then open xorg.conf for editing and make the changes.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Login screen resolution

      Thanks Paul. My xorg.conf file Screen section is far more complex than yours, and I don't see anything specific to edit there that will accomplish my goal.

      Perhaps someone else knows what I need to modify??

      Comment


        #4
        Re: Login screen resolution

        If you would, copy and paste your xorg.conf here.

        Note:
        Section "Screen"
        Identifier "Default Screen"
        Device "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
        Monitor "Generic Monitor"
        DefaultDepth 24
        SubSection "Display"
        Depth 1
        Modes "1440x900"
        EndSubSection
        is an excellent example of what a clean xorg.conf "Screen" section should look like
        Asus G1S-X3:
        Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

        Comment


          #5
          Re: Login screen resolution

          Here it is. The Screen section has a three line cross-hatched block on the left margin that did not copy and paste correctly.
          TIA

          # xorg.conf (xorg X Window System server configuration file)
          #
          # This file was generated by dexconf, the Debian X Configuration tool, using
          # values from the debconf database.
          #
          # Edit this file with caution, and see the xorg.conf manual page.
          # (Type "man xorg.conf" at the shell prompt.)
          #
          # This file is automatically updated on xserver-xorg package upgrades *only*
          # if it has not been modified since the last upgrade of the xserver-xorg
          # package.
          #
          # If you have edited this file but would like it to be automatically updated
          # again, run the following command:
          # sudo dpkg-reconfigure -phigh xserver-xorg

          Section "Files"
          FontPath "/usr/local/share/fonts"
          EndSection

          Section "InputDevice"
          Identifier "Generic Keyboard"
          Driver "kbd"
          Option "CoreKeyboard"
          Option "XkbRules" "xorg"
          Option "XkbModel" "pc105"
          Option "XkbLayout" "us"
          EndSection

          Section "InputDevice"
          Identifier "Configured Mouse"
          Driver "mouse"
          Option "CorePointer"
          Option "Device" "/dev/input/mice"
          Option "Protocol" "ImPS/2"
          Option "ZAxisMapping" "4 5"
          Option "Emulate3Buttons" "true"
          EndSection

          Section "InputDevice"
          Identifier "Synaptics Touchpad"
          Driver "synaptics"
          Option "SendCoreEvents" "true"
          Option "Device" "/dev/psaux"
          Option "Protocol" "auto-dev"
          Option "HorizEdgeScroll" "0"
          EndSection

          Section "InputDevice"
          Driver "wacom"
          Identifier "stylus"
          Option "Device" "/dev/input/wacom"
          Option "Type" "stylus"
          Option "ForceDevice" "ISDV4"# Tablet PC ONLY
          EndSection

          Section "InputDevice"
          Driver "wacom"
          Identifier "eraser"
          Option "Device" "/dev/input/wacom"
          Option "Type" "eraser"
          Option "ForceDevice" "ISDV4"# Tablet PC ONLY
          EndSection

          Section "InputDevice"
          Driver "wacom"
          Identifier "cursor"
          Option "Device" "/dev/input/wacom"
          Option "Type" "cursor"
          Option "ForceDevice" "ISDV4"# Tablet PC ONLY
          EndSection

          Section "Device"
          Identifier "Generic Video Card"
          Boardname "Intel 915"
          Busid "PCI:0:2:0"
          Driver "i810"
          Screen 0
          Vendorname "Intel"
          EndSection

          Section "Monitor"
          Identifier "Generic Monitor"
          Modelname "Custom 1"
          modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
          modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
          modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
          modeline "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync
          modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
          modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
          modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
          modeline "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
          modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
          modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
          modeline "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
          modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
          modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
          modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
          modeline "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync interlace +vsync
          modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
          modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
          modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
          modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
          Gamma 1.0
          EndSection

          Section "Screen"
          Identifier "Default Screen"
          Device "Generic Video Card"
          Monitor "Generic Monitor"
          Defaultdepth 24
          SubSection "Display"
          Depth 24
          Virtual 1400 1050
          Modes "1280x960@60" "1280x1024@60" "1152x864@75" "1400x1050@60"
          "1024x768@43" "1024x768@60" "1024x768@70" "1024x768@75" "1024x768@85"
          "832x624@75" "800x600@60" "800x600@85" "800x600@75" "800x600@72"
          "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
          EndSubSection
          EndSection

          Section "ServerLayout"
          Identifier "Default Layout"
          screen 0 "Default Screen" 0 0
          Inputdevice "Generic Keyboard"
          Inputdevice "Configured Mouse"

          # Uncomment if you have a wacom tablet
          # InputDevice "stylus" "SendCoreEvents"
          # InputDevice "cursor" "SendCoreEvents"
          # InputDevice "eraser" "SendCoreEvents"
          Inputdevice "Synaptics Touchpad"
          EndSection
          Section "Module"
          Load "glx"
          Load "GLcore"
          Load "dri"
          Load "v4l"
          Load "freetype"
          EndSection
          Section "device" #
          Identifier "device1"
          Boardname "Intel 915"
          Busid "PCI:0:2:0"
          Driver "i810"
          Screen 1
          Vendorname "Intel"
          EndSection
          Section "screen" #
          Identifier "screen1"
          Device "device1"
          Defaultdepth 24
          Monitor "monitor1"
          EndSection
          Section "monitor" #
          Identifier "monitor1"
          Gamma 1.0
          EndSection
          Section "ServerFlags"
          EndSection

          Comment


            #6
            Re: Login screen resolution

            As per my initial post, I would add the following line to the beginning of Section "monitor" section of the file:

            modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync

            so that that section looks as follows:

            Section "Monitor"
            Identifier "Generic Monitor"
            Modelname "Custom 1"
            modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
            modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
            modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
            modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
            modeline "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync
            modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
            modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
            modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
            modeline "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
            modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
            modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
            modeline "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
            modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
            modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
            modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
            modeline "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync interlace +vsync
            modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
            modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
            modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
            modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
            Gamma 1.0
            EndSection
            And, as I posted, save a copy of the unedited xorg.conf file first.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Re: Login screen resolution

              Thanks, Snowhog. No joy. I tried your suggested edit, and it had no effect.

              You may have noticed that the line you suggested is actually identical to one farther down the list. I tried both copying (duplicating) it to be the first item, and moving it to first.

              The resolution during regular operation is 1280x800 @ 60, which is perfect for my 15.4" laptop. All I'm trying to do is get the initial splash/login screen to operate at or near this mode.

              Comment


                #8
                Re: Login screen resolution

                Save all your important information and close all your apps; open Konsole and run the command
                Code:
                sudo /etc/init.d/kdm stop
                to stop KDM and take you to a command line (if you get a blank screen, press Alt+F1). Then, enter the command
                Code:
                sudo Xorg -configure
                When that finishes, run the command
                Code:
                sudo /etc/init.d/kdm start
                to restart KDM. Open Konsole and type
                Code:
                cat xorg.conf.new
                and paste its contents here.
                Asus G1S-X3:
                Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

                Comment


                  #9
                  Re: Login screen resolution

                  Originally posted by integr8e
                  Save all your important information and close all your apps; open Konsole and run the command
                  Code:
                  sudo /etc/init.d/kdm stop
                  to stop KDM and take you to a command line (if you get a blank screen, press Alt+F1). Then, enter the command
                  Code:
                  sudo Xorg -configure
                  When that finishes, run the command
                  Code:
                  sudo /etc/init.d/kdm start
                  to restart KDM. Open Konsole and type
                  Code:
                  cat xorg.conf.new
                  and paste its contents here.
                  Here is what I got:

                  Section "ServerLayout"
                  Identifier "X.org Configured"
                  Screen 0 "Screen0" 0 0
                  InputDevice "Mouse0" "CorePointer"
                  InputDevice "Keyboard0" "CoreKeyboard"
                  EndSection

                  Section "Files"
                  RgbPath "/etc/X11/rgb"
                  ModulePath "/usr/lib/xorg/modules"
                  FontPath "/usr/share/fonts/X11/misc"
                  FontPath "/usr/share/fonts/X11/cyrillic"
                  FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
                  FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
                  FontPath "/usr/share/fonts/X11/Type1"
                  FontPath "/usr/share/fonts/X11/100dpi"
                  FontPath "/usr/share/fonts/X11/75dpi"
                  FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
                  EndSection

                  Section "Module"
                  Load "xtrap"
                  Load "dbe"
                  Load "record"
                  Load "glx"
                  Load "extmod"
                  Load "GLcore"
                  Load "dri"
                  EndSection

                  Section "InputDevice"
                  Identifier "Keyboard0"
                  Driver "kbd"
                  EndSection

                  Section "InputDevice"
                  Identifier "Mouse0"
                  Driver "mouse"
                  Option "Protocol" "auto"
                  Option "Device" "/dev/input/mice"
                  Option "ZAxisMapping" "4 5 6 7"
                  EndSection

                  Section "Monitor"
                  #DisplaySize 330 210 # mm
                  Identifier "Monitor0"
                  VendorName "AUO"
                  ModelName "1974"
                  EndSection

                  Section "Device"
                  ### Available Driver options are:-
                  ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
                  ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
                  ### [arg]: arg optional
                  #Option "NoAccel" # [<bool>]
                  #Option "SWcursor" # [<bool>]
                  #Option "ColorKey" # <i>
                  #Option "CacheLines" # <i>
                  #Option "Dac6Bit" # [<bool>]
                  #Option "DRI" # [<bool>]
                  #Option "NoDDC" # [<bool>]
                  #Option "ShowCache" # [<bool>]
                  #Option "XvMCSurfaces" # <i>
                  #Option "PageFlip" # [<bool>]
                  Identifier "Card0"
                  Driver "intel"
                  VendorName "Intel Corporation"
                  BoardName "Mobile 915GM/GMS/910GML Express Graphics Controller"
                  BusID "PCI:0:2:0"
                  EndSection

                  Section "Screen"
                  Identifier "Screen0"
                  Device "Card0"
                  Monitor "Monitor0"
                  SubSection "Display"
                  Viewport 0 0
                  Depth 1
                  EndSubSection
                  SubSection "Display"
                  Viewport 0 0
                  Depth 4
                  EndSubSection
                  SubSection "Display"
                  Viewport 0 0
                  Depth 8
                  EndSubSection
                  SubSection "Display"
                  Viewport 0 0
                  Depth 15
                  EndSubSection
                  SubSection "Display"
                  Viewport 0 0
                  Depth 16
                  EndSubSection
                  SubSection "Display"
                  Viewport 0 0
                  Depth 24
                  EndSubSection
                  EndSection

                  Comment


                    #10
                    Re: Login screen resolution

                    Press Alt+F2 and run the command
                    Code:
                    kdesu kate /etc/X11/xorg.conf
                    When Kate opens, save your xorg.conf as xorg.conf.backup; then, replace your xorg.conf with the following and save it as xorg.conf (be sure to leave a blank line at the end of the document):
                    # xorg.conf (xorg X Window System server configuration file)
                    #
                    # This file was generated by dexconf, the Debian X Configuration tool, using
                    # values from the debconf database.
                    #
                    # Edit this file with caution, and see the xorg.conf manual page.
                    # (Type "man xorg.conf" at the shell prompt.)
                    #
                    # This file is automatically updated on xserver-xorg package upgrades *only*
                    # if it has not been modified since the last upgrade of the xserver-xorg
                    # package.
                    #
                    # If you have edited this file but would like it to be automatically updated
                    # again, run the following command:
                    # sudo dpkg-reconfigure -phigh xserver-xorg

                    Section "ServerLayout"
                    Identifier "Default Layout"
                    screen 0 "Default Screen" 0 0
                    Inputdevice "Generic Keyboard"
                    Inputdevice "Configured Mouse"
                    Inputdevice "Synaptics Touchpad"
                    EndSection

                    Section "Module"
                    Load "glx"
                    Load "GLcore"
                    Load "dri"
                    Load "v4l"
                    Load "freetype"
                    Load "xtrap"
                    Load "dbe"
                    Load "record"
                    Load "extmod"
                    EndSection

                    Section "Files"
                    RgbPath "/etc/X11/rgb"
                    ModulePath "/usr/lib/xorg/modules"
                    FontPath "/usr/local/share/fonts"
                    FontPath "/usr/share/fonts/X11/misc"
                    FontPath "/usr/share/fonts/X11/cyrillic"
                    FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
                    FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
                    FontPath "/usr/share/fonts/X11/Type1"
                    FontPath "/usr/share/fonts/X11/100dpi"
                    FontPath "/usr/share/fonts/X11/75dpi"
                    FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
                    EndSection

                    Section "InputDevice"
                    Identifier "Generic Keyboard"
                    Driver "kbd"
                    Option "CoreKeyboard"
                    Option "XkbRules" "xorg"
                    Option "XkbModel" "pc105"
                    Option "XkbLayout" "us"
                    EndSection

                    Section "InputDevice"
                    Identifier "Configured Mouse"
                    Driver "mouse"
                    Option "CorePointer"
                    Option "Device" "/dev/input/mice"
                    Option "Protocol" "ImPS/2"
                    Option "ZAxisMapping" "4 5"
                    Option "Emulate3Buttons" "true"
                    EndSection

                    Section "InputDevice"
                    Identifier "Synaptics Touchpad"
                    Driver "synaptics"
                    Option "SendCoreEvents" "true"
                    Option "Device" "/dev/psaux"
                    Option "Protocol" "auto-dev"
                    Option "HorizEdgeScroll" "0"
                    EndSection

                    Section "Device"
                    Identifier "Generic Video Card"
                    Boardname "Intel 915"
                    Busid "PCI:0:2:0"
                    Driver "i810"
                    Screen 0
                    Vendorname "Intel"
                    EndSection

                    Section "Monitor"
                    Identifier "Generic Monitor"
                    Modelname "Custom 1"
                    modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
                    Gamma 1.0
                    EndSection

                    Section "Screen"
                    Identifier "Default Screen"
                    Device "Generic Video Card"
                    Monitor "Generic Monitor"
                    SubSection "Display"
                    Viewport 0 0
                    Depth 24
                    EndSubSection
                    EndSection
                    After you've done that, and saved it as xorg.conf, save and exit all your open windows, and log out. Once it logs you out, and you're at the log-in screen, press Alt+E to restart the Xserver. If you get a visual, you should be in the clear, if all you get is a blank screen with a blinking cursor, well, that's why you backed up your xorg.conf as xorg.conf.backup; if you need to restore the backup, press Alt+F1 to take you to the command line (or boot to recovery mode) and run the following code:
                    Code:
                    sudo nano /etc/X11/xorg.conf.backup
                    When the file pulls up, hit your space bar and backspace once so Nano thinks you've made a change, and press Ctrl+X. Tell it you want to save the doc, and save it as xorg.conf (be careful not to save it as xorg.conf.backup again, because that won't do you any good ). Then, enter the command
                    Code:
                    sudo /etc/init.d/kdm start
                    and you'll be right where you left off (with a GUI) . . .


                    Edit: Sorry about that, in the "nano" section, I changed Alt+X to Ctrl+X :P
                    Asus G1S-X3:
                    Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

                    Comment


                      #11
                      Re: Login screen resolution

                      Thanks for your kind help. I'll try that in the next couple of days when I have a few minutes to experiment, and let you know if it works.

                      Comment

                      Working...
                      X