X11:以其他用户身份运行gnome应用程序 [英] X11: run a gnome app as another user

查看:148
本文介绍了X11:以其他用户身份运行gnome应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有ubuntu + x11 + gnome.

I have ubuntu + x11 + gnome.

我想以其他用户身份运行图形应用程序.

I want to run a graphical application as another user.

但是,当我使用sudo -u otheruser app从命令行启动它时,出现错误未指定协议".

However, when I start it from the command line using sudo -u otheruser app I get the error "No protocol specified".

我该如何解决?

推荐答案

使用

xdg-su -u user -c command

这篇关于X11:以其他用户身份运行gnome应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆