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

startup error on ubuntu 24.04 #1454

Open
denisvlah opened this issue Nov 15, 2024 · 11 comments
Open

startup error on ubuntu 24.04 #1454

denisvlah opened this issue Nov 15, 2024 · 11 comments

Comments

@denisvlah
Copy link

Current behavior

I have installed the latest version from .deb package.
The application doesn't start when launched.
When I try to run from terminal I get the following error:

(base) denivlah@denivlah-ROG-Strix-G513QM-G513QM:~$ devtoys
bwrap: setting up uid map: Permission denied

** (DevToys:46533): ERROR **: 21:56:12.417: Failed to fully launch dbus-proxy: Child process exited with code 1
Aborted (core dumped)

When I run it as sudo I get the following error:

(base) denivlah@denivlah-ROG-Strix-G513QM-G513QM:~$ sudo devtoys
[sudo] password for denivlah: 

(DevToys:47246): Gtk-WARNING **: 21:56:32.163: Unable to acquire session bus: Failed to execute child process “dbus-launch” (No such file or directory)

How to reproduce it (as minimally and precisely as possible)

Install the app from .deb package and start it.

Expected behavior

Application started

Screenshots

No response

Workaround

No response

Affected platforms

Linux

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

x64 v2.0

Relevant Assets/Logs

No response

@kamtoeddy
Copy link

I am facing the same issue

@tale80
Copy link

tale80 commented Nov 18, 2024

same here on Kubuntu 24.10

@veler
Copy link
Collaborator

veler commented Nov 19, 2024

Hi @denisvlah and @kamtoeddy ,
What distribution of Linux are you using?

@LazyKarlson
Copy link

Same for me.
Xubuntu 24.04.1 LTS x86_64
I found temporary workaround. But works only with sudo for me.
I've create devtoys file in /etc/apparmor.d/ with following content

abi <abi/4.0>,
include <tunables/global>

profile devtoys /opt/devtoys/devtoys/DevToys.Linux flags=(unconfined) {
  userns,

  # Site-specific additions and overrides. See local/README for details.
  include if exists <local/devtoys>
}

@kamtoeddy
Copy link

Hi @denisvlah and @kamtoeddy , What distribution of Linux are you using?

Also on ubuntu 24.04

@veler
Copy link
Collaborator

veler commented Nov 19, 2024

Same for me.

Xubuntu 24.04.1 LTS x86_64

I found temporary workaround. But works only with sudo for me.

I've create devtoys file in /etc/apparmor.d/ with following content


abi <abi/4.0>,

include <tunables/global>



profile devtoys /opt/devtoys/devtoys/DevToys.Linux flags=(unconfined) {

  userns,



  # Site-specific additions and overrides. See local/README for details.

  include if exists <local/devtoys>

}

It sounds like AppArmor is blocking DevToys. Could it be because the app or Debian package isn't signed? I admit I lack of strong knowledge on Linux in this aspect.

@kamtoeddy
Copy link

No idea. Any suggestions on how we can debug on our end and get back to you?

@kamtoeddy
Copy link

With sudo on my end, the app starts but is blanc and I get that message in the terminal
image

@veler
Copy link
Collaborator

veler commented Nov 21, 2024

Hi @kamtoeddy , can you please try with DevToys v2.0.8.0? https://github.com/DevToys-app/DevToys/releases/tag/v2.0.8.0

@LazyKarlson
Copy link

@veler works for me. Thanks!

@kamtoeddy
Copy link

Hi @veler, now it works when launched via cli as root. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants