You are not logged in.
Hi guys,
I have two users, and sometimes I need to open GUI applications of user2 while using user1!
First I run:
xhost +
and then:
su -c my-app user2
but the only problem is that I don't have sounds! And it's not a problem caused by the app, I tested it on several apps (telegram, vlc, etc)
Telegram doesn't play voice messages and vlc says:
The audio device "default" could not be used:
Host is down.
Offline
This is expected under normal circumstances. What do you actually want to do, why do you want multiple distinct users using GUI tools within the same session?
You can workaround this by allowing anonymous network access if you're using pulse: https://wiki.archlinux.org/title/PulseA … _same_time other methods might be more cumbersome.
Last edited by V1del (2021-07-10 17:36:09)
Online
What do you actually want to do, why do you want multiple distinct users using GUI tools within the same session?
I need to use telegram from the other user by my main user! (And I don't want to add both accounts to my main user, because I don't want the other account to be exposed to someone who knows the passcode to my main account).
You can workaround this by allowing anonymous network access if you're using pulse: https://wiki.archlinux.org/title/PulseA … _same_time other methods might be more cumbersome.
I don't have "~/.config/pulse/default.pa", maybe because I'm using pipewire? I don't know anything about pipewire, a system update forced me to install it!
Last edited by AliReza (2021-07-23 12:55:23)
Offline