ttyでstartxを使用しないと、fedora 25 gnomeにログインできません。

ttyでstartxを使用しないと、fedora 25 gnomeにログインできません。

先週、Fedora 25 gnome Software Centerで私のシステムに問題のあるgdmバージョンをインストールしましたが、それをアンインストールしましたが問題は解決しませんでした。私はGdmとWaylandセッションを使用しています。

ログインページからFedoraにログインできません。唯一の方法は、tty次のようにログインすることです。startx

Xauthority削除やchmod temp -R 755その他のソリューションを含む多くのソリューションを試しましたが、何も機能しません。

私を最も悩ませるのは、数年前にUbuntuに同じ問題があり、それを解決しましたが、私が何をしたのか覚えていないということです!くそー、私は数年前にCrunchbangでこの問題を解決したかもしれません!

ログファイルstartx

xauth:  file /home/user/.serverauth.1830 does not exist
X.Org X Server 1.19.1
Release Date: 2017-01-11
X Protocol Version 11, Revision 0
Build Operating System:  4.10.0-0.rc4.git0.2.fc26.x86_64 
Current Operating System: Linux fedora 4.9.13-201.fc25.x86_64 #1 SMP Tue Mar 7 23:47:11 UTC 2017 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.9.13-201.fc25.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet LANG=en_US.UTF-8
Build Date: 01 February 2017  02:03:54AM
Build ID: xorg-x11-server 1.19.1-3.fc25 
Current version of pixman: 0.34.0
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/user/.local/share/xorg/Xorg.1.log", Time: Sun Mar 12 14:37:10 2017
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
(II) [KMS] Kernel modesetting enabled.
pkexec version 0.113

それでも問題が解決しない場合は、代わりに使用するlightdmkdm

ベストアンサー1

type=AVC msg=audit(1489481742.902:140): avc: pid=1159 comm="gdm-session-wor" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u : system_r:kernel_t:s0 tclass=キー権限=0

あなたが投稿したAVCはこれを指摘しています。バグ #1378297Red Hat Bugzillaはすでに書かれています。

これが実際に同じ問題であることを確認するためにSELinuxを試してみましょう(seteonfoce 0再起動後に実行すると機能しません)。修正/etc/selinux/configして変更enforcingしたpermissive後、再起動してみてください。

もう1つの可能性は、レポートの手順に従うことです。

# ausearch -c 'gdm-session-wor' --raw | audit2allow -M my-gdmsessionwor
# semodule -X 300 -i my-gdmsessionwor.pp

そして再起動してください。この問題を解決するためにBugzillaでチャットすることが役に立つならば、それは良い方法です:)

おすすめ記事