Powered by coANDco UK

How to launch a browser from a remote command line

From How2s

You can install the lightweight browser "midori" and then use this command:

xinit /usr/bin/midori -e Fullscreen -a http://google.com

from the command line.

If X is running and you want to ssh into your machine and then start the browser from the command line in the other X window session, type first:

export DISPLAY=:0

Then

/usr/bin/midori -e Fullscreen -a http://www.google.com
Please check out our sponsor, thanks to whom How2s.org is FREE: