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

Cannot launch GUI on KDE Neon 6.2 with any version of SLM #73

Open
SpasilliumNexus opened this issue Oct 18, 2024 · 5 comments
Open

Cannot launch GUI on KDE Neon 6.2 with any version of SLM #73

SpasilliumNexus opened this issue Oct 18, 2024 · 5 comments

Comments

@SpasilliumNexus
Copy link

SpasilliumNexus commented Oct 18, 2024

No matter the version of SLM I try to use, trying to launch in GUI does not run. Luckily I have a backup of settings.json, as that is wiped when trying to run SLM GUI.

This is what is shown in slm.log:

2024-10-18T14:49:46.617-0400	INFO	src/main.go:40	[SLM starts]
2024-10-18T14:49:46.617-0400	INFO	src/main.go:41	[Executable: /home/SpasilliumNexus/Applications/Switch-Library-Manager/Switch-Library-Manager]
2024-10-18T14:49:46.617-0400	INFO	src/main.go:42	[Working directory: /home/SpasilliumNexus/Applications/Switch-Library-Manager]
2024-10-18T14:49:46.618-0400	INFO	console/console-flags.go:112	[Flag -m: <missing>]
2024-10-18T14:49:46.618-0400	INFO	console/console-flags.go:112	[Flag -f: <missing>]
2024-10-18T14:49:46.618-0400	INFO	console/console-flags.go:112	[Flag -r: <missing>]
2024-10-18T14:49:46.618-0400	INFO	console/console-flags.go:112	[Flag -e: <missing>]
2024-10-18T14:49:46.618-0400	INFO	settings/keys.go:54	Trying to load prod.keys based on current folder: /home/SpasilliumNexus/Applications/Switch-Library-Manager/prod.keys
2024-10-18T14:49:46.620-0400	INFO	settings/keys.go:77	Loaded prod.keys from: /home/SpasilliumNexus/Applications/Switch-Library-Manager/prod.keys
2024-10-18T14:49:46.895-0400	ERROR	src/gui.go:175	running bootstrap failed: creating window failed: context canceled
main.(*GUI).Start
	/home/runner/work/switch-library-manager/switch-library-manager/src/gui.go:175
main.main
	/home/runner/work/switch-library-manager/switch-library-manager/src/main.go:64
runtime.main
	/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/proc.go:250

Running in console works fine. Is there any packages I need in KDE Neon to get the GUI working?

@SpasilliumNexus
Copy link
Author

Additional log when trying to run GUI from terminal

./Switch-Library-Manager -m gui
2024/10/18 15:04:43 astikit: starting worker...
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 Skipping restoring resources...
2024/10/18 15:04:43 Starting...
2024/10/18 15:04:43 Provisioning...
2024/10/18 15:04:43 Astilectron has already been provisioned to version 0.57.0, moving on...
2024/10/18 15:04:43 Electron has already been provisioned to version 11.4.3, moving on...
2024/10/18 15:04:43 Listening...
2024/10/18 15:04:43 Executing...
2024/10/18 15:04:43 Starting cmd /home/SpasilliumNexus/Applications/Switch-Library-Manager/vendor/electron-linux-amd64/electron /home/SpasilliumNexus/Applications/Switch-Library-Manager/vendor/astilectron/main.js 127.0.0.1:37935 true
2024/10/18 15:04:43 Stderr says: [7340:1018/150443.603803:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/SpasilliumNexus/Applications/Switch-Library-Manager/vendor/electron-linux-amd64/chrome-sandbox is owned by root and has mode 4755.
2024/10/18 15:04:43 astikit: received signal child exited
2024/10/18 15:04:43 astikit: received signal urgent I/O condition
2024/10/18 15:04:43 '/home/SpasilliumNexus/Applications/Switch-Library-Manager/vendor/electron-linux-amd64/electron' exited with code: -1
2024/10/18 15:04:43 App has crashed
2024/10/18 15:04:43 Stopping...
2024/10/18 15:04:43 astikit: stopping worker...
2024/10/18 15:04:43 Closing...
2024/10/18 15:04:43 accept tcp 127.0.0.1:37935: use of closed network connection while TCP accepting
2024/10/18 15:04:43 Stopping...
2024/10/18 15:04:43 creating window failed: context canceled

@trembon
Copy link
Owner

trembon commented Oct 20, 2024

i dont really have a linux available for testing so i'm not really sure if it needs any extra packages
only other thing i heard from linux here is #41 if that one can be related, not much to go on though

@jshsakura
Copy link

I am using Linux Mint Cinnamon version and was able to run the GUI by referring to the above issue.
thank you #41

@trembon
Copy link
Owner

trembon commented Oct 31, 2024

@jshsakura is it possible to share this as a PR or explain what change you did in more detail so i can add it?

@jshsakura
Copy link

I'll prepare a PR for you to check!

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

No branches or pull requests

3 participants