marbetschar / tins

Containers just like Virtual Machines - but with native performance
GNU General Public License v3.0
40 stars 3 forks source link

Starting Pantheon fails #23

Open marbetschar opened 4 years ago

marbetschar commented 4 years ago

This is probably related to #21, follow up of https://github.com/marbetschar/tins/issues/16

gnome-session --session=pantheon refuses to start and produces the following eror:

gnome-session-binary[634]: CRITICAL: We failed, but the fail whale is dead. Sorry....
marbetschar commented 4 years ago

Some more infos from the debug output of gnome-session:

$ lxc exec Stable -- su --login marbetschar --command 'gnome-session --session=pantheon --debug'
...
Failed to create /home/marbetschar/.cache/mesa_shader_cache for shader cache (Permission denied)---disabling.
...
gnome-session-binary[1528]: WARNING: App 'pulseaudio.desktop' exited with code 1
...
gnome-session-binary[1528]: WARNING: App 'spice-vdagent.desktop' exited with code 1
...
gnome-session-binary[1528]: DEBUG(+): GetConnectionUnixUser() failed: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.314': no such name
...
gnome-session-binary[1528]: WARNING: App 'org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1
...
gnome-session-binary[1528]: DEBUG(+): GsmAutostartApp: (pid:1631) done (status:1)
...
gnome-session-binary[1528]: WARNING: App 'org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1
...
gnome-session-binary[1528]: WARNING: Application 'org.gnome.SettingsDaemon.Power.desktop' killed by signal 11
...
gnome-session-binary[1528]: WARNING: Application 'org.gnome.SettingsDaemon.Power.desktop' killed by signal 11
...
gnome-session-binary[1528]: DEBUG(+): Component 'org.gnome.SettingsDaemon.Power.desktop' is autorestart, ignoring died signal
...
gnome-session-binary[1528]: WARNING: App 'org.gnome.SettingsDaemon.Power.desktop' respawning too quickly
gnome-session-binary[1528]: CRITICAL: We failed, but the fail whale is dead. Sorry....
marbetschar commented 4 years ago

Steps to reproduce:

  1. Install & Start Tins (see README)
  2. Click "+ Add Container..." in the lower left corner
  3. Set Name: elementary, Type: elementary, Version: hera - click "Next"
  4. Set Enable Desktop Support and select stable - click "Apply"
  5. Wait until the container is setup
  6. In Tins, click on the Desktop Icon of the container - this opens a new window, which provides the X11 Server to the container
  7. Open Terminal on Host and execute: lxc exec elementary -- su --login <username> --command "gnome-session --session=pantheon --debug" (where <username> is the same you use on your host)