Public bug reported:
OS: Kubuntu Questing Beta release candidate
Steps to reproduce:
1. Boot the Kubuntu ISO.
2. On the installer prompt screen, click "Install Kubuntu".
Expected result: Calamares appears.
Actual result: The installer prompt screen disappears and you are logged into a
live KDE session.
The root cause of this appears to be `sudo-rs`, which got rid of the
`-E` option for passing through the entire environment to the executed
application. kubuntu-installer-prompt attempts to launch Calamares with
`sudo -E calamares`, `sudo-rs` ignores `-E`, and then Calamares is left
without the `WAYLAND_DISPLAY` and `XDG_RUNTIME_DIR` variables it needs
to connect to the Wayland server. Calamares then immediately crashes,
causing the installer prompt screen to launch a KDE session since it
assumes the user closed the Calamares window.
The actual fix should be easy. The appropriate environment variables
simply need to be set in the `sudo` command linee directly rather than
relying on `-E`. `sudo WAYLAND_DISPLAY=wayland-0
XDG_RUNTIME_DIR=/run/user/1000 QT_QPA_PLATFORMTHEME=kde calamares` seems
to work, and hardcoding the values is fine for now.
** Affects: kubuntu-installer-prompt (Ubuntu)
Importance: Critical
Assignee: Aaron Rainbolt (arraybolt3)
Status: New
** Changed in: kubuntu-installer-prompt (Ubuntu)
Importance: Undecided => Critical
** Changed in: kubuntu-installer-prompt (Ubuntu)
Assignee: (unassigned) => Aaron Rainbolt (arraybolt3)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2124199
Title:
Calamares fails to launch when "Install Kubuntu" is clicked
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kubuntu-installer-prompt/+bug/2124199/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs