从 Unity 转移到 Gnome 3 后启动到 GUI

从 Unity 转移到 Gnome 3 后启动到 GUI

我的 Ubuntu 16.04 一直在运行 Unity,直到我最近决定迁移到 Gnome 3。现在,当我启动时,我最终进入多用户模式,必须登录控制台并输入 starx 才能启动 GUI。我阅读了有关该主题的几篇文章,但我对我的设置感到困惑:

  • 我确实GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.dpm=1 radeon.modeset=1 i915.modeset=1"/etc/default/grub
  • 我也有DEFAULT_RUNLEVEL=2环境/etc/init/rc-sysinit.conf
  • 执行systemctl get-default returns graphical.target

读了周围的帖子,我期望这 3 个配置信息中的后者是我系统上执行的配置信息,但事实似乎并非如此。有什么想法吗?

后期编辑添加输出systemctl status display-manager.service

 ● gdm.service - GNOME Display Manager  
    Loaded: loaded (/lib/systemd/system/gdm.service; static; vendor preset: enabled)  
   Drop-In: /lib/systemd/system/display-manager.service.d  
            └─xdiagnose.conf  
    Active: active (running) since mar. 2018-03-06 20:11:25 CET; 1 day 19h ago  
   Process: 2141 ExecStartPre=/usr/share/gdm/generate-config (code=exited,  status=0/SUCCESS)  
   Process: 2126 ExecStartPre=/bin/sh -c [ "$(cat /etc/X11/default-display- manager 2>/dev/null)" = "/usr/sbin/gdm3" ] (code=exited, status=0/SUCCESS)  
 Main PID: 2151 (gdm3)  
     Tasks: 3  
    Memory: 4.4M  
       CPU: 600ms  
    CGroup: /system.slice/gdm.service  
            └─2151 /usr/sbin/gdm3  
 mars 07 17:10:11 port-jct gdm-password][22146]: pam_succeed_if(gdm- password:auth): requirement "user ingroup nopasswdlogin" not met by user "cohen"  
 mars 07 18:44:44 port-jct gdm-password][26575]: pam_succeed_if(gdm-password:auth): requirement "user ingroup nopasswdlogin" not met by user  "cohen"  
 mars 07 19:39:53 port-jct gdm-password][29033]: pam_succeed_if(gdm-password:auth): requirement "user ingroup nopasswdlogin" not met by user "cohen"  
 mars 07 19:39:53 port-jct gdm-password][29033]: pam_unix(gdm-password:auth): conversation failed  
 mars 07 19:39:53 port-jct gdm-password][29033]: pam_unix(gdm-password:auth): auth could not identify password for [cohen]  
 mars 07 19:39:54 port-jct gdm-password][29038]: pam_succeed_if(gdm- password:auth): requirement "user ingroup nopasswdlogin" not met by user  "cohen"  
 mars 07 21:14:57 port-jct gdm-password][953]: pam_succeed_if(gdm-password:auth): requirement "user ingroup nopasswdlogin" not met by user "cohen"  
 mars 08 07:48:09 port-jct gdm-password][6299]: pam_succeed_if(gdm-password:auth): requirement "user ingroup nopasswdlogin" not met by user "cohen"  
 mars 08 08:50:11 port-jct gdm-password][9472]: pam_succeed_if(gdm-password:auth): requirement "user ingroup nopasswdlogin" not met by user "cohen"  
 mars 08 13:35:07 port-jct gdm-password][19396]: pam_succeed_if(gdm-password:auth): requirement "user ingroup nopasswdlogin" not met by user "cohen"  

相关内容