Jump to content

links-graphic in VT


Steve Scrimpshire
 Share

Recommended Posts

I'm trying to figure out how to run links-graphic in a VT. If I try to run it from there as my normal user, I get the following errors and it doesn't start:

       ---------------------- DirectFB v0.9.20 ---------------------
            (c) 2000-2002  convergence integrated media GmbH  
            (c) 2002-2003  convergence GmbH                   
       -----------------------------------------------------------

(*) Single Application Core. (with MMX support) (2004-09-28 15:50)
(*) DirectFB/misc/memcpy: using MMXEXT optimized memcpy()
(!) DirectFB/core/vt: Error opening `/dev/tty0'!
   --> Permission denied
(!) DirectFB/Core: Could not initialize 'system' core!
   --> General initialization failure!
(!) DirectFB/Core: Error during initialization (General initialization failure!)
Could not initialize any graphics driver. Tried the following drivers:
x:
Can't open display "(null)"
directfb:
General initialization failure!
fb:
Cannot open GPM mouse.

 

This error:

(!) DirectFB/core/vt: Error opening `/dev/tty0'!

--> Permission denied

is the same tty0 no matter which VT I'm attempting to start it from.

 

If I run it as root, I have to stop gpm or I get the console mouse pointer an inch away from the 'framebuffer' pointer. But then it takes over all the VTs, running on each one.

Is there anyway to do this (preferably as my regular user)?

I would also love to be able to run it in framebuffer mode from a screen window inside a VT.

Edited by Steve Scrimpshire
Link to comment
Share on other sites

ok, from my experience.......

 

compile it with the regular fb support ,not direct fb..... cause I havnt ever used directfb

 

i found it worked as root, but not as a user, probably a udev permissions problem on my computer, just need to allow user write access to /dev/fb0 and probly the ttys too.

 

for gui on console, you need gpm running. install it then "/etc/init.d/gpm start" -- or add to startup.

 

and assuming that there is no permission probs, you compiled with fb and gpm is running:

 

links -g fb

 

should get ya goin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...