Skip to content

QUESTION: make lib works when run program as another user. #63

Closed
@dyorgio

Description

@dyorgio

I'm trying to start my program with root to another users on machine.

I already tried "runuser"(-l and -u) and "su username", but no way to make it works.

The best try, for now was:

sudo runuser -l username -c "DISPLAY=:0 XDG_CURRENT_DESKTOP=$XDG_CURRENT_DESKTOP program-name"

The program works, without error, but no icon appears :(, somebody have any glue who to make it works?

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