-
Notifications
You must be signed in to change notification settings - Fork 33
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
Allow to login in the newly created session after setup #144
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new page is using text and an image from the store page. We need new strings for this page, I'd recommend modeling it off gnome-initial-setup's final page.
It would also be good to include a screenshot of the page in the PR
packages/ubuntu_init/lib/src/launchsession/launchsession_page.dart
Outdated
Show resolved
Hide resolved
packages/ubuntu_init/lib/src/launchsession/launchsession_page.dart
Outdated
Show resolved
Hide resolved
packages/ubuntu_init/lib/src/launchsession/launchsession_page.dart
Outdated
Show resolved
Hide resolved
packages/ubuntu_init/lib/src/launchsession/launchsession_page.dart
Outdated
Show resolved
Hide resolved
I don't know what is happening with github... the "git push" command doesn't work. |
Uploaded. |
Rebased to fix the conflicts. |
431f461
to
312f42d
Compare
"@launchsessionTitle": {}, | ||
"launchsessionHeader": "All done!", | ||
"@launchsessionHeader": {}, | ||
"launchsessionDescription": "You can now begin using Ubuntu Core Desktop.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fine for now, but eventually we want to detect the OS identifier from /etc/os-release. But that's still an outstanding item we need to resolve on the core22-desktop side first.
e6221a7
to
2a4d735
Compare
5775a8f
to
3b6897f
Compare
@kenvandine I misunderstood the comment from Robert at his dbus.dart branch; anyway, I tested it and the code does work with the current code in main, so that branch doesn't need to be merged. Also, I had to revert a change that I did, because it is needed to "reuse" the GDM connection for the greeter and the user verifier. |
This PR adds an extra page that can be used at the end for login into the newly created session.
This patch uses DBus to launch a Gnome Shell session after the setup has been completed. It requires the last changes to the DBus module to support point-to-point DBus communication over a custom unix socket.
- moving GdmService into a true service - encapsulate getting the username and password into GdmService - return the Store page
It is a must to re-use the GDM connection to ensure that launching the new session does work. Also, the branch from Robert Ancell is not needed anymore; with the current code in the main branch is enough.
875f37f
to
b102dba
Compare
This reverts commit 944d82e.
9faec18
to
6a2a8a1
Compare
Yes :) |
This patch adds a new final page to ubuntu_init where the button to launch the store is removed (since it doesn't work on core desktop) and that launches the newly created session by calling GDM.
This patch requires the patches for dbus.dart that implements support for point-to-point dbus connections: canonical/dbus.dart#363