aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow combining socket activation and extra portsPierre Ossman2024-01-242-36/+50
| | | | | | The common use case is probably to only listem to the systemd provided socket when using socket activation, but it might not be the only use case. Make sure things can be combined if explicitly requested.
* Log when sd_listen_fds() failsPierre Ossman2024-01-241-0/+5
|
* Use SD_LISTEN_FDS_START constantPierre Ossman2024-01-241-4/+2
| | | | Avoid magical numbers as it makes it hard to understand the code.
* Make systemd detection more robustPierre Ossman2024-01-241-1/+6
| | | | | We don't need to look for this on Windows or macOS, and we need to be able to gracefully handle systems without pkg-config.
* x0vncserver: Add support for systemd socket activationMike Looijmans2024-01-124-29/+65
| | | | | | | | | | systemd can pass in sockets as file descriptors 3 and beyond. Allows the server to use socket activation. When triggered by systemd, no other listening sockets (e.g. rfbport) will be activated. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
* Set Pixmap depths after creating visualsPierre Ossman2024-01-101-2/+2
| | | | | This affects the ordering of visuals, which breaks some buggy applications that assume the first visual is the root window visual.
* Update copyright year to 2024Samuel Mannehed2024-01-099-10/+10
|
* Xvnc: do not use dup2() to create a file descriptor for -inetd optionJan Grulich2024-01-081-2/+4
| | | | | | | Use dup() instead to get an available file descriptor to avoid hijacking already existing descriptor. Fixes #1709
* Merge branch 'master' of https://github.com/zmudc/tigervncPierre Ossman2023-12-282-9/+39
|\
| * Add option to run vncsession without forking and detachingChuck Zmudzinski2023-11-202-9/+39
| | | | | | | | | | | | | | | | | | | | | | | | Option is -D, which is what sshd uses for the same option. Also add description of the new option to the vncsession man page. Tested on Void Linux using the new option, also tested on Fedora without using the new option. Resolves #1649
* | Merge branch 'master' of https://github.com/LMattsson/tigervncPierre Ossman2023-12-281-11/+14
|\ \
| * | Update server configure example to RHEL 9Linn Mattsson2023-12-221-8/+5
| | | | | | | | | | | | | | | Some of the flags have been removed and we don't need to consider 32-bit libraries anymore.
| * | Remove unnecessary step from building the serverLinn Mattsson2023-12-221-1/+0
| | | | | | | | | | | | | | | It seems this folder is created when building the vncviewer, which has to be built before the server.
| * | Clarify details about requirements in BUILDING.txtLinn Mattsson2023-12-221-1/+5
| | |
| * | Add missing requirements to BUILDING.txtLinn Mattsson2023-12-221-1/+4
| | |
* | | Prevent incorrect cmake usagePierre Ossman2023-12-284-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's a reoccurring issue that users try to build individual components by pointing cmake at a specific subdirectory, e.g. 'cmake vncviewer'. CMake, unfortunately, has insufficient protection against this so we'll need to add a manual check. This commit only adds it to the most likely places for misuse so we don't have to pollute every CMakeLists.txt.
* | | Merge branch 'keysym' of github.com:CendioOssman/tigervncPierre Ossman2023-12-1314-2442/+7259
|\ \ \
| * | | Automatically generate keyucsmap.hPierre Ossman2023-12-132-54/+109
| | | | | | | | | | | | | | | | | | | | All the information we need is now available in keysymdef.h, so let's get everything updated and in sync.
| * | | Move Keysym/Unicode mapping table to separate filePierre Ossman2023-12-132-789/+800
| | | | | | | | | | | | | | | | Make it easier to see what's code and what's just a lot of data.
| * | | Move dead/combining keys to separate tablePierre Ossman2023-12-131-39/+82
| | | | | | | | | | | | | | | | | | | | This is a manually set up table specific for TigerVNC. For clarity, separate it out from the general keysym/Unicode table.
| * | | Update keysym header filesPierre Ossman2023-11-162-1594/+2772
| | | | | | | | | | | | | | | | This make sure we have any new defines, in case we want to use them.
| * | | Add own keysym to name functionPierre Ossman2023-11-169-22/+3552
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | This is mainly a copy of XKeysymToString() from libX11. We've also added a wrapper that still gives a string, even if there is no name for the requested keysym. This grows the binaries a bit, but not with any extreme amount so is hopefully worth it to get better debug logging.
* | | Fix logging when no working VeNCrypt typesPierre Ossman2023-12-121-3/+3
| |/ |/| | | | | Otherwise it will log that we chose the (invalid) type 0.
* | Replace INITARGS with void in function parameter listFlorian Weimer2023-11-221-2/+2
| | | | | | | | | | | | | | | | Most compilers currently accept arbitrary identifiers in this place and ignore then, but this is going to change and turn into an error. (It prevents compilers from diagnosing misspelled type names, and the resulting declaration is not a prototype, so no type errors will be reported at call sites.)
* | Merge branch 'zrlee-compression-level' of ↵Pierre Ossman2023-11-204-14/+17
|\ \ | |/ |/| | | https://github.com/adamhalim/tigervnc-suite
| * Use compressionLevel in ZRLEEncoderAdam Halim2023-11-204-14/+17
| | | | | | | | | | | | This change makes the ZRLEEncoder respect a client's desired compressionLevel. The ZlibLevel option is marked deprecated and removed from the manpages.
* | fix spelling errorut0045272023-11-061-1/+1
| |
* | Merge pull request #1690 from LMattsson/LMattsson-patch-1linma (ThinLinc team)2023-10-311-0/+4
|\ \ | | | | | | Clarify how to build server out-of-tree
| * | Clarify how to build server out-of-treelinma (ThinLinc team)2023-10-301-0/+4
|/ /
* | Merge branch 'casantos-rhbz_2233204-b' of https://github.com/casantos/tigervncPierre Ossman2023-10-272-4/+2
|\ \
| * | Fix description of "%u" in manual pages.Carlos Santos2023-10-042-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | We user the real, not the effective user ID, to check if the user is allowed to log in with the "Plain" security types. Otherwise it would be necessary to log in as root when Xvnc is installed with the set-user-id bit on. Signed-off-by: Carlos Santos <casantos@redhat.com>
* | | Update Russian translationYuri Kozlov2023-10-231-12/+12
|/ /
* | Support the "%u" username alias in PlainUsersCarlos Santos2023-10-033-4/+15
| | | | | | | | | | | | | | | | | | | | | | This permits to enable PAM for the effective user of the Xvnc process by adding this to ~/.vnc/config or /etc/tigervnc/vncserver-config-defaults: SecurityTypes=TLSPlain PlainUsers=%u Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2233204 Signed-off-by: Carlos Santos <casantos@redhat.com>
* | Enforce accelerators in translationsPierre Ossman2023-09-291-1/+1
| | | | | | | | | | Make sure we don't overlook missing accelerators in the translations again.
* | Fix missing/wrong menu acceleratorsPierre Ossman2023-09-295-17/+17
| | | | | | | | They were unfortunately omitted here and there for some languages.
* | Update Turkish translationVolkan Gezer2023-09-291-299/+575
| |
* | Completely ignore server clipboard when unfocusedPierre Ossman2023-09-112-20/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can get races with clipboard managers in the server that is very confusing to the user. When the clipboard changes locally, we tell the server to drop the old clipboard (as it is now lost). But we don't send over the new clipboard until we get focus again, in order to not leak more data than necessary. This causes some clibpoard managers to take over ownership in order to avoid an empty clipboard. And this takes precedence over the new client clipboard as it happened later. Effectively reverting the clipboard the user sees. Avoid all of this by simply ignoring the server when we don't have focus. This is likely what users expect anyway as they expect their currently focused application to control the clipboard, not vncviewer in the background.
* | More graceful handling of disabled listenersPierre Ossman2023-09-084-14/+30
| | | | | | | | | | | | Don't assume a lack of TCP listeners means the server will be unreachable. There might be other methods of access, so let the higher levels do that sanity check instead.
* | Only set up TCP filter for TCP connectionsPierre Ossman2023-09-081-7/+7
| | | | | | | | This will not do the correct thing for Unix sockets.
* | Improve log message when mapping keysymsPierre Ossman2023-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | It was a poor choice of words to call these keysyms "unknown" as they are likely perfectly normal keysyms, they just cannot be found in the currently loaded keyboard layout. This log message has confused users, so let's get rid of the "unknown" part. We already use the verb "add" heavily in the other log messages, so let's keep that rather than switch to some for of "map".
* | Merge branch 'ryandesign-NSHighResolutionCapable' of ↵Pierre Ossman2023-08-211-1/+1
|\ \ | | | | | | | | | https://github.com/ryandesign/tigervnc
| * | Make NSHighResolutionCapable a Boolean in Info.plist.inRyan Schmidt2023-08-111-1/+1
| | |
* | | Change accelerator for "Disconnect" entryPierre Ossman2023-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | Using "c" is in conflict the the "Ctrl" entry, so we need to pick something else here. This was a regression introduced in 44b085a.
* | | Move custom FLTK box types to valid rangePierre Ossman2023-08-172-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | FLTK only allows 256 different box types, but it doesn't actually check this when registering new ones. Move our custom types to a valid range, and add an assert for good measure to make sure we don't overflow FLTK's internal structures.
* | | Add missing accelerator in Hebrew translationYaron Shahrabani2023-08-171-4/+4
| | |
* | | Add missing accelerator to Korean translationJiYoon Kwon2023-08-161-3/+2
| | |
* | | Automatically respect changes in LINGUASPierre Ossman2023-08-151-0/+1
| | | | | | | | | | | | | | | Since the contents of the LINGUAS file affects which targets are created, we must tell CMake to reconfigure things if this file changes.
* | | Update Korean translationJiYoon Kwon2023-08-151-237/+277
| | |
* | | Update French translationStéphane Aulery2023-08-151-235/+277
| | |
* | | Avoid legacy C function definitionsPierre Ossman2023-08-151-19/+11
| | | | | | | | | | | | These aren't supported in C2x, and clang will already now complain.