开发者

Graphical support when running R as another user

I'm running R as another user on my system (sudo -uTest R), and certain commands (e.g. plot) fail with 'unable to open connection to X11 display'. This works fine runni开发者_运维技巧ng R normally, so I know it has to do with running as someone else. I'm guessing this happens because Test doesn't have the desktop/display/whatever running under their name so there's nowhere to draw the graph.

Is there anything I can do about this?


In a terminal window, type:

 xauth merge /path-to-your-home-directory/.Xauthority
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜