How to open a link on browser using ubuntu connected via sssh

Multi tool use
Multi tool use


How to open a link on browser using ubuntu connected via sssh



I have an application which has to open a link on a browser in order to collect information from it [disclaimer: I don't want to use any headless browser].



When I run it on my local machine, everything works good; It opens the link on my default browser and does the work.



now, I have deployed the application on my remote ubuntu machine (which I connect to via putty) but the xdg-open command won't work there. It has its problems like not having GUI server or echo $DISPLAY gives nothing (even tried the DISPLAY=:0 method).



I want to be able to launch a browser at the end of the day and do my work. Then I was thinking it it is possible to open a browser on my local system via a command in my script on the server?





What operating system are you running on the local system? Are you running an X server on the local system? Are you running putty with the option to forward X?
– Kenster
Jul 3 at 18:42





windows 10 on local, Ubuntu 16.04.3 on remote. No there's no X server on local (win) and no, putty hasn't been configured to forward X option. I'm pretty new to these things, thus discovering slowly these steps @Kenster
– Tripti Rawat
Jul 4 at 5:15









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

PuuQgm6Vi 4KVmFNTRsG
VV7 6QTD Mwj KT36TT

Popular posts from this blog

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?

Create weekly swift ios local notifications