
Debian 10x64
Linux PC 名 4.19.0-11-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64 GNU/Linux
インテルCore i5-6200U
インテルHDグラフィックス520
startx
TTY1でxorgを実行できない後に追加されました/usr/share/X11/xorg.conf.d/20-intel.conf
:
Section "Device"
Identifier "Configured Video Device"
Driver "intel"
EndSection
GUIを持つuser1を使用してデフォルトのTTY7にログインします(lightdmとsddmに対してKDE5を試行)。
user2でTTY1にログインし、
startx
Cinnamonを実行すると正常に動作します。TTY7に戻すと黒い画面が表示され、入力カーソルが点滅します。 lightdm システムが停止している場合。 TTY1に戻すことはできず、REISUBのみが役立ちます。 sddmを使用している場合は、TTY1間を循環します。
Intel Core i3-3120M(Debian 8および10)も同様です。
変更せずに設定uxa
とオプションを試してください。blt
NVIDIAグラフィックスを搭載したPCでは、Debian 8と10ですべてがうまく機能します。
システムログ(この文字列が私の問題と直接関連しているかどうかわからない):
Oct 7 21:04:25 pcname systemd[1]: systemd-hostnamed.service: Succeeded.
Oct 7 21:04:25 pcname systemd[1]: session-c1.scope: Killing process 1073 (lightdm) with signal SIGTERM.
Oct 7 21:04:25 pcname systemd[1]: Stopping Session c1 of user lightdm.
Oct 7 21:04:25 pcname systemd[1]: session-c1.scope: Succeeded.
Oct 7 21:04:25 pcname systemd[1]: Stopped Session c1 of user lightdm.
Oct 7 21:04:26 pcname systemd[1]: systemd-fsckd.service: Succeeded.
Oct 7 21:04:28 pcname systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Oct 7 21:04:28 pcname systemd[1]: lightdm.service: Failed with result 'exit-code'.
Oct 7 21:04:28 pcname systemd[1]: lightdm.service: Service RestartSec=100ms expired, scheduling restart.
Oct 7 21:04:28 pcname systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 1.
Oct 7 21:04:28 pcname systemd[1]: Stopped Light Display Manager.
Oct 7 21:04:28 pcname systemd[1]: Starting Light Display Manager...
Oct 7 21:04:28 pcname systemd[1]: Started Light Display Manager.
Oct 7 21:04:30 pcname systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Oct 7 21:04:30 pcname systemd[1]: lightdm.service: Failed with result 'exit-code'.
Oct 7 21:04:30 pcname systemd[1]: lightdm.service: Service RestartSec=100ms expired, scheduling restart.
Oct 7 21:04:30 pcname systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 2.
Oct 7 21:04:30 pcname systemd[1]: Stopped Light Display Manager.
Oct 7 21:04:30 pcname systemd[1]: Starting Light Display Manager...
Oct 7 21:04:30 pcname systemd[1]: Started Light Display Manager.
Oct 7 21:04:33 pcname systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Oct 7 21:04:33 pcname systemd[1]: lightdm.service: Failed with result 'exit-code'.
Oct 7 21:04:33 pcname systemd[1]: lightdm.service: Service RestartSec=100ms expired, scheduling restart.
Oct 7 21:04:33 pcname systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 3.
異なるTTYで異なるxorgを実行して切り替える方法は?
答え1
/etc/X11/xorg.conf.d/20-intel.conf
私が作成して定義した安定したIntelドライバを入手するには:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
EndSection
ハードウェアによっては、加速方法が「uxa」かもしれませんが、疑わしいです。 (以前のGPUのみ)このオプションを設定する前に、LightDMでクラッシュが続く問題がありました。
/etc/lightdm/lightdm.confでグリーティングを設定しました。
[Seat:*]
greeter-session=lightdm-gtk-greeter
greeter-hide-users=false
session-wrapper=/etc/lightdm/Xsession
lightdm-gtk-greeter.conf
ファイルは同じディレクトリになければなりません。以下を含める必要があります:(または他のトピック)
[greeter]
theme-name = Adwaita-dark
icon-theme-name = Adwaita