Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stand alone ubuntu session #39

Draft
wants to merge 23 commits into
base: 24
Choose a base branch
from

Conversation

sergio-costas
Copy link
Contributor

@sergio-costas sergio-costas commented Nov 26, 2024

First stand-alone working version. This snap contains a fully working, stand-alone, Ubuntu Desktop Session, and also removes duplicated files from gtk-common-themes and core24, which reduces de size in about 50 MBytes. Duplicated libraries from gnome-46-2404 is a little more complex, due to several conflicts, so it will be delayed for a future version, although it could free another 50MBytes approximately.

It requires canonical/core-base-desktop#76

This version can launch a bare ubuntu desktop session from a
console just by running

    snap run ubuntu-desktop-session

This session still doesn't have sound, can't launch programs...
is extremely limited, but it's a beginning.

It works on a modified core24-desktop with all the GDM and Gnome
packages removed (basically the 002.1-add-gdm.chroot file is
removed), and still uses it as base.

The next step is to use core24 as base. For that, we need to
find which packages install gnome-initial-setup that are
required for DRI/DRM, because without it (installed with the
002.4-configure-system-setup-tool.chroot), gnome shell returns
an error when trying to create the graphical console.
Tracker is required for nautilus and DING
The problem was that some services were being activated by DBus,
when they should be activated by gnome-session. Removing the bus
activation parts fixed it.
This patch fixes setting the background picture (but not a
background uniform color)
The interface makes gnome shell to do "odd things" during
startup, due to setting environment variables when launching
daemons.
@sergio-costas sergio-costas force-pushed the stand-alone-ubuntu-session branch from bf1e1a6 to d681504 Compare December 3, 2024 15:56
It was added only to have access to StartTransientUnit and remove
the error messages in journalctl, but it isn't really required,
and prevents the snap to be automatically accepted in the store.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant