永发信息网

如何解决centos7安装完后无法进入图形界面

答案:2  悬赏:40  手机版
解决时间 2021-03-19 13:19
  • 提问者网友:心如荒岛囚我终老
  • 2021-03-19 08:08
如何解决centos7安装完后无法进入图形界面
最佳答案
  • 五星知识达人网友:孤独入客枕
  • 2021-03-19 08:44



可能是显卡驱动没装上把。试试把显卡重置为标准显卡试试。

重启电脑进入grub,然后键入e,再 键入e,在最后输入空格 和1,回车,按b以单用户启动linux。
进入命令行,可以输入system-config-display修改显卡 改成vesa.
或者进入/etc/x11下通过vi编辑器编辑xorg.conf文件。
下面是该文件。
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "via"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
修改driver对应的值为 vesa
Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection
重新启动计算机
这样可以保持 800*600的分辨率。然后在按照上篇文章的方法,安装驱动。
祝你好运!
全部回答
  • 1楼网友:千夜
  • 2021-03-19 09:19
可能是显卡驱动没装上把。试试把显卡重置为标准显卡试试。 重启电脑进入grub,然后键入e,再 键入e,在最后输入空格 和1,回车,按b以单用户启动linux。 进入命令行,可以输入system-config-display修改显卡 改成vesa. 或者进入/etc/x11下通过vi编辑器编辑xorg.conf文件。 下面是该文件。 # xorg configuration created by system-config-display section "serverlayout" identifier "single head configuration" screen 0 "screen0" 0 0 inputdevice "keyboard0" "corekeyboard" inputdevice "synaptics" "corepointer" endsection section "inputdevice" identifier "keyboard0" driver "kbd" option "xkbmodel" "pc105" option "xkblayout" "us" endsection section "inputdevice" identifier "synaptics" driver "synaptics" option "device" "/dev/input/mice" option "protocol" "auto-dev" option "emulate3buttons" "yes" endsection section "device" identifier "videocard0" driver "via" ends... centos7 http://www.3322.cc/soft/12676.html
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯