Quote:
Originally Posted by frankbell
You have provided not much information, such as what distro/version you are using, are you booting to the terminal or to a desktop environment, and so on. Please read this, then provide more information.
|
Thanks for the response! I apologize for the lack of info, I was intending to get back to this after work last week but something came up. I've attempted to troubleshoot more over the weekend without much luck.
I'm trying to follow the instructions provided
here to install the gnome desktop environment and launch a vnc server as a system process on Ubuntu 18.04 LTS server. I am booting without a desktop environment (I believe) then trying to launch the desktop from the terminal.
Here is my systemd unit file, and
here
and
here are two xstartup files I've tried. Neither have mad a difference.
I've done a lot of googling and have found some posts
here and
there that seem to point to the DBUS_SESSION or something, but I must admit that
some of these readings are a bit over my head.
Here is the error if I try to run "XDG_SESSION_TYPE=wayland sudo dbus-run-session gnome-session"
Code:
dbus-daemon[2806]: [session uid=0 pid=2806] Activating service name='org.freedesktop.systemd1' requested by ':1.1' (uid=0 pid=2807 comm="/usr/lib/gnome-session/gnome-session-binary " label="unconfined")
dbus-daemon[2806]: [session uid=0 pid=2806] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[2806]: [session uid=0 pid=2806] Activating service name='org.freedesktop.systemd1' requested by ':1.3' (uid=0 pid=2807 comm="/usr/lib/gnome-session/gnome-session-binary " label="unconfined")
dbus-daemon[2806]: [session uid=0 pid=2806] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[2806]: [session uid=0 pid=2806] Activating service name='org.freedesktop.systemd1' requested by ':1.5' (uid=0 pid=2807 comm="/usr/lib/gnome-session/gnome-session-binary " label="unconfined")
dbus-daemon[2806]: [session uid=0 pid=2806] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[2806]: [session uid=0 pid=2806] Activating service name='org.freedesktop.systemd1' requested by ':1.7' (uid=0 pid=2807 comm="/usr/lib/gnome-session/gnome-session-binary " label="unconfined")
dbus-daemon[2806]: [session uid=0 pid=2806] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[2806]: [session uid=0 pid=2806] Activating service name='org.freedesktop.systemd1' requested by ':1.9' (uid=0 pid=2807 comm="/usr/lib/gnome-session/gnome-session-binary " label="unconfined")
dbus-daemon[2806]: [session uid=0 pid=2806] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[2806]: [session uid=0 pid=2806] Activating service name='org.freedesktop.systemd1' requested by ':1.11' (uid=0 pid=2807 comm="/usr/lib/gnome-session/gnome-session-binary " label="unconfined")
dbus-daemon[2806]: [session uid=0 pid=2806] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[2806]: [session uid=0 pid=2806] Activating service name='org.freedesktop.systemd1' requested by ':1.12' (uid=0 pid=2807 comm="/usr/lib/gnome-session/gnome-session-binary " label="unconfined")
dbus-daemon[2806]: [session uid=0 pid=2806] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
One last edit:
Here is the entire stderr of the "XDG_SESSION_TYPE=wayland sudo dbus-run-session gnome-session --debug" command.
Likewise,
here is the output of just "gnome-session --debug".