AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1277793
Accepted
emc2
emc2
Asked: 2020-09-26 10:55:03 +0800 CST2020-09-26 10:55:03 +0800 CST 2020-09-26 10:55:03 +0800 CST

Ubuntu 20.04 总是强制我在启动时创建一个新用户

  • 772

我新安装了 Ubuntu 20.04,定制了 GDM3,安装了我需要的软件,一切似乎都很成功。但是,当我重新启动时,Ubuntu 出于某种原因要求我创建一个新用户。我无法绕过这一点,必须创建用户,之后我才能正常注销。然后登录屏幕显示新用户和正确的原始用户,我可以登录并继续。

我搜索了 Ask Ubuntu,发现了 1 个类似问题的实例。不幸的是,那里提出的解决方案(重新安装 ubuntu-desktop)对我不起作用。

图形驱动程序是 Nvidia 440.100,如果相关的话。

有人可以建议采取行动来解决这个问题吗?我不愿意重新安装 Ubuntu,因为有相当多的定制。除了这个新用户问题,到目前为止它运行良好。

[编辑] Oct.1/20 这个问题在 Ubuntu 18 和 19 中是已知的,并且似乎与 [this bug][1] 相同。

我发现在研究为什么在启动时,系统日志显示以下行:

Oct  1 15:39:49 mynode tracker-miner-f[1871]:   (Sparql buffer) Error in task 0 (file:///run/gnome-initial-setup) of the array-update: There is not enough space on the file system for update operations
Oct  1 15:39:49 mynode tracker-miner-f[1871]: Could not execute sparql: There is not enough space on the file system for update operations
Oct  1 15:39:50 mynode tracker-miner-f[1871]:   (Sparql buffer) Error in task 0 (file:///run/gnome-initial-setup) of the array-update: There is not enough space on the file system for update operations
Oct  1 15:39:50 mynode tracker-miner-f[1871]: Could not execute sparql: There is not enough space on the file system for update operations
Oct  1 15:39:50 mynode tracker-miner-f[1871]:   (Sparql buffer) Error in task 0 (file:///run/gnome-initial-setup/gnome-initial-setup-uid) of the array-update: There is not enough space on the file system for update operations
Oct  1 15:39:50 mynode tracker-miner-f[1871]: Could not execute sparql: There is not enough space on the file system for update operations

该消息具有误导性,因为分区仅使用了 20%。

gdm login users 20.04
  • 1 1 个回答
  • 1383 Views

1 个回答

  • Voted
  1. Best Answer
    emc2
    2020-10-19T12:01:16+08:002020-10-19T12:01:16+08:00

    在寻找“空间不足”的原因时,我偶然发现了一些关于“强制新用户”问题的建议:

    1. 通过将 gnome-initial-setup 注释掉来禁用它 /etc/xdg/autostart/gnome-initial-setup-first-login.desktop。
      要评论的行是:

      Exec=/usr/libexec/gnome-initial-setup --existing-user
      

      这似乎解决了这个问题,但间歇性地。

    2. 完全删除 gnome-initial-setup 包

       sudo apt remove gnome-initial-setup
      
    3. 从 gnome 登录切换到 lightdm

    4. 最后,一个有效的:

       a) edit /etc/gdm3/custom.conf
       b) Add/modify: 
      
           [daemon]
           InitialSetupEnable=False
      
    • 3

相关问题

  • 登录失败并显示低图形然后崩溃?[关闭]

  • 10.04 Lucid 中的多席位状态如何?[关闭]

  • 从登录屏幕启动访客会话

  • 如何更改 GDM 中的登录屏幕主题?

  • 如何防止自己在多用户设置中自动注销?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve