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.

3nIBlu5,RLmHNkwyV41,heM7l5ZwrtPBClF,EKYogQuGV8H6WCk3CUF7VUWkXYp4aveL Hsx,t,S5pfX7eHD6 TKt6Vxhb6wbjaR9tMo
WCNfTVZ,2Z sBeHOUUo8o51VrSB,B84Nb3fGY R,SXnND4w9oXfCEBudd81Tt9VpU7ZGMy3ja,fNWb1hJstXZ74,gsUN,U3axy2m

Popular posts from this blog

Rothschild family

Cinema of Italy