我最近安装了 ubuntu 24.04,我注意到默认情况下我的 GUI 在 TTY2 上,但奇怪的是,TTY1 也打开了一个 GUI,等待我登录。TTY3 到 TTY7 是正常的命令提示符。
有没有办法禁用其中一个 GUI?
谢谢大家的帮助,这个论坛是一个很好的资源。
我的设置:Ubuntu 24.04 Razer Blade 基本型号 2019 Intel 集成显卡 + NVidia gtx 2060 使用 NVidia 535 驱动器(不是带有开放内核的驱动器)
我最近安装了 ubuntu 24.04,我注意到默认情况下我的 GUI 在 TTY2 上,但奇怪的是,TTY1 也打开了一个 GUI,等待我登录。TTY3 到 TTY7 是正常的命令提示符。
有没有办法禁用其中一个 GUI?
谢谢大家的帮助,这个论坛是一个很好的资源。
我的设置:Ubuntu 24.04 Razer Blade 基本型号 2019 Intel 集成显卡 + NVidia gtx 2060 使用 NVidia 535 驱动器(不是带有开放内核的驱动器)
当我尝试通过终端启动 chromium 浏览器时出现一个巨大的错误,最糟糕的是浏览器非常泪水。泪流满面的图像 上次我在 wsl2 ie 中使用任何 gui 应用程序时发生了这种情况。gimp/jetbrains
2024/03/01 13:24:56.942877 cmd_run.go:1055: WARNING: cannot start document portal: dial unix /run/user/1000/bus: connect: no such file or directory
[1033:1199:0301/132457.394982:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[1033:1199:0301/132457.395104:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[1033:1199:0301/132457.395155:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[1033:1199:0301/132457.395201:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[1033:1033:0301/132457.402909:ERROR:policy_logger.cc(157)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(161) Cloud management controller initialization aborted as CBCM is not enabled. Please use the `--enable-chrome-browser-cloud-management` command line flag to enable it if you are not using the official Google Chrome build.
[1033:1199:0301/132457.423402:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[1033:1199:0301/132457.423470:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[1033:1197:0301/132457.476398:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[1033:1199:0301/132457.513921:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[1033:1199:0301/132457.513995:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[1221:1221:0301/132457.523171:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
(chrome:1033): IBUS-WARNING **: 13:24:57.674: Failed to mkdir /home/nvn/snap/chromium/2768/.config/ibus/bus: Not a directory
[1033:1033:0301/132457.694013:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[1033:1281:0301/132457.694720:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[1033:1033:0301/132457.758513:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[1033:1197:0301/132457.758746:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[1033:1288:0301/132457.759669:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[1033:1288:0301/132457.760041:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[1033:1288:0301/132457.760400:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[1033:1033:0301/132457.775794:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[1033:1215:0301/132457.776615:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[1033:1033:0301/132457.784559:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[1033:1197:0301/132457.784798:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[1033:1033:0301/132457.785456:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[1284:1284:0301/132457.908216:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[1263:7:0301/132457.989707:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
看完这篇文章后,我设法在模板中添加了一个文本文件: 如何在 Ubuntu 16.10 Desktop 中创建新的空文件/模板文件?
但是,它会使用提供的名称创建一个文本文件。
是否可以创建一个新文件,然后在创建后立即将其置于重命名会话中?就像在 Windows 上右键单击并创建新文件一样
所以,基本上,我不希望工作区显示在应用程序菜单(应用程序选择器?)窗口中。当我单击活动时,它们已经存在,因此我不需要冗余。解决方案?
我想我可以用一个 Gnome 扩展来做到这一点,但我从来没有写过一个(我所有的编程知识都恢复到一本 Java For Dummies 书和几年使用 PHP/CSS 的工作)。如果有人能给我一些关于如何开始的指示,我会很高兴。
先感谢您。
我无法在 WSL 下运行 GUI 应用程序。首先,我尝试运行 Synaptic,但它显示了以下消息:
Unable to init server: Could not connect: Connection refused
Failed to initialize GTK.
Probably you're running Synaptic on Wayland with root permission.
Please restart your session without Wayland, or run Synaptic without root permission
然后我尝试运行gedit
并得到了这个:
Unable to init server: Could not connect: Connection refused
(gedit:36): Gtk-WARNING **: 12:46:33.434: cannot open display:
有人建议我可以通过远程桌面连接使用它,但我希望它与系统集成。
是否可以更改“文件”打开的默认位置?目前,它打开“主”目录,但我希望它打开“加星标”目录。
谢谢!
我在传感器上安装psensor
并在 gui 中right clicked
,然后单击hide
. 该传感器从 gui 中消失了,我不知道如何找回它。任何有关如何在 psensor 中“取消隐藏”给定传感器的见解都将不胜感激。
为清楚起见,这与图形的复选框相反...我尝试重新启动我的机器以及重新安装 psensor。我还没有安装 lm-sensor
我正在尝试在 TTY 上的 Ubuntu 18.04 上重新安装 xfce 或 xubuntu-desktop,但不幸的是,我错误地删除了我的 GUI 包以及可能更多。我的来源列表目前看起来像:
deb http://ca.archive.ubuntu.com/ubuntu/ bionic universe
deb http://ca.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://ca.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://ca.archive.ubuntu.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://ca.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
的输出apt policy ubuntu-desktop
是
ubuntu-desktop:
Installed: (none)
Candidate: 1.417.5
Versiontable:
1.417.5 500
500 http://ca.archive.ubuntu.com/ubuntu bionic-updates.main amd64 Packages
运行后,sudo apt-get update && sudo apt-get upgrade
我尝试安装 xubuntu-desktop,sudo apt-get install xubuntu-desktop
它sudo apt-get install xfce4
给了我一个依赖项列表,所有这些都说它“不会被安装”。例如:
The following packages have unmet dependencies:
xfce4: Depends: xfwm4 (>= 4.12.0) but it is not going to be installed
...
E: Unable to correct problems, you have held broken packages.
为了尝试调查这个损坏的包问题,我尝试了:
sudo apt-get install -f && sudo dpkg --configure -a
和
dpkg --get-selections | grep hold
它什么也没返回。我也尝试sudo apt-get install aptitude
了一种解决方法,但我得到了:
E: Package 'aptitude' has no installation candidate
.
我知道我可以手动安装这些依赖项,sudo apt-get install <unmet dependencies> <unmet dependencies>
但我将永远陷入为数百个依赖项执行此操作的循环中。
我是否在源列表中遗漏了某些内容,导致我无法 1) 安装 aptitude 和 xfce 等软件包?2)安装依赖项?我不确定下一步该做什么。
注意:我是 Ubuntu 新手!另外,我确实连接到wifi。