Skip to content

Запуск иксовых приложений от другого юзера через su в Debian

timba@timba:~$ su - work

work@home:~$ firefox
No protocol specified
No protocol specified
Error: cannot open display: :0

Делаем
timba@timba:~$ xhost local:work
non-network local connections being added to access control list
timba@timba:~$ su - work

После этого всё ок, можно работать

work@home:~$ firefox

Leave a Reply

Your email address will not be published. Required fields are marked *

π