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

Decky Loader: had to manually add ~/.steam/steam/.cef-enable-remote-debugging to get UI to load. #460

Open
knokelmaat opened this issue Jan 6, 2025 · 2 comments
Labels
1. type: bug Something isn't working 1. type: Question Question from a user 2. priority: 3. low 2. topic: decky-loader ↺ workaround A known workaround for the issue exists.

Comments

@knokelmaat
Copy link

It took me some time to figure out why Decky Loader wasn't showing up in SteamOS UI after enabling the option jovian.decky-loader.enable.

Finally by looking at the default install script (https://github.com/SteamDeckHomebrew/decky-installer/blob/main/cli/install_release.sh), I saw that CEF remote debugging needs to be enabled. The install script does this automatically, but the option jovian.decky-loader.enable in Jovian-NixOS does not.

Is it possible to add this functionality automatically or to add this info to the documentation? My apologies if this is a mistake on my part, I'm still quite new to nix (been using it for less than a year).

@K900
Copy link
Contributor

K900 commented Jan 6, 2025

This is a known issue. We can't enable CEF debugging automatically, because we can't disable it after - the file being removed does not lead to it being disabled in Steam, and it is a potential attack vector. The documentation should probably mention that you need to enable it manually though.

@samueldr samueldr added 2. topic: decky-loader 1. type: bug Something isn't working 2. priority: 3. low 1. type: Question Question from a user ↺ workaround A known workaround for the issue exists. labels Jan 18, 2025
@samueldr
Copy link
Member

Known workaround

Since it's not possible to disable CEF debugging, which should be seen as a possible (but low) vulnerability vector[citation needed], we can't enable CEF debugging at this point within the Jovian NixOS options without making things awkward for end-users who want it enabled without enabling decky-loader.

For now, the easiest way forward is to login as the user running Steam on your system, and run the following:

 $ touch ~/.steam/steam/.cef-enable-remote-debugging

See: https://github.com/SteamDeckHomebrew/decky-loader/blob/6993516ccb8b371a0b1c8152a3c672fffffad7dc/dist/install_release.sh#L14

There is also a developer mode option in the Steam interface to enable/disable this option.

(This comment is linked from the documentation.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. type: bug Something isn't working 1. type: Question Question from a user 2. priority: 3. low 2. topic: decky-loader ↺ workaround A known workaround for the issue exists.
Projects
None yet
Development

No branches or pull requests

3 participants