Skip to content

Unable to run with multiple users #4941

@BUYT-1

Description

@BUYT-1

EasyEffects Version

8.1.6

What package are you using?

Arch (easyeffects)

Distribution

Arch Linux

Describe the bug

If one user has launched Easy Effects, running easyeffects as another user fails to launch it, outputting QIODevice::write (QLocalSocket): device not open. easyeffects --debug does the same thing. PipeWire is used almost as it is packaged, without much extra configuration.

Expected Behavior

The other user should be able to open Easy Effects.

Debug Log

No response

Additional Information

@cameron-thomson in #4928 found that this happens because Easy Effects uses a single lockfile in QStandardPaths::TempLocation and suggested using QStandardPaths::RuntimeLocation as the location. The other users would not be able to see the lock file then, which may break something in multi-user PipeWire setups like discussed here.

I don't know the internals of PipeWire. Which resource(s) is being locked here? Is it the server itself? I believe the directory can stay as /tmp, but the name of the lockfile should be derived from that resource, whatever it is.

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