Skip to content

Commit afa81ea

Browse files
dark_angeldark_angel
authored andcommitted
fix(flatpak): add talk-name=org.freedesktop.Flatpak permission and docs
1 parent de5b5ba commit afa81ea

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,30 @@ See [LICENSE](LICENSE) for details.
114114
- [Open an issue](https://github.com/BuddySirJava/SSH-Studio/issues) on GitHub.
115115
- Check [Flathub page](https://flathub.org/en/apps/io.github.BuddySirJava.SSH-Studio).
116116

117+
## Troubleshooting Flatpak Sandbox
118+
119+
If “Test SSH Connection” still fails, grant the sandbox the Flatpak talk permission:
120+
121+
```bash
122+
flatpak override --user --talk-name=org.freedesktop.Flatpak com.buddysirjava.ssh-studio
123+
flatpak run com.buddysirjava.ssh-studio
124+
```
125+
126+
3. Save the file.
127+
128+
---
129+
130+
## 5. Verify the Fix
131+
132+
1. **Rebuild & reinstall** with your updated manifest:
133+
```bash
134+
flatpak-builder \
135+
--user \
136+
--install \
137+
--force-clean \
138+
build-dir \
139+
com.buddysirjava.ssh-studio.json
140+
```
141+
```
142+
flatpak run com.buddysirjava.ssh-studio
143+
```

io.github.BuddySirJava.SSH-Studio.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@
1010
"--socket=wayland",
1111
"--share=network",
1212
"--filesystem=~/.ssh:rw",
13-
"--socket=ssh-auth"
13+
"--socket=ssh-auth",
14+
"--talk-name=org.freedesktop.Flatpak",
15+
"--socket=session-bus",
16+
"--device=dri",
17+
"--share=ipc",
18+
"filesystem=home"
1419
],
1520
"cleanup" : [
1621
"/include",

0 commit comments

Comments
 (0)