Hi On Wed, Mar 15, 2006 at 06:44:48PM +0100, Riccardo Stagni wrote: > 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)
I see. > > > 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 Ok. > 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/). It probably read the password from the tty. If you just call it with exec from a script you probably do not have such a thing... Maybe. I suggest you call it from for example expect that can emulate a real tty... Regards, // Ola > regards > R, -- --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ---- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | http://www.opal.dhs.org Mobile: +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

