summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* TigerVNC 1.11.90 (1.12.0 beta)v1.11.90Pierre Ossman2021-09-081-1/+1
|
* Merge branch 'fb-session-nfs' of https://github.com/zpytela/tigervncPierre Ossman2021-08-262-32/+47
|\
| * Add vnc_home_t typeZdenek Pytela2021-05-182-15/+13
| | | | | | | | | | | | The new vnc_home_t type for HOME/.vnc directory was added to the policy, backed by a name transition. The vnc_session_t domain can manage files and directories of this type.
| * Allow vnc_session_t manage nfs dirs and files conditionallyZdenek Pytela2021-05-181-0/+5
| | | | | | | | | | | | | | The permissions set to manage directories and files with the nfs_t type is allowed when the use_nfs_home_dirs boolean is turned on. Resolves: https://github.com/TigerVNC/tigervnc/issues/1189
| * selinux: further style and comprehensibility improvementsZdenek Pytela2021-05-181-23/+36
| | | | | | | | | | | | Sections and rules blocks reordered according to the Style guide. https://github.com/TresysTechnology/refpolicy/wiki/StyleGuide
| * selinux: Fix issues reported by SELintVit Mojzis2021-05-181-4/+3
| | | | | | | | | | | | Style guide [1] issues only. No impact on policy functionality. [1] - https://github.com/TresysTechnology/refpolicy/wiki/StyleGuide
* | Merge branch 'x0-interface-option' of https://github.com/sotho/tigervncPierre Ossman2021-07-232-2/+14
|\ \
| * | Add -interface option to x0vncserverAlexander Elbs2021-07-232-2/+14
| | |
| | |
| \ \
| \ \
| \ \
*---. \ \ Merge branches 'host-name-max', 'fix-build-viewer-off' and ↵Pierre Ossman2021-07-239-37/+37
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | 'fix-case-insensitive-fs' of https://github.com/arichardson/tigervnc
| | | * | Rename Input.h to vncInput.h to fix building on case-insensitive FSAlex Richardson2021-07-156-9/+8
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I am cross-compiling from macOS for a FreeBSD-derived system so my host file system is case insensitive but the target isn't. Without this change I get the following warnings which show that the vnc "Input.h" is being included from mi/mi.h instead of the xserver "input.h": ``` In file included from /Users/alex/cheri/xvnc-server/hw/vnc/Input.c:33: /Users/alex/cheri/xvnc-server/mi/mi.h:55:10: warning: non-portable path to file '"Input.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path] #include "input.h" ^~~~~~~~~ "Input.h" ```
| * / / Fix build on systems without HOST_NAME_MAXAlex Richardson2021-07-153-28/+29
| |/ / | | | | | | | | | | | | | | | Some operating systems such as FreeBSD don't define a HOST_NAME_MAX macro. The portable approach to determine the real host name limit is calling sysconf(_SC_HOST_NAME_MAX) so do that instead.
* / / Keep ownership of second selection when first is lostPierre Ossman2021-07-201-9/+61
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes regression introduced by the extended clipboard extension. Previously it was possible for the server to hold on to the CLIPBOARD selection even if another application took ownership of PRIMARY. This is important to handle the common use case of selecting something in order to paste over it. The new request based model doesn't readily support this as we assume the client has lost its data once we push the new PRIMARY selection to it. So to handle this we have the maintain a cache of the client's data, and make sure to fill that cache before we do anything that might cause the client to lose the data.
* | Merge branch 'utilize-system-wide-crypto' of https://github.com/grulja/tigervncPierre Ossman2021-07-141-1/+3
|\ \
| * | Utilize system-wide crypto policiesJan Grulich2021-07-141-1/+3
| | |
* | | Remove vfb references from symbol namesPierre Ossman2021-07-134-69/+69
| | | | | | | | | | | | | | | | | | Xvnc was originally based on Xvfb, but it's just confusing to keep the names. So change all prefix to "vnc" instead to clearly mark things as part of TigerVNC.
* | | Remove zaphod mode from XvncPierre Ossman2021-07-131-164/+64
| | | | | | | | | | | | | | | It isn't really useful as it behaves just like starting multiple servers, so remove it in favour of keeping things simple.
* | | Remove undocumented -linebias argumentPierre Ossman2021-07-131-26/+0
| | | | | | | | | | | | | | | This is a development flag with no real use, so remove it to clean up the code.
* | | Clean up Xvnc screen structPierre Ossman2021-07-131-18/+6
| | | | | | | | | | | | | | | Remove stuff we don't use, and get it more in sync with Xvfb for easier comparison.
* | | Remove unused headersPierre Ossman2021-07-131-8/+1
| | |
* | | Remove obsolete AIX hackPierre Ossman2021-07-131-5/+0
| | |
* | | Remove obsolete comment about backing storePierre Ossman2021-07-131-5/+0
| | | | | | | | | | | | This was removed years ago.
* | | Remove CloseScreen() wrapperPierre Ossman2021-07-131-22/+0
| | | | | | | | | | | | The memory leak this worked around was fixed in X.org 1.16.
* | | Do all RandR init in vncRandRInit()Pierre Ossman2021-07-131-20/+15
| | | | | | | | | | | | | | | | | | | | | Keep everything in one place to make it easier to read. This also removes the call to RRInit() as that is done implicitly anyway.
* | | Use central SetRootClip()Pierre Ossman2021-07-131-90/+4
| | | | | | | | | | | | | | | There's been a common one since X.org 1.11, so use that instead of our own copy.
* | | Remove Darwin code from XvncPierre Ossman2021-07-131-22/+0
| | | | | | | | | | | | | | | We don't build for that platform anyway, so this is just a remnant from Xvfb.
* | | Handle X.org patch level featuresPierre Ossman2021-07-136-40/+41
| | | | | | | | | | | | | | | | | | With the 1.20.x releases there has been features and API changes even on patch level versions, so we need to update our macros to handle these as well.
* | | Remove shared memory framebuffer optionPierre Ossman2021-07-131-77/+3
| | | | | | | | | | | | | | | This is a pointless remnant of Xvfb. We never print the id of the shared memory, so no other application can access this memory anyway.
* | | Remove more color map code from XvncPierre Ossman2021-07-131-151/+0
| | | | | | | | | | | | | | | This hasn't been supported or used in many years, so clean out the final remnants.
* | | Remove DDXTIME codePierre Ossman2021-07-131-11/+0
| | | | | | | | | | | | This hasn't been used since xorg-server 1.1 so get rid of it.
* | | Call FatalError() on bad Xvnc argumentsPierre Ossman2021-07-131-6/+12
| | | | | | | | | | | | This is consistent with other ddx behaviour.
* | | Use CHECK_FOR_REQUIRED_ARGUMENTS() for arg checkPierre Ossman2021-07-131-15/+15
| | | | | | | | | | | | | | | This is what all the other ddx variants use, so do the same in Xvnc to be consistent.
* | | Apply Xorg coding style to xvnc.cPierre Ossman2021-07-131-560/+567
| | | | | | | | | | | | | | | Makes it easier to compare with upstream files as the formatting will be the same.
* | | Remove #ifdef RENDERPierre Ossman2021-07-132-22/+0
| | | | | | | | | | | | | | | RENDER has been mandatory since xorg-server 1.9, so remove these checks.
* | | Move ddxInputThreadInit() to xvnc.cPierre Ossman2021-07-132-9/+9
| | | | | | | | | | | | | | | This should only be in the ddx parts of an X server, and Input.c is used by libvnc.so as well and can cause conflicts there.
* | | Correctly handle screen layout with offsetPierre Ossman2021-06-171-5/+8
| | | | | | | | | | | | | | | | | | We miscalculated the screen layout if the geometry had an offset as we adjusted the real screen layout to account for the offset, but compared it to the unadjusted geometry.
* | | Avoid some variable aliasingPierre Ossman2021-06-141-7/+7
| | |
* | | Use <user>@<hostname> as the default desktop namePierre Ossman2021-06-134-3/+77
| | | | | | | | | | | | | | | Is a lot more useful default than the previous "x11", or "x0vncserver". At the same time give x0vncserver a parameter to change the name.
* | | Don't list clipboard parameters for x0vncserverPierre Ossman2021-06-112-8/+5
| | | | | | | | | | | | | | | Better to just hide these parameters rather than stating that they are unused in the man page.
* | | Merge branch 'view-only-password' of https://github.com/grulja/tigervncPierre Ossman2021-06-071-0/+2
|\ \ \
| * | | Let user know that a view-only password is not usedJan Grulich2021-05-251-0/+2
| |/ /
* | | Refer to HOWTO.md from config commentsPierre Ossman2021-06-072-2/+4
| | | | | | | | | | | | Give people a chance to know about the documentation.
* | | Include "session" in examples instead of "desktop"Pierre Ossman2021-06-073-3/+2
|/ / | | | | | | | | | | It's almost mandatory to specify "session", but fairly rare to need to set "desktop", so let's tweak the examples to avoid confusion and mistakes.
* / SELinux: Add missing compression and install policy to correct directoryJan Grulich2021-05-171-5/+8
|/
* Avoid absolute path for vncserver.usersPierre Ossman2021-05-031-3/+3
| | | | | Build flags control where this file ends up, so avoid assuming a specific path in the HOWTO.
* Reflow HOWTO.md to 72 columnsPierre Ossman2021-05-031-51/+55
| | | | | The line width was very inconsitent in this file, so standardise on the common 72 characters.
* Maintain static screen DPI on resizePierre Ossman2021-04-082-13/+16
| | | | | | Trying to dynamically track the DPI did not really work as we'd start accumulating errors and eventually the DPI would start to drift. Instead maintain a fixed, sensible DPI at all times.
* Merge branches 'vmware-cursor-position' and ↵Pierre Ossman2021-03-116-2/+44
|\ | | | | | | 'vmware-cursor-position-vncviewer' of https://github.com/lhchavez/tigervnc
* | Fix logging in daemonized tl-sessionPierre Ossman2021-03-111-17/+17
| | | | | | | | | | stderr has been redirected to /dev/null so all logging needs to go to syslog.
| * Add support for notifying clients about pointer movementslhchavez2021-03-026-2/+44
|/ | | | | | | | | | | | | | | | | | | | | | | This change adds support for the VMware Mouse Position pseudo-encoding[1], which is used to notify VNC clients when X11 clients call `XWarpPointer()`[2]. This function is called by SDL (and other similar libraries) when they detect that the server does not support native relative motion, like some RFB clients. With this, RFB clients can choose to adjust the local cursor position under certain circumstances to match what the server has set. For instance, if pointer lock has been enabled on the client's machine and the cursor is not being drawn locally, the local position of the cursor is irrelevant, so the RFB client can use what the server sends as the canonical absolute position of the cursor. This ultimately enables the possibility of games (especially FPS games) to behave how users expect (if the clients implement the corresponding change). Part of: #619 1: https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#vmware-cursor-position-pseudo-encoding 2: https://tronche.com/gui/x/xlib/input/XWarpPointer.html 3: https://hg.libsdl.org/SDL/file/28e3b60e2131/src/events/SDL_mouse.c#l804
* Merge branch 'documentation' of https://github.com/grulja/tigervncPierre Ossman2021-03-022-0/+120
|\