Skip to content

error's with ego + bubblejail #154

@Nathan22211

Description

@Nathan22211

I've narrowed down a few thing to getting these two to work together. Mainly that the primary user needs to run sudo chmod +rwx in any bubblejail instance folders in ego's .local/bubblejail directory. However, it seems that whenever bubblejail tries to create a folder I get this error

Connected to the local host. Press ^] three times within 1s to exit session.
Failed to start xdg-desktop-portal-gtk.service: Unit xdg-desktop-portal-gtk.service not found.
bwrap: Can't mkdir /home/ego/Downloads: Permission denied
Traceback (most recent call last):
File "/usr/bin/bubblejail", line 32, in <module>
bubblejail_main()
File "/usr/lib/bubblejail/python_packages/bubblejail/bubblejail_cli.py", line 243, in bubblejail_main
func(**args_dict)
File "/usr/lib/bubblejail/python_packages/bubblejail/bubblejail_cli.py", line 111, in run_bjail
async_run(
File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/lib/bubblejail/python_packages/bubblejail/bubblejail_instance.py", line 255, in async_run_init
raise BubblewrapRunError((
bubblejail.exceptions.BubblewrapRunError: Bubblewrap failed. Try running bubblejail in terminal to see the exact error.
Connection to the local host terminated.

Also I get this from just running ego
Failed to start xdg-desktop-portal-gtk.service: Unit xdg-desktop-portal-gtk.service not found. which might be related to this error error: Env variable XDG_RUNTIME_DIR unset when running sudo ego bubblejail run FireDragon FireDragon being a bubblejail instance

for reference, these do work when used separately. I'm on Garuda Linux with the KDE desktop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions