Setup.sh fails to run
Closed this issue · 7 comments
When running setup, on a fresh Steam Deck install I get the error in HeriocBashLauncher.log
(deck@steamdeck HeroicBashLauncher-2.4.3_Flatpak)$ cat HeroicBashLauncher.log
Using HeroicBashLauncher Flatpak version...
(zenity:41141): Gtk-WARNING **: 02:21:33.894: cannot open display:
Using Bash Launcher 2.4.2
Checking if Zenity is installed:
Zenity not installed. Please consider doing so and try again.
I cannot install Zenity because it says Zenity-light is in conflict, and unsure what to do now. Thanks in advance.
Is there a way to uninstall Zenity-light?
I can give it a try, but I'm not super familiar with Arch based distros. I'll look it up and see
I don't think this should be required, but so far I've been in a loop of, had to install Zenity, done. Now each time I run the script there's a new missing dependency, it's been going on for an hour and I'm not sure if this is the correct way to do things, especially for a deck.
I spent the last hour uninstalling zenity-light, zenity, continuing to run the script over and over and over again, installing each dependency that it popped up with. And finally, still nothing. back to square one. Zenity (full, with libgtk, etc)
(deck@steamdeck HeroicBashLauncher-2.4.3_Flatpak)$ cat /var/log/pacman.log [2022-04-16T02:16:48-0700] [PACMAN] Running 'pacman -S zenity' [2022-04-16T11:08:14-0700] [PACMAN] Running 'pacman -S zenity' [2022-04-16T11:13:29-0700] [PACMAN] Running 'pacman -S zenity' [2022-04-16T11:13:44-0700] [PACMAN] Running 'pacman -S zenity' [2022-04-16T11:15:13-0700] [PACMAN] Running 'pacman -Syu' [2022-04-16T11:15:13-0700] [PACMAN] synchronizing package lists [2022-04-16T11:15:15-0700] [PACMAN] starting full system upgrade [2022-04-16T11:15:20-0700] [ALPM] transaction started [2022-04-16T11:15:20-0700] [ALPM] upgraded desync-git (0.9.2.r12.gf4ee2b1-1 -> 0.9.2.r14.g16ddd74-1) [2022-04-16T11:15:20-0700] [ALPM] transaction completed [2022-04-16T11:15:20-0700] [ALPM] running '30-systemd-update.hook'... [2022-04-16T11:15:20-0700] [ALPM-SCRIPTLET] touch: setting times of '/usr': Read-only file system [2022-04-16T11:15:35-0700] [PACMAN] Running 'pacman -Syy' [2022-04-16T11:15:35-0700] [PACMAN] synchronizing package lists [2022-04-16T11:15:43-0700] [PACMAN] Running 'pacman -S zenity' [2022-04-16T11:24:17-0700] [PACMAN] Running 'pacman -S zenity' [2022-04-16T11:24:20-0700] [ALPM] transaction started [2022-04-16T11:24:20-0700] [ALPM] removed zenity-light (3.32.0+55+gd7bedff-1) [2022-04-16T11:24:20-0700] [ALPM] installed harfbuzz-icu (3.2.0-1) [2022-04-16T11:24:20-0700] [ALPM] installed libwpe (1.12.0-1) [2022-04-16T11:24:20-0700] [ALPM] installed wpebackend-fdo (1.12.0-1) [2022-04-16T11:24:20-0700] [ALPM] installed enchant (2.3.2-1) [2022-04-16T11:24:20-0700] [ALPM] installed hyphen (2.8.8-3) [2022-04-16T11:24:20-0700] [ALPM] installed woff2 (1.0.2-3) [2022-04-16T11:24:20-0700] [ALPM] installed libmanette (0.2.6-2) [2022-04-16T11:24:21-0700] [ALPM] installed webkit2gtk (2.34.4-1) [2022-04-16T11:24:21-0700] [ALPM] installed zenity (3.41.0-1) [2022-04-16T11:24:21-0700] [ALPM] transaction completed [2022-04-16T11:24:21-0700] [ALPM] running '30-systemd-update.hook'... [2022-04-16T11:24:21-0700] [ALPM-SCRIPTLET] touch: setting times of '/usr': Read-only file system [2022-04-16T11:24:38-0700] [PACMAN] Running 'pacman -S zenity' [2022-04-16T11:24:40-0700] [ALPM] transaction started [2022-04-16T11:24:40-0700] [ALPM] reinstalled zenity (3.41.0-1) [2022-04-16T11:24:40-0700] [ALPM] transaction completed [2022-04-16T11:24:40-0700] [ALPM] running '30-systemd-update.hook'... [2022-04-16T11:25:45-0700] [PACMAN] Running 'pacman -S libwebkit2gtk-4.0-37' [2022-04-16T11:27:03-0700] [PACMAN] Running 'pacman -S libwebkit2gtk-4.0' [2022-04-16T11:27:08-0700] [PACMAN] Running 'pacman -S libwebkit2gtk' [2022-04-16T11:27:57-0700] [PACMAN] Running 'pacman -S webkit2gtk' [2022-04-16T11:28:00-0700] [ALPM] transaction started [2022-04-16T11:28:00-0700] [ALPM] reinstalled webkit2gtk (2.34.4-1) [2022-04-16T11:28:00-0700] [ALPM] transaction completed [2022-04-16T11:28:00-0700] [ALPM] running '30-systemd-update.hook'... [2022-04-16T11:28:30-0700] [PACMAN] Running 'pacman -S libwpe' [2022-04-16T11:28:32-0700] [ALPM] transaction started [2022-04-16T11:28:32-0700] [ALPM] reinstalled libwpe (1.12.0-1) [2022-04-16T11:28:32-0700] [ALPM] transaction completed [2022-04-16T11:28:32-0700] [ALPM] running '30-systemd-update.hook'... [2022-04-16T11:29:04-0700] [PACMAN] Running 'pacman -S wpebackend-fdo' [2022-04-16T11:29:06-0700] [ALPM] transaction started [2022-04-16T11:29:06-0700] [ALPM] reinstalled wpebackend-fdo (1.12.0-1) [2022-04-16T11:29:06-0700] [ALPM] transaction completed [2022-04-16T11:29:06-0700] [ALPM] running '30-systemd-update.hook'... [2022-04-16T11:30:00-0700] [PACMAN] Running 'pacman -S libwoff2dec' [2022-04-16T11:30:21-0700] [PACMAN] Running 'pacman -S woff2' [2022-04-16T11:30:23-0700] [ALPM] transaction started [2022-04-16T11:30:23-0700] [ALPM] reinstalled woff2 (1.0.2-3) [2022-04-16T11:30:23-0700] [ALPM] transaction completed [2022-04-16T11:30:23-0700] [ALPM] running '30-systemd-update.hook'... [2022-04-16T11:31:11-0700] [PACMAN] Running 'pacman -S harfbuzz-icu' [2022-04-16T11:31:12-0700] [ALPM] transaction started [2022-04-16T11:31:12-0700] [ALPM] reinstalled harfbuzz-icu (3.2.0-1) [2022-04-16T11:31:12-0700] [ALPM] transaction completed [2022-04-16T11:31:12-0700] [ALPM] running '30-systemd-update.hook'... [2022-04-16T11:32:20-0700] [PACMAN] Running 'pacman -S enchant' [2022-04-16T11:32:22-0700] [ALPM] transaction started [2022-04-16T11:32:22-0700] [ALPM] reinstalled enchant (2.3.2-1) [2022-04-16T11:32:22-0700] [ALPM] transaction completed [2022-04-16T11:32:22-0700] [ALPM] running '30-systemd-update.hook'... [2022-04-16T11:33:25-0700] [PACMAN] Running 'pacman -S libhyphen' [2022-04-16T11:33:33-0700] [PACMAN] Running 'pacman -S hyphen' [2022-04-16T11:33:35-0700] [ALPM] transaction started [2022-04-16T11:33:35-0700] [ALPM] reinstalled hyphen (2.8.8-3) [2022-04-16T11:33:35-0700] [ALPM] transaction completed [2022-04-16T11:33:35-0700] [ALPM] running '30-systemd-update.hook'... [2022-04-16T11:36:30-0700] [PACMAN] Running 'pacman -S manette' [2022-04-16T11:37:02-0700] [PACMAN] Running 'pacman -S libmanette' [2022-04-16T11:37:04-0700] [ALPM] transaction started [2022-04-16T11:37:04-0700] [ALPM] reinstalled libmanette (0.2.6-2) [2022-04-16T11:37:04-0700] [ALPM] transaction completed [2022-04-16T11:37:04-0700] [ALPM] running '30-systemd-update.hook'...
Seems very unnecessary, and still didn't fix the issue at all. I run the same exact script, there's no more dependency errors with the same identical error.
I finally drilled down what the issue was. I'm not sure why the dependency of zenity is required at all. But if you run from non-Konsole, or over SSH it fails to find zenity due to zenity not being able to open a graphics device, silently failing returning "" for zenity --version.
It appears zenity is only used to show a message box when completed? Can we just make that a CLI option only, and that would resolve this issue. I don't think I needed to uninstall zenity-light, and re-install everything else. I just needed to run it specifically from konsole in Desktop Mode. Using SSH, another terminal does not work.
Yeah, Zenity just shows a dialog box. So it makes sense for it not to work over SSH as it doesn't have access to the display.
So I'm assuming Bash Launcher works now?
Yep, that's correct :) May be best in the future to have a cli-only option if it's not too much hassle. I'll close this for now :)
A PR that brings CLI support is in the works.