Hi!
I'm sorry for the late answer...

On Wed, Mar 08, 2006 at 10:15:12PM +0100, Ola Lundqvist wrote:
> > I don't know much about frame buffer's use, but why directvnc wants to
> > use /dev/tty0? I was on tty1, which rightly belongs to the user, while
> > other ttys have root as owner.
> I do not think /dev/tty0 is needed. I have actually never been on that tty 
> when
> testing...
My fault! I have not read the directfb FAQ
(http://www.directfb.org/index.php?path=Documentation%2FUser+Manuals%2FFAQ),
where says that the tty0 is required for using more than one directfb app
in the same time.

You also could not ever have been on tty0 because it doesn't correspond to
any real console, it's the current console (I'm not sure of this)

> > As a quick-and-dirty solution I chmod'ed all ttys a+r (I know it's immoral,
> > but I've done so just because the machine have only one user that
> > automatically starts the vnc client, so it shouldn't be so hazardous) ;-)
> Do that work?
Yes, but it's useless, because you only need do chmod tty0

Also I have another problem... Directvnc seems to crash when it's called
from a script: it asks for the password and crashes when it should begin
to use the frame-buffer (perhaps it's a fault of directfb).
The only method that seems to work it's to call directvnc with the "exec"
directive, substituting the calling shell with the program (my hypothesis:
so directfb is happy because can make it's own affairs like if it was
launched from a shell)

Explanation: I'm trying to use directvnc with qingy (a fb-enabled getty
replacement, http://qingy.sourceforge.net/).

regards
R,

Attachment: signature.asc
Description: Digital signature

Reply via email to