April 27, 2023, 3:34pm
When i attempted to launch a root gnome-terminal on the default Fedora-37 template i received a "dbus-launch" error.
[user@fedora-37-clone-1 ~]$ sudo gnome-terminal
# gdk_atom_intern: assertion 'atom_name != NULL' failed
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Failed to execute child process “dbus-launch” (No such file or directory)
I know I can "sudo COMMAND" or I can become root "sudo su", but it my case I need to launch a root gnome-terminal.
Installing dbus-launch solves the issue, "sudo dnf install dbus-x11". I have checked the default Debian-11 template has dbus-x11 installed.
Just execute 'gnome-terminal' or 'terminal' without using sudo or root.
April 27, 2023, 3:41pm
You clearly have not read what i have said.
After you went to the terminal, for Debian: execute either sudo or root:
1. dnf update
2. dnf install dbus-x11
!! Notes: must be executed in xterm, not gnome terminal. !!
Additionally, the fc37 minimal does not have GUI terminal because of its nature of execution from formal installation of minimal setup. As a result, fc37 minimal only provides CLI based programs.
To withdraw my mistake, in order to install dbus x11, as an user:
1. sudo dnf install apt
2. add the Debian Buster package repositories to /etc/apt folder via root
3. After you are doing so, sudo apt update for the packages
4. sudo apt install [package]