Skip to contentSkip to conversation

Patches: -pidfile and -vncport

Qemu-devel Piotr R. 5 participants 6 messages Nov 29, 2004

lore
Share & tools
lore

Piotr R.

author
#0 lore raw

A patch for explict setting of vnc port has already been posted 19 Nov 2004.

If anyone successfully used mouse in QEMU/VNC combo please let me know how :)

Peter

#1 lore raw

And if anyone managed to create win32 qemu with the rfb9 patch, I'm also interested. So far all my attempts to create these failed.

Are the vnc patches only meant for unix hosts ?

Zitu

Quoting "Piotr R." <[email protected]>:

Quoted 6 lines

A patch for explict setting of vnc port has already been posted 19=20 Nov 2004.

If anyone successfully used mouse in QEMU/VNC combo please let me=20 know how :)

Quoted 9 lines

Peter

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

--

#2 lore raw

Le Mon, 29 Nov 2004 09:56:47 +0100, zitu a écrit :

Quoted 6 lines

And if anyone managed to create win32 qemu with the rfb9 patch, I'm also interested. So far all my attempts to create these failed.

Are the vnc patches only meant for unix hosts ?

Zitu

Can you get LibVNCServer to build?
For me (0.7pre) make abort on undefined SIGPIPE:
i386-mingw32-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c test -f main.c || echo './'main.c
main.c: In function `rfbInitServerWithoutPthreadsAndZRLE':
main.c:766: `SIGPIPE' undeclared (first use in this function) main.c:766: (Each undeclared identifier is reported only once main.c:766: for each function it appears in.) make[2]: *** [main.o] Erreur 1

rfb/rfbproto.h need to include stdint.h

rfbproto.h 2004-11-29 10:32:42.175987086 +0100 renamed from rfbproto.h.old 2004-11-29 10:32:04.888063883 +0100 +1 -0
@@ -51,6 +51,7 @@
 #define LIBVNCSERVER_WORDS_BIGENDIAN
 #define rfbBool int
 #include <sys/timeb.h>
+#include <stdint.h>
 #include <winsock.h>
 #undef SOCKET
 #define SOCKET int
#3 lore raw

Quoting Ronald <[email protected]>:

Quoted 1 line

Can you get LibVNCServer to build?

Yes. Tons of hacking in the sources. Not sure it's valid though. Had to add file control handlers, but no signals.
I'm using libvncserver 0.6 only.

Quoted 1 line

rfb/rfbproto.h need to include stdint.h

Yes. It was part of the hacking I did.
My final experiment stops at linking qemu.exe which fails because of fcntl and getpeername. :(

Zitu

#4 lore raw
In reply to zitu

Hi,

Quoted 2 lines · zitu

And if anyone managed to create win32 qemu with the rfb9 patch, I'm also interested. So far all my attempts to create these failed.

LibVNCServer does not yet support MinGW, but only cygwin on Win32.

Hth,
Dscho

#5 lore raw
In reply to Piotr R.
Quoted 2 lines · On Mon, 29 Nov 2004, [iso-8859-2] Piotr R. wrote:

A patch for explict setting of vnc port has already been posted 19 Nov 2004.

It seems to me that you went kinda the complicated way to archieve the same thing ;-). And you let the default behavior be whatever libvnc's default is (Currently to always use port 5900) which isn't necessarily a good thing. The patch I sent is a bit less complex and also sets the default to be autoPort=TRUE which is saner for Qemu's system emulation needs IMHO. I hadn't noticed that there already was a patch however :-) Feel free to take whatever you need from mine if you want to.

Quoted 3 lines

If anyone successfully used mouse in QEMU/VNC combo please let me know how :)

I use it regularly. And yes, it gets out of sync every so often. I'm working on an auto-calibration patch. I will post it here as soon as it's finished.