我开始收到一条消息
dims is not in the sudoers file. This incident will be reported.
Run Code Online (Sandbox Code Playgroud)
关于我自己。
这怎么会发生?
我发出的可疑命令是创建“高级”组并将我自己添加到其中。
addgroup advanced
usermod -G advanced dims
Run Code Online (Sandbox Code Playgroud)
这会破坏我的 sudo 权限吗?
我在 Virtual Box 中将 Ubuntu 从 14.04 LTS 升级到 16.04.1 LTS,它终止了我的安装。现在我希望重新安装 Ubuntu 并保留我的home
目录。
不幸的是,安装程序要求我做出一些奇怪的选择:
它建议了几种删除所有内容的选项,并且只有一种选项可以保留我的文件。但此选项还建议安装两个版本的 Ubuntu。
这是什么意思?所有程序和系统文件的两份副本?或者只是两个内核?我不需要两个副本,我只想覆盖失败的安装。
是否可以在 Linux 下打开 MS OneNote 文件?
至少是只读的?
当我在 Ubuntu GNOME 中按下Alt-时TAB,会出现一个应用程序列表,并且所选的应用程序是当前应用程序。所以我需要再次按Alt-切换到以前的应用程序。TAB
如何禁用这个“功能”?是否可以使Alt-TAB永远不显示当前选择的应用程序?如何强制它选择其他东西?
我不想只使用命令行服务器机器。所以,我希望从服务器上移除 GUI,它是在升级过程中自动安装的。
同时,我不想删除,X
因为我仍然希望能够X Window
在VNC
或上运行应用程序XServer
。
怎么做?
更新
sudo apt-get remove ubuntustudio-desktop
Run Code Online (Sandbox Code Playgroud)
没有帮助
更新 2
改变
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash console=tty1"
GRUB_CMDLINE_LINUX_DEFAULT="text"
Run Code Online (Sandbox Code Playgroud)
inetc/default/grub
没有帮助(它只在启动阶段影响图形)
更新 3
更改为
env DEFAULT_RUNLEVEL=3
Run Code Online (Sandbox Code Playgroud)
在/etc/init/rc-sysinit.conf
没有帮助。
更新 4
$ ls /usr/share/xsessions
ubuntustudio.desktop xfce.desktop
Run Code Online (Sandbox Code Playgroud)
更新 5
将“手册”添加到 lightdm.override
$ cat /etc/init/lightdm.override
manual
Run Code Online (Sandbox Code Playgroud)
没有帮助,虽然停止lightdm
服务
sudo service lightdm stop
Run Code Online (Sandbox Code Playgroud)
关闭桌面。如何让这个服务永不运行?
更新 6
$ sudo update-rc.d lightdm disable
insserv: warning: current start runlevel(s) (empty) of script `lightdm' overrides LSB defaults (2 …
Run Code Online (Sandbox Code Playgroud) 我正在运行 Windows 10,在一台机器和 Ubuntu 16.04 LTS 上启用远程桌面。当我尝试通过 Remmina 远程桌面打开从 Ubuntu 到 Windows 的连接时,Remmina 的窗口最小化,好像很快就会建立连接,然后什么也没有发生。
不会出现错误消息。
怎么修?
如果我按下PrintScreen按钮,Spectacle应用程序将启动并允许我使用以下按键和鼠标笔触截取屏幕截图。
我可以让它立即进行而不需要额外的操作吗?
如果Spectacle应用程序已经启动,则PrintScreen按钮上没有任何反应。
即,根据Spectacle应用程序的状态,我应该在正在运行的应用程序列表中按下PrintScreen或查找Spectacle应用程序——许多附加操作。
我可以在PrintScreen按钮上激活应用程序吗?
我正在尝试使用命令从 16 LTS 升级
sudo do-release-upgrade
Run Code Online (Sandbox Code Playgroud)
但它失败了
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade.
This was likely caused by:
* Unofficial software packages not provided by Ubuntu
Please use the tool 'ppa-purge' from the ppa-purge
package to remove software from a Launchpad PPA and
try the upgrade again.
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.If
you want to investigate this yourself the log …
Run Code Online (Sandbox Code Playgroud) 如何告诉 Ubuntu 硬件时钟是当地时间?
此命令没有帮助:
timedatectl set-local-rtc 1
Run Code Online (Sandbox Code Playgroud)