Bug 1729777 - anaconda startup errors on Plasma on Wayland
Summary: anaconda startup errors on Plasma on Wayland
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 30
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2019-07-14 13:55 UTC by Matt Fagnani
Modified: 2019-07-14 13:57 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)
/tmp/anaconda.log from running sudo anaconda in Plasma on Wayland (3.87 KB, text/plain)
2019-07-14 13:57 UTC, Matt Fagnani
no flags Details

Description Matt Fagnani 2019-07-14 13:55:03 UTC
Description of problem:

I tried running sudo anaconda in konsole in Plasma on Wayland. Errors indicating that the display server didn't start and gtk couldn't be initialized were shown.

anaconda 30.25.6-4.fc30 for anaconda bluesky (pre-release) started.
 * installation log files are stored in /tmp during the installation
 * shell is available on TTY2 and in second TMUX pane (ctrl+b, then press 2)
 * when reporting a bug add logs from /tmp as separate text/plain attachments
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused
Traceback (most recent call last):
  File "/usr/sbin/anaconda", line 612, in <module>
    display.setup_display(anaconda, opts)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/display.py", line 346, in setup_display
  File "/usr/lib64/python3.7/site-packages/pyanaconda/anaconda.py", line 284, in initInterface
    fullscreen=False, decorated=self.decorated)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/ui/gui/__init__.py", line 659, in __init__
    self.mainWindow = MainWindow(fullscreen=fullscreen, decorated=decorated)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/ui/gui/__init__.py", line 346, in __init__
  File "/usr/lib64/python3.7/site-packages/gi/overrides/Gtk.py", line 519, in __init__
    "Gtk couldn't be initialized. "
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.

The screen switched to sddm in VT1 after these errors happened.

Version-Release number of selected component (if applicable):

How reproducible:
The anaconda startup errors happened each of a few times I tried in Plasma on Wayland.

Steps to Reproduce:
1. Boot F30 KDE Plasma spin installation fully updated with updates-testing enabled
2. Log in to Plasma on Wayland from sddm
3. sudo anaconda (in konsole)

Actual results:
Anaconda didn't start and showed errors connecting to the display server in Plasma on Wayland.

Expected results:
anaconda would start normally.

Additional info:

anaconda started correctly when I used Plasma on X. This issue is likely related to the use of Wayland. anaconda might not have been able to start or connect to XWayland. I'll attach /tmp/anaconda.log

Comment 1 Matt Fagnani 2019-07-14 13:57:25 UTC
Created attachment 1590516 [details]
/tmp/anaconda.log from running sudo anaconda in Plasma on Wayland

Note You need to log in before you can comment on or make changes to this bug.