Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
share|improve this question
add comment

1 Answer

up vote 2 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.

share|improve this answer
    
thanks grawity.... –  P K Dec 31 '11 at 0:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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