libvncserver | platform C libraries that allow you to easily implement VNC | Runtime Evironment library

 by   LibVNC C Version: LibVNCServer-0.9.14 License: GPL-2.0

kandi X-RAY | libvncserver Summary

kandi X-RAY | libvncserver Summary

libvncserver is a C library typically used in Server, Runtime Evironment applications. libvncserver has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has medium support. You can download it from GitHub.

[VNC] is a set of programs using the [RFB (Remote Frame Buffer)] protocol. They are designed to "export" a frame buffer via net: you set up a server and can connect to it via VNC viewers. If the server supports WebSockets (which LibVNCServer does), you can also connect using an in-browser VNC viewer like [noVNC] It is already in wide use for administration, but it is not that easy to program a server yourself. This has been changed by LibVNCServer.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              libvncserver has a medium active ecosystem.
              It has 928 star(s) with 442 fork(s). There are 77 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 45 open issues and 293 have been closed. On average issues are closed in 312 days. There are 17 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of libvncserver is LibVNCServer-0.9.14

            kandi-Quality Quality

              libvncserver has 0 bugs and 0 code smells.

            kandi-Security Security

              libvncserver has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              libvncserver code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              libvncserver is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              libvncserver releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              It has 81 lines of code, 5 functions and 2 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of libvncserver
            Get all kandi verified functions for this library.

            libvncserver Key Features

            No Key Features are available at this moment for libvncserver.

            libvncserver Examples and Code Snippets

            No Code Snippets are available at this moment for libvncserver.

            Community Discussions

            QUESTION

            Qt: How to make QImage aware of updated memory buffer?
            Asked 2019-Apr-26 at 15:06

            I need to draw pixel data that is being held by a library as uint8_t * and that is updated frequently and partially. I get a call-back from the library every time an update is done, that looks like this:

            ...

            ANSWER

            Answered 2019-Apr-26 at 14:56

            I would guess that some sort of caching mechanism is interfering with your expectations. QImage has a cacheKey, which changes if the QImage is altered. This can of course only happen if you change the image through QImage functions. As far as I can see, you're changing the underlying buffer directly, so QImage's cacheKey will remain the same. Qt's pixmap cache then has that key in its cache, and uses the cached pixmap for performance reasons.

            Unfortunately, there doesn't seem to be a direct way to update this cacheKey or otherwise "invalidate" a QImage. You have two options:

            1. Recreate the QImage when you need it. No need to new it, so you can save a heap allocation. Creating a back-buffered QImage seems like a "cheap" operation, so I doubt this is a bottleneck.
            2. Do a trivial operation on the QImage (i.e. setPixel on a single pixel to black and then to the old value). This is somewhat "hackish" but probably the most efficient way to work around this API deficiency (it will trigger an update to cacheKey as far as I can tell).

            Source https://stackoverflow.com/questions/55869926

            QUESTION

            Can we host multiple vnc servers (using LibVNCServer library) in the same process?
            Asked 2018-Jun-20 at 06:21

            There is an example called camera.c in the LibVNCServer library which captures camera snapshots and populates the framebuffer used by vnc server in intervals. My requirement is to do the same with mpeg transport streams (many sources instead of a single source like camera). Therefore, one vnc server per transport stream is required.

            I read in the RFB protocol that we can host multiple vnc servers on the same host on ports starting from 5900 (5900+x). However, it would be better to host multiple vnc servers in the same process so that unwanted I/O between the vnc servers and the process generating the data can be avoided.

            Does LibVNCServer support that use case or do I have to launch a vnc server process per video stream?

            Note: I went through the library and saw that the rfbScreenInfoPtr is circulated everywhere and is not static. But could not conclude if LibVNCServer is thread safe because I am not familiar with C.

            ...

            ANSWER

            Answered 2018-Jun-20 at 06:21

            I tried to write a vnc server with server-side-downscale ability, which is one source multi-stream.

            Source https://stackoverflow.com/questions/50940621

            QUESTION

            Error compiling project that uses libvncserver
            Asked 2018-Mar-29 at 15:46

            I'm trying to compile a project that uses libvncserver.

            This is my Makefile:

            ...

            ANSWER

            Answered 2018-Mar-29 at 15:46

            You're linking to zlib too early; order matters when it comes to linking to static libraries. Try putting $(LIBS) after the vncserver static library.

            You may want to consider using pkg-config; libvncserver ships a *.pc file, and this is pretty much what it was designed for… on my system, pkg-config --libs libvncserver looks like:

            Source https://stackoverflow.com/questions/49559313

            QUESTION

            Modified SRPM conflict resolution
            Asked 2017-Aug-10 at 21:24

            I need to update libvncserver and libvncclient libraries to 0.9.11. I am running CentOS 7.3, currently, the latest libvncserver RPM is 0.9.9

            So I took the libvncserver SRPM, modified the spec file, and updated the libvncserver tarball to create a 0.9.11 version of libvncserver and libvncclient RPM's.

            I'm having a dependency challenge upon install.

            ...

            ANSWER

            Answered 2017-Aug-10 at 03:38

            The problem is that your package does not provide libvncserver.so.0, but replaces libvncserver, which provides libvncserver.so.0. The easiest solution is to rename your package, so that it can be installed along with the existing libvncserver package.

            The -devel subpackage will probably have to conflict with libvncserver-devel because some of the files will overlap, but for the main package, you should be able to enable parallel installation.

            You already mentioned the other clean solution: Port all packages from libvncserver.so.0 to libvncserver.so.1. But that could involve quite a bit of unnecessary work and makes your system less similar to others.

            (You could also keep the libvncserver package name and create a compat-libvncserver package with the old library, but that's again quite a bit of work for very little benefit.)

            Source https://stackoverflow.com/questions/45601648

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install libvncserver

            LibVNCServer uses CMake, which you can download [here](https://cmake.org/download/) or, better yet, install using your platform’s package manager (apt, yum, brew, macports, chocolatey, etc.).
            OpenSSL (-DWITH_OPENSSL=ON -DWITH_GCRYPT=OFF)
            Supports all authentication methods in LibVNCClient and LibVNCServer.
            Supports WebSockets in LibVNCServer.
            Libgcrypt (-DWITH_OPENSSL=OFF -DWITH_GCRYPT=ON)
            Supports all authentication methods in LibVNCClient and LibVNCServer.
            Supports WebSockets in LibVNCServer.
            Included (-DWITH_OPENSSL=OFF -DWITH_GCRYPT=OFF)
            Supports only VNC authentication in LibVNCClient and LibVNCServer.
            Supports WebSockets in LibVNCServer.
            OpenSSL (-DWITH_OPENSSL=ON -DWITH_GNUTLS=OFF)
            GnuTLS (-DWITH_OPENSSL=OFF -DWITH_GNUTLS=ON)

            Support

            To file an issue, go to https://github.com/LibVNC/libvncserver/issues. For non-public contact please see [SECURITY.md](SECURITY.md).
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries