PowerEdge T430 + debian-9.6.0-amd64 不能进入桌面

前言

以前的hp小盒子,装的是centos6.
这次换了dell t430, 准备换个大家推荐的系统。
去知乎上看到一个帖子,看各路大神说哪个系统(rh, ubuntu,debian)好. 看完了,得出结论,如果自己玩,装哪个都行。公司里面用debian, 我也装debian好了。
公司用debian8.8, 我怕装的时候,硬件驱动没有(t430还算是新出不几年的入门服务器)。就装最新的debian.
现在debian官网上稳定版本是debian-9.6.0,去下载了网络安装版debian-9.6.0-amd64-netinst.iso.

实验

用UltraISO_9.7.1.3519, 将debian-9.6.0-amd64-netinst.iso烧到U盘(usb-hdd+).

t430的bios有几处控制(F2, F11),F11进去找到启动顺序,将U盘设为启动,将raid禁掉(自己玩不怕,用的次数不会很频繁),其他不用改,保存,重启。

安装时,选了如下选项

  • 将/var/, /tmp/, /home/都装到独立分区,能看到自动分区后,/home的地盘最大。
  • 选组件时,选debian桌面(只选这一个桌面,gnome, kde的不要),ssh服务器,系统工具。
    剩下就没啥说的了,装完,重启,进入桌面,屏幕花屏…
    以为是组件选错了,又选了一次,装完,进入桌面花屏…

以为是显卡驱动有问题,去dell官网下载了A00_RHEL6.1_xorg-x11-drv-mga-1.4.13-3.el6.1.tar
dell官方只支持各种windows, rh, suse,有个驱动也试试。将这个rpm包转成deb包,用dpkg -i安装。进入桌面后,分辨率特别的小。网上说的那些分辨率相关的配置文件在debian9中都没有。也不知道怎么改分辨率。

后来发现用SecureCRT连接服务器,身份为root用户,执行startx,可以使实体机的t430出现桌面。那个桌面上的用户就是root, 但是输入正确的口令后,不能登录(认证失败…).

后来看了一个帖子,那个同学,也遇到这问题,他改了几处,我就试了他说的第一处配置,改完,保存,重启,就可以进入桌面了, luck.

修改配置文件,使桌面可以进入

要修改的配置文件为/etc/gdm3/daemon.conf
将 WaylandEnable=false 前面的注释放开
意思就是:强制使用xwindow.
为啥安装程序不做这事呢,让用户安装完了,进不了桌面,多尴尬啊
这绝对是debian9.6打包的一个bug(用户老老实实的装OS, 装完了不给人家用…)

cat /etc/gdm3/daemon.conf

# GDM configuration storage
#
# See /usr/share/gdm/gdm.schemas for a list of available options.

[daemon]
# Uncoment the line below to force the login screen to use Xorg
WaylandEnable=false

# Enabling automatic login
#  AutomaticLoginEnable = true
#  AutomaticLogin = user1

# Enabling timed login
#  TimedLoginEnable = true
#  TimedLogin = user1
#  TimedLoginDelay = 10

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
# More verbose logs
# Additionally lets the X server dump core if it crashes
#Enable=true

猜你喜欢

转载自blog.csdn.net/LostSpeed/article/details/85017558