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.
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) ;-)
Or there's something about the setsid() call returning EPERM?
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).
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.
-- 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)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]