Xubuntu / lightdm-gtk-greeter

A GTK greeter for LightDM
GNU General Public License v3.0
141 stars 30 forks source link

4k monitor background duplication #119

Open Randomneo opened 2 years ago

Randomneo commented 2 years ago

I do have archlinux basic setup with only background image changed. After startup everything works ok. I got my background image.

Problem: After successful login background that set in greeter got duplicated 4 times (as it is 1080p image fitted in 4k with repeat mode). But it doesn't depend on image when i use 4k and 1080p image behavior is same

After logging into system resolution is ok and bg images.

I also tried to find some config option for fill mode/type. But could not.

Versions:

lightdm 1.30.0
lightdm-gtk-greeter 2.0.8

My configs:

lightdm.conf:

   [LightDM]
A  run-directory=/run/lightdm

   [Seat:*]
A  greeter-session=lightdm-gtk-greeter
A  session-wrapper=/etc/lightdm/Xsession

Sources:
A  /etc/lightdm/lightdm.conf

logihtdm-gtk-greeter.conf:

[greeter]
background = /home/user/wallpaper/background3.png
theme-name = Dracula
icon-theme-name = Sweet-Purple
xft-dpi = 192
font-name = Roboto 11
position = 30%,center 40%,center
xft-antialias = true
xft-rgba = rgb

xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 515.48.07

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG Electronics LG HDR 4K"
    HorizSync       30.0 - 135.0
    VertRefresh     56.0 - 61.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce RTX 2060"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "3840x2160_60 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Ozymansour commented 4 months ago

@Randomneo Did you find a solution to this problem?

Randomneo commented 4 months ago

@Randomneo Did you find a solution to this problem?

Hi. No I did not. Now I'm using wayland lightdm+elephant-greeter. Moved last week. Works like a charm