Hi
On Tue, Mar 07, 2006 at 06:14:28PM +0100, Riccardo Stagni wrote:
> Package: directvnc
> Severity: normal
>
> in the README.Debian file you correctly say the user needs access to the
> video device (/dev/fb0) and to the mouse. Ok. But when I tried to start
> directvnc it quitted saying something about an initialization error.
> I've straced it and the output is: [snip of last lines]
>
> --
> open("/dev/fb0", O_RDWR) = 4
> setsid() = -1 EPERM (Operation not permitted)
> open("/dev/tty0", O_RDONLY) = -1 EACCES (Permission denied)
> write(2, "dfb.c <47>:\n\t", 13dfb.c <47>:
> ) = 13
> write(2, "(#) DirectFBError [DirectFBCreat"..., 66(#) DirectFBError
> [DirectFBCreate( &dfb )]: Initialization error!
> ) = 66
> exit_group(2) = ?
> --
>
> 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...
> 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?
>
> Or there's something about the setsid() call returning EPERM?
I think that is your real problem, yes.
> thanks
> Riccardo
>
> ps. What do you mean with "The display size is limited to 640x480"? I
> currently use directvnc with a 1024x768 resolution (both for the vnc
> server and for the frame buffer).
Hmm maybe it was a limitation on my hardware... I currently have no hardware
to test this package on, so your input is valuable.
> post ps.
> I'm using the latest package version in the testing distribution (0.7.5-7.1),
> but not on this computer, so it doesn't appears below in the system info.
I see
Regards,
// Ola
> -- System Information:
> Debian Release: testing/unstable
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: i386 (i686)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.8-2-686
> Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
>
>
--
--------------------- Ola Lundqvist ---------------------------
/ [EMAIL PROTECTED] Annebergsslingan 37 \
| [EMAIL PROTECTED] 654 65 KARLSTAD |
| +46 (0)54-10 14 30 +46 (0)70-332 1551 |
| http://www.opal.dhs.org UIN/icq: 4912500 |
\ 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]