Hallo zusammen,
Ich benötige Unterstützung zu verstehen, wie das Zusammenspiel von XServer und Windowmanager ist.
Ich verwenden ein Thinkpad T420 mit Dockingstation und einem externen Monitor, wobei der Monitor vom Laptop ausgeschaltet ist, sobald der Laptop sich auf der Dockingstation befindet. Sobald ich auf dem Anmeldebildschirm (LightDM) bin, wird das Bild vom Laptop auf den externen Monitor gespiegelt und bei beiden die Auflösung auf, ich schätze, 1024x768 runter gesetzt. Dabei ist es egal ob ich den Rechner gerade gestartet habe oder bereits einmal angemeldet war. Melde ich mich wieder bei der Xubuntu Session an, wird die Auflösung wieder richtig, dem aktuellen Setup entsprechend, eingestellt. Unter XFCE wird erkannt ob ich nur mit dem Laptop arbeite oder ein weiterer Monitor angeschlossen ist. Das funktioniert alles Wunderbar.
Jetzt habe ich mir aber den Fenstermanager herbstluftwm installiert. Dieser kann das Monitorsetup nicht automatisch setzen und ich muss mit die Anpassung xrandr manuell bzw. in einem Startskript setzen. Das hat aber zur Folge, dass ich, bevor ich den Laptop von der Dockingstation trenne, wieder manuell das Setup ändern muss, da der Laptopmonitor sonst ausgeschaltet bleibt.
Etwas Recherche zeigte, dass wohl der XServer für die automatische Konfiguration der Bildschirme verantwortlich zu sein scheint und das auch Plug and Play beherrscht. Hier habe ich jetzt ein Verständnisproblem.
Wieso ist die Auflösung unter XFCE korrekt aber im Anmeldebildschirm nicht?
Hat das was mit Konfigurationtools von XFCE zu tun?
Kann ich den XServer dahingehend konfigurieren, dass er schon beim Start das korrekt Setup erkennt und und die entsprechende Auflösung einstellt?
Kann ich in xorg.conf.d Konfigurationen hinzufügen, um die Auflösung einzustellen?
Hat das was mit dem Zusammenspiel von XServer und Displaymanager bzw. XServer und Window Manager zu tun?
Ich hätte das Verhalten, dass ich unter XFCE habe gerne auch unter herbstluftwm. So dass ich es nicht manuell anpassen muss.
Hier noch ein paar Informationen zu meinem System.
lspci -nnk | grep -A3 "\[03..\]:"
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) Subsystem: Lenovo ThinkPad T420 [17aa:21ce] Kernel driver in use: i915 Kernel modules: i915
xrandr --prop
Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 8192 x 8192 LVDS-1 connected primary (normal left inverted right x axis y axis) EDID: 00ffffffffffff0006af3c3100000000 00140103801f11780a10b59758579226 1e505400000001010101010101010101 010101010101121b5646500023302616 360035ad100000180000000f00000000 00000000000000000020000000fe0041 554f0a202020202020202020000000fe 004231343058573033205631200a0029 scaling mode: Full aspect supported: Full, Center, Full aspect link-status: Good supported: Good, Bad CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 CONNECTOR_ID: 61 supported: 61 non-desktop: 0 range: (0, 1) 1366x768 60.10 + 1280x720 60.10 1024x768 60.10 960x720 60.10 928x696 60.10 896x672 60.10 1024x576 60.10 960x600 60.10 960x540 60.10 800x600 60.10 840x525 60.10 864x486 60.10 700x525 60.10 800x450 60.10 640x512 60.10 700x450 60.10 640x480 60.10 720x405 60.10 684x384 60.10 640x360 60.10 512x384 60.10 512x288 60.10 480x270 60.10 400x300 60.10 432x243 60.10 320x240 60.10 360x202 60.10 320x180 60.09 VGA-1 disconnected (normal left inverted right x axis y axis) link-status: Good supported: Good, Bad CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 CONNECTOR_ID: 65 supported: 65 non-desktop: 0 range: (0, 1) HDMI-1 disconnected (normal left inverted right x axis y axis) max bpc: 12 range: (8, 12) content type: No Data supported: No Data, Graphics, Photo, Cinema, Game Colorspace: Default supported: Default, SMPTE_170M_YCC, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, DCI-P3_RGB_Theater aspect ratio: Automatic supported: Automatic, 4:3, 16:9 Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on link-status: Good supported: Good, Bad CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 CONNECTOR_ID: 68 supported: 68 non-desktop: 0 range: (0, 1) DP-1 disconnected (normal left inverted right x axis y axis) Colorspace: Default supported: Default, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, RGB_WIDE_FIXED, RGB_WIDE_FLOAT, BT601_YCC max bpc: 12 range: (6, 12) Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on subconnector: Unknown supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native link-status: Good supported: Good, Bad CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 CONNECTOR_ID: 76 supported: 76 non-desktop: 0 range: (0, 1) HDMI-2 disconnected (normal left inverted right x axis y axis) max bpc: 12 range: (8, 12) content type: No Data supported: No Data, Graphics, Photo, Cinema, Game Colorspace: Default supported: Default, SMPTE_170M_YCC, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, DCI-P3_RGB_Theater aspect ratio: Automatic supported: Automatic, 4:3, 16:9 Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on link-status: Good supported: Good, Bad CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 CONNECTOR_ID: 81 supported: 81 non-desktop: 0 range: (0, 1) HDMI-3 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 597mm x 336mm EDID: 00ffffffffffff0010ac55a04c503730 07160103803c2278ea8e05ad4f33b026 0d5054a54b008100b300d100714fa940 818001010101565e00a0a0a029503020 350055502100001a000000ff00473630 36543232483037504c0a000000fc0044 454c4c2055323731310a2020000000fd 0031561d711c000a2020202020200005 max bpc: 12 range: (8, 12) content type: No Data supported: No Data, Graphics, Photo, Cinema, Game Colorspace: Default supported: Default, SMPTE_170M_YCC, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, DCI-P3_RGB_Theater aspect ratio: Automatic supported: Automatic, 4:3, 16:9 Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on link-status: Good supported: Good, Bad CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 CONNECTOR_ID: 85 supported: 85 non-desktop: 0 range: (0, 1) 1920x1200 59.95* 1600x1200 60.00 1680x1050 59.88 1280x1024 75.02 60.02 1280x800 59.91 1152x864 75.00 1024x768 75.03 60.00 800x600 75.00 60.32 640x480 75.00 59.94 720x400 70.08 DP-2 disconnected (normal left inverted right x axis y axis) Colorspace: Default supported: Default, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, RGB_WIDE_FIXED, RGB_WIDE_FLOAT, BT601_YCC max bpc: 12 range: (6, 12) Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on subconnector: Unknown supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native link-status: Good supported: Good, Bad CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 CONNECTOR_ID: 89 supported: 89 non-desktop: 0 range: (0, 1) DP-3 disconnected (normal left inverted right x axis y axis) Colorspace: Default supported: Default, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, RGB_WIDE_FIXED, RGB_WIDE_FLOAT, BT601_YCC max bpc: 12 range: (6, 12) Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on subconnector: Unknown supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native link-status: Good supported: Good, Bad CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 CONNECTOR_ID: 93 supported: 93 non-desktop: 0 range: (0, 1)
Es wäre toll, wenn mir jemand bei dem "Problem" weiterhelfen kann. Vielen Dank schonmal.
Gruß FretFret