lynx program says 'Can't Access `file://localhost/usr/share/doc/HTML/index.html' Alert!: Unable to access document.'

Where is the startup config file? Can someone please provide a solution?

# lynx

Can't Access `file://localhost/usr/share/doc/HTML/index.html'
Alert!: Unable to access document.

lynx: Can't access startfile
link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

The default Lynx homepage is set in /etc/lynx.cfg by the STARTFILE statement. You can set $LYNX_CFG to your own config file, or set $WWW_HOME to your preferred homepage.

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

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

lynx www.google.com

Aside: You could also try elinks or w3m browsers.

link|improve this answer
thanks grawity.... – Praveen Dec 31 '11 at 0:39
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.