[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: links2 error from console



On Fri, May 18, 2007 at 11:55:39AM +0300, Andrei Popescu wrote:
> When I try to start links2 -g from the console I get this error:
> 
> $ links2 -g
> 
>        ---------------------- DirectFB v0.9.25 ---------------------
>              (c) 2000-2002  convergence integrated media GmbH
>              (c) 2002-2004  convergence GmbH
>         -----------------------------------------------------------
> 
> (*) DirectFB/Core: Single Application Core. (2006-12-04 07:00)
> (*) Direct/Memcpy: Using SSE optimized memcpy()
> (!) DirectFB/core/vt: Error opening `/dev/tty0'!
>     --> Permission denied

Sounds like the you don't have the necessary privileges on /dev/tty0...

Did you log in as root on the console and then "su - andrei" ?  This 
would explain it...

> (!) DirectFB/Core: Could not initialize 'system' core!
>     --> Initialization error!
> svgalib: Cannot get I/O permissions.
> $
> 
> But it does work as root (yes, I know, it was just a short test).
> 
> Here is some more data that might be relevant:
> 
> $ id
> uid=1000(amp77) gid=1000(amp77) 
> groups=20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),1000(amp77)
> 
> $ ls -l /dev/tty0
> crw-rw---- 1 root root 4, 0 2007-05-18 11:37 /dev/tty0

I presume that this is from the session where links2 didn't work?

-- 
Karl E. Jorgensen
karl@jorgensen.org.uk  http://www.jorgensen.org.uk/
karl@jorgensen.com     http://karl.jorgensen.com
==== Today's fortune:
When a person goes on a diet, the first thing he loses is his temper.

Attachment: signature.asc
Description: Digital signature


Reply to: