开发者

Start program from terminal tty to desktop session.

I log in a remote computer trought ssh session, thi开发者_如何学JAVAs computer is a Desktop computer and it have an user in the desktop, ¿how can i start a program (like skype) in the terminal and starts in the desktop?. Thanks


If the user on the remote desktop computer did a xhost + you could try:

# in bash, executed on remote computer
DISPLAY=`hostname`:0 skype

# or e.g. in csh:
env DISPLAY=`hostname`:0 skype
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜