From: Brad Campbell <brad@wasp.net.au>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] QEMU RFB (vnc) driver
Date: Thu, 06 May 2004 11:35:38 +0400 [thread overview]
Message-ID: <4099EACA.6090806@wasp.net.au> (raw)
In-Reply-To: <Pine.LNX.4.58.0405052226060.1313@wgmdd8.biozentrum.uni-wuerzburg.de>
Johannes Schindelin wrote:
> Hi,
>
> First of all: QEMU is wonderful. It is blazingly fast, yet very small!
>
> Second, my sincere apologies to Matthew: I hacked together my own version
> of what you did. Attached is a patch which does about the same thing.
>
> A few differences, though:
>
> - I stole a bit from wine, so I have a compile time choice of a
> keymap. This certainly has room to improve.
>
> - I actually change the screen resolution. There is support for
> this in LibVNCServer since version 0.4, and a few clients
> support it. If the client does not support the change, a warning
> is issued.
Err. No warning here.
06/05/2004 10:56:02 Got connection from client 192.168.2.80
06/05/2004 10:56:02 other clients:
06/05/2004 10:56:02 Protocol version 3.3
06/05/2004 10:56:02 Pixel format for client 192.168.2.80:
06/05/2004 10:56:02 16 bpp, depth 16, little endian
06/05/2004 10:56:02 true colour: max r 31 g 63 b 31, shift r 11 g 5 b 0
06/05/2004 10:56:02 no translation needed
06/05/2004 10:56:02 Using tight encoding for client 192.168.2.80
06/05/2004 10:56:02 Using compression level 1 for client 192.168.2.80
06/05/2004 10:56:02 Using image quality level 6 for client 192.168.2.80
06/05/2004 10:56:02 Enabling X-style cursor updates for client 192.168.2.80
06/05/2004 10:56:02 Enabling full-color cursor updates for client 192.168.2.80
06/05/2004 10:56:02 Enabling cursor position updates for client 192.168.2.80
06/05/2004 10:56:02 Enabling LastRect protocol extension for client 192.168.2.80
06/05/2004 10:56:22 Warning: Client 192.168.2.80 does not support NewFBSize!
Segmentation fault
I upgraded to a later vnc client that supported NewFBSize and this became a non-issue
>
> - It is configurable:
> ./configure --enable-vnc
> will change the output completely to vnc, and
> ./configure --enable-vnc-and-sdl
> will use both simultaneously!
Neato! Only one quirk. --enable-vnc-and-sdl does not compile because it does not compile sdl.c
rm -f libqemu.a
ar rcs libqemu.a exec.o translate-all.o cpu-exec.o translate.o op.o helper.o helper2.o
translate-copy.o disas.o i386-dis.o
gcc -static -Wl,-T,/home/brad/src/qemu/i386-vl.ld -o qemu-fast vl.o osdep.o block.o monitor.o
ide.o ne2000.o pckbd.o vga.o sb16.o dma.o oss.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o
gdbstub.o vnc.o libqemu.a -lm -L/usr/local/libvnc/lib -lvncserver -lnsl -lpthread -ljpeg -lz -lutil
/usr/local/libvnc/lib/libvncserver.a(httpd.o)(.text+0x450): In function `httpProcessInput':
/home/brad/src/LibVNCServer-0.7pre/httpd.c:221: warning: Using 'getpwuid' in statically linked
applications requires at runtime the shared libraries from the glibc version used for linking
/usr/local/libvnc/lib/libvncserver.a(sockets.o)(.text+0x1017): In function `ConnectToTcpAddr':
/home/brad/src/LibVNCServer-0.7pre/sockets.c:574: warning: Using 'gethostbyname' in statically
linked applications requires at runtime the shared libraries from the glibc version used for linking
vnc.o(.text+0x40e): In function `vnc_display_init':
/home/brad/src/qemu/vnc.c:164: undefined reference to `sdl_display_init'
collect2: ld returned 1 exit status
make[1]: *** [qemu-fast] Error 1
make[1]: Leaving directory `/home/brad/src/qemu/i386'
make: *** [all] Error 1
I'll keep playing with this one..
Regards,
Brad
next prev parent reply other threads:[~2004-05-06 7:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-30 2:22 [Qemu-devel] QEMU RFB (vnc) driver Matthew Mastracci
2004-05-05 9:23 ` Brad Campbell
2004-05-05 15:12 ` [Qemu-devel] " Matthew Mastracci
2004-05-05 18:34 ` [Qemu-devel] " Fabrice Bellard
2004-05-05 20:49 ` Johannes Schindelin
2004-05-06 7:35 ` Brad Campbell [this message]
2004-05-06 15:21 ` [Qemu-devel] " Matthew Mastracci
2004-05-08 10:27 ` [Qemu-devel] " Fabrice Bellard
2004-05-08 15:00 ` Johannes Schindelin
2004-05-05 20:53 ` Johannes Schindelin
2004-05-05 22:05 ` [Qemu-devel] " Matthew Mastracci
2004-05-06 7:47 ` Filip Navara
2004-05-06 15:22 ` Matthew Mastracci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4099EACA.6090806@wasp.net.au \
--to=brad@wasp.net.au \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).