#32 Missing files in modular tree

open
nobody
None
5
2006-08-30
2006-08-30
Robin Hill
No

I'm trying to compile the new modular tree and there
seems to be a few files missing:

src/proto/xcliplistproto/xcliplistproto.pc.in
src/xserver/hw/vnc/d3des.h
src/xserver/hw/vnc/vncauth.c

I also notice that the xserver checkout includes all
the git metadata - should this be happening?

Discussion

  • Robin Hill
    Robin Hill
    2006-08-30

    Logged In: YES
    user_id=706482

    I made a modified copy of src/proto/vncproto/vncproto.pc.in
    for the xcliplistproto, and copied the two missing files
    from src/xserver/hw/dmx/vnc in order to proceed.

    The main Xvnc binary now compiles okay, but the vnc module
    is skipped. I had to add vnc to the SUBDIRS and
    DIST_SUBDIRS in src/xserver/hw/xfree86/Makefile.am in order
    to build this module.

     
  • Robin Hill
    Robin Hill
    2006-08-30

    Logged In: YES
    user_id=706482

    Found another problem with the module - I needed to add -
    DXFree86LOADER to the Makefile.am in src/xserver/hw/xfree86/
    vnc, otherwise I got errors about an invalid module.

    The module now loads into X okay but, unfortunately, still
    doesn't seem to be working - I can connect okay but the
    connection is immediately closed without any obvious errors.

     
  • Robin Hill
    Robin Hill
    2006-09-01

    Logged In: YES
    user_id=706482

    Found the problem with the module - it's not being linked
    against libjpeg, so enabling jpeg compression in the client
    causes a crash on connection. Adding -ljpeg to the LDFLAGS
    in the Makefile fixes this one.

     
  • Robin Hill
    Robin Hill
    2006-09-01

    Logged In: YES
    user_id=706482

    Unfortunately, using a password with the libvnc.so modules
    causes the server to crash. I had to copy the d3des.[ch]
    and vncauth.c files from src/xserver/hw/vnc to src/xserver/
    hw/xfree86/vnc and add these into the Makefile.am. It also
    needed -lz and -lcrypt adding to the LDFLAGS. All seems to
    be working now and I can't see any obvious unresolved
    symbols remaining.

    Does the libvnc.so module make any use of the VncExt and
    Xcliplist libraries that are installed? I can't see
    anywhere that these are linked/loaded.

     
  • Kris Van Hees
    Kris Van Hees
    2007-02-23

    Logged In: YES
    user_id=334
    Originator: NO

    I see the same behaviour when using the pre-compiled version available for download. Client connects and immediately disconnects. This is on XFree86 4.6.0. The log merely shows:

    (II) 23/02/2007 11:16:29 Got VNC connection from client 127.0.0.1
    (II) 23/02/2007 11:16:34 Client 127.0.0.1 gone
    (II) 23/02/2007 11:16:34 Statistics:
    (II) 23/02/2007 11:16:34 framebuffer updates 0, rectangles 0, bytes 0

    I tried getting the code to compile in the XFree86 4.6.0 tree, but so far that has not been successful. Still working on that so I can debug this connection issue. Hopefully (in the meantime) someone else may have an answer/solution?