Lynx: “can’t access start file” … and quits

lynx

I tried using lynx (the text browser) and got the error:

Can't access startfile: http://lynx.isc.org

and then it quit (doh). So, the error message would seem to be incorrect because the problem is not that it cannot access the startfile. It is that it cannot access the default web page specified by the startfile. One could also question why a browser would ever terminate just because it cannot access its default page. No other browser behaves this way.

In any case, how do I handle this problem? Is there some way to tell lynx not to use a default web page?

Best Answer

The problem is with configs :
Change default Lynx homepage at /etc/lynx.cfg by the STARTFILE statement. You can set $LYNX_CFG to your own config file, or set $WWW_HOME to your homepage or any page you want.

export WWW_HOME="http://www.yahoo.com/"

Or you could just give an address on the command line:

lynx www.google.com
Related Question