Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-08-2012, 04:37 PM
|
#1
|
|
Member
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 833
Rep: 
|
Not able to run 'links -g <URL>
I installed Slackware 13.37 and everything was working fine but then due to some (stupid) reasons I reinstalled. I installed some software from source (mainly tripwire and so on). But apart from that I installed nothing else.
This was a simillar configration I had and everything was working properly.
But now when I run links -g <URL> it shuts down with the error 'svgalib: Cannot open /dev/mem' (?!?!?). Are you running this program as root or suid-root.
Any pointers would be appereciated.
Thanks for reading.
|
|
|
|
07-08-2012, 04:56 PM
|
#2
|
|
Member
Registered: Jun 2012
Location: Italy
Distribution: Slackware 13.37
Posts: 45
Rep: 
|
The ".links" there is in the home directory? I think that this can be the main problem 
|
|
|
|
07-08-2012, 06:15 PM
|
#3
|
|
Member
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 833
Original Poster
Rep: 
|
Sorry that did not work. I looked at the .links directory but it only contained bookmarks.
Anyway I deleted the directory and but still the same error.
Any more suggestions?
I looked up the permissions of links. It seems ok (0755). I ran 'ldd /usr/bin/links' and it has /usr/lib/libvga.so.1.
Hope this helps.
Last edited by honeybadger; 07-08-2012 at 06:20 PM.
Reason: Additional info
|
|
|
|
07-08-2012, 07:35 PM
|
#4
|
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 587
|
Were you previously using a framebuffer but no longer are? As far as I'm aware, what you're describing has been normal for non-framebuffer "links -g" since the libvga helper kernel module went away (it's no longer supported for anything close to a recent kernel).
|
|
|
1 members found this post helpful.
|
07-09-2012, 02:27 AM
|
#5
|
|
Member
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 833
Original Poster
Rep: 
|
Framebuffers - thats it.
I am dual booting with BT and so I had some parameters passed to grub to make my screen resolution 800x600 (got bad eyesight. Made the grub parameters to default and everything is working fine.
Thanks a lot for the obervation volkerdi.
|
|
|
|
07-09-2012, 01:57 PM
|
#6
|
|
Member
Registered: Nov 2007
Posts: 268
Rep:
|
You've marked this thread as solved but I have exactly the same error, the difference with me is that this happens only in X, not when run from pure console, in which case it's fine. What should I look at? I have removed the ~.links directory. My system is 13.37 32-bit. Thanks
EDIT: I have vga=default in lilo.conf if this can help.
Last edited by ottavio; 07-09-2012 at 02:00 PM.
|
|
|
|
07-09-2012, 02:20 PM
|
#7
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,933
|
excerpts from "man links"
Quote:
-g Run Links in graphics mode. If not given, Links will run in text mode. Running in graphics mode means that Links will probe all compiled-in graphics devices and run on the first found. If none found, links will not run in text mode. This option works only if --enable-graphics was given to ./configure.
...
-driver <driver name>
Graphics driver to use. Drivers are: x, svgalib, fb, directfb, pmshell, atheos. List of drivers will be shown if you give it an unknown driver. Available drivers depend on your operating system and available libraries.
|
Code:
$ links -g -driver x http://www.google.com
Unknown graphics driver x.
The following graphics drivers are supported:
fb, svgalib
when you run links -g in console it probably works for you because you have a framebuffer console, so links uses the fb driver.
if you launch X and you don't run it using the framebuffer driver, the -g mode can't work because svgalib isn't supported and the framebuffer is not available.
Last edited by ponce; 07-09-2012 at 02:21 PM.
|
|
|
|
07-09-2012, 02:29 PM
|
#8
|
|
Member
Registered: Nov 2007
Posts: 268
Rep:
|
Ah ok, if I put together this statement:
Quote:
Originally Posted by volkerdi
the libvga helper kernel module went away (it's no longer supported for anything close to a recent kernel).
|
with this:
Quote:
Originally Posted by ponce
the -g mode can't work because svgalib isn't supported and the framebuffer is not available.
|
it's all clear now.
|
|
|
|
11-19-2012, 08:53 AM
|
#9
|
|
Member
Registered: Aug 2012
Location: Sweden
Distribution: Slackware
Posts: 47
Rep:
|
Just thought I'd add, if anyone's struggling with this:
Rebuild links from the official sources, but change the -without-x ./configure option to -with-x in the links.SlackBuild. Then it works in X with -g.
|
|
|
1 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:31 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|