添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

Failed to run a Shiny app on AWS Ubuntu instance. xdg-open: no method available for opening 'http://127.0.0.1:3572'

Ask Question

I tried to run a shiny app that runs perfectly on my local Mac. I sent all files to ubuntu instance of AWS under /srv/shiny-server. I tried to launch it in R by :

library(shiny)

runApp()

and got this error:

Listening on http://127.0.0.1:3572

/usr/bin/xdg-open: 771: /usr/bin/xdg-open: www-browser: not found

/usr/bin/xdg-open: 771: /usr/bin/xdg-open: links2: not found

/usr/bin/xdg-open: 771: /usr/bin/xdg-open: elinks: not found

/usr/bin/xdg-open: 771: /usr/bin/xdg-open: links: not found

/usr/bin/xdg-open: 771: /usr/bin/xdg-open: lynx: not found

/usr/bin/xdg-open: 771: /usr/bin/xdg-open: w3m: not found

xdg-open: no method available for opening ' http://127.0.0.1:3572 '

Looks like it's some system files. I haven't seen anything related to system files like this. Any idea how to deal with it?

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .