aboutsummaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* Handle select() errorsPierre Ossman2016-10-051-0/+6
|
* Merge X server block handling code pathsPierre Ossman2016-10-056-403/+242
| | | | | Use the new X server API as the reference system and emulate it on the older API. Avoids a lot of code duplication.
* Add xorg-xserver 1.19 supportHans de Goede2016-10-058-4/+343
|
* Do not depends on mcookie commandKoichiro IWAO2016-10-051-2/+18
| | | | | | | | for operating systems other than GNU/Linux. mcookie is a part of util-linux. Usually only GNU/Linux systems have it. Do not die even if mcookie is not found. Use the previous pure perl code to generate cookie as fallback.
* remove trailing spaceKoichiro IWAO2016-10-031-5/+5
|
* Remove INITARGS from recent xserver patchesPierre Ossman2016-09-226-6/+6
| | | | INITARGS isn't used since Xorg 1.13, so remove it from our patches.
* Merge pull request #332 from xiaoshaaming/masterBrian Hinz2016-09-041-1/+2
|\ | | | | Added missing dependency for Complie error on RHEL7
| * Added missing dependency for Complie error on RHEL7lidm2016-07-231-1/+2
| | | | | | | | Complie error on RHEL7 for missing depency libos.
* | Merge branch 'system-wide-config' of https://github.com/jblaine/tigervncPierre Ossman2016-08-222-93/+150
|\ \
| * | Support both defaults and mandatory system config filesJeff Blaine2016-08-212-93/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces support for optional basic system-wide configuration of vncserver. The format and syntax of /etc/tigervnc/vncserver* match that of $HOME/.vnc/config exactly. Allows /etc/tigervnc/vncserver-config-defaults as well as /etc/tigervnc/vncserver-config-mandatory. The former is optional and sets user-overrideable vncserver settings. The latter is optional, but if it exists takes precedence over all user $HOME/.vnc/config settings of the same setting name. In the case where /etc/tigervnc/vncserver-config-mandatory overrides a setting in $HOME/.vnc/config, the user will be warned that it has happened. WARNING: Settings in /etc/tigervnc/vncserver-config-mandatory are easily subverted by passing args to vncserver on the CLI. The man page indicates this warning. This commit also introduces (should have been separate) examination of all config file settings (not just @ARGV!) when determining whether or not $HOME/.vnc/passwd needs to be created. That is, if /etc/tigervnc/vncserver* or $HOME/.vnc/config indicate that we are NOT using VNC-native authentication, then we don't need a $HOME/.vnc/passwd created. Code cleanup: $xstartup was renamed $xstartupFile for consistency with other "file" variable names. For VNC-auth checking, to determine if $HOME/.vnc/passwd needed creation, the 3-string check against lc($arg2) was in 2 places and was changed to a simple grep against the new @vncAuthStrings
* | | Proper multi-screen support in XvncPierre Ossman2016-08-181-9/+43
| | | | | | | | | | | | | | | Xvnc didn't handle multiple screens properly as it forgot to place them without overlap and didn't handle cursor movement between them.
* | | Set cursor sprite globallyPierre Ossman2016-08-183-4/+8
| | | | | | | | | | | | | | | Pointer are global, not screen specific. Hence so is also the cursor sprite.
* | | Adjust client pointer coordinates to absolutePierre Ossman2016-08-183-1/+16
| | | | | | | | | | | | | | | | | | The client is not aware of where the screen is placed so it will give us screen relative coordinates. Convert to and from these and absolute coordinates before interacting with the input layer.
* | | Convert pointer coordinates to absolutePierre Ossman2016-08-181-2/+12
| |/ |/| | | | | | | | | It is possible to set pointer coordinate using absolute numbers, but getting them back will always give us screen relative ones. Do the necessary calculations manually so we return sane values to the caller.
* | Restore UI for PRIMARY behaviourPierre Ossman2016-07-081-1/+24
| | | | | | | | | | They were lost when the mechanism moved from vncconfig in to Xvnc. Restore the UI by having them reconfigure Xvnc instead.
* | Allow control of PRIMARY behaviour by defaultPierre Ossman2016-07-082-2/+2
| | | | | | | | | | | | It was previously controlled by vncconfig which had no restrictions, so at least include the relevant settings in the default list of overrides.
* | Merge branch 'clipboard'Pierre Ossman2016-07-0814-499/+600
|\ \
| * | Don't start vncconfig from vncserver anymorePierre Ossman2016-02-051-2/+0
| | | | | | | | | | | | The helper is no longer needed for clipboard support.
| * | Support UTF8_STRING selection target typePierre Ossman2016-02-051-2/+93
| | | | | | | | | | | | | | | The protocol still only supports 8859-1 though, so we need to convert things to and from UTF-8.
| * | Use TARGETS when getting selectionPierre Ossman2016-02-051-15/+35
| | |
| * | Move selection request handling to a separate functionPierre Ossman2016-02-051-18/+28
| | | | | | | | | | | | Makes it easier to do requests from different parts of the code.
| * | Create all Atoms in a central placePierre Ossman2016-02-051-17/+13
| | |
| * | Remove clipboard code from vncconfigPierre Ossman2016-02-054-311/+9
| | | | | | | | | | | | | | | The clipboard is handled internally in the server now, so the code in vncconfig is no longer useful.
| * | Move server to client clipboard out of vncconfigPierre Ossman2016-02-055-83/+132
| | | | | | | | | | | | | | | Also handle clipboard transactions from the server to the client directly in the server without the help of vncconfig.
| * | Move client to server clipboard out of vncconfigPierre Ossman2016-01-128-94/+333
| | | | | | | | | | | | | | | | | | | | | Handle the clipboard directly in the server, avoiding the dependency on vncconfig. This commit adds support for clipboard from the client to the server. Handling of the other direction will follow.
* | | Change development version to 1.7.80Pierre Ossman2016-07-011-1/+1
| | |
* | | Properly name filehandle based on context of codeJeff Blaine2016-05-231-3/+3
| |/ |/| | | Old harmless copy/paste from code above left code confusing as it was reusing the filehandle "XSTARTUP" to write out $vncUserDir/config. This new small change uses a more topical filehandle name for the task at hand.
* | Handle parameter without value in libvnc.soPierre Ossman2016-05-161-1/+9
| |
* | Merge branch 'fix_desc_ptr' of https://github.com/uglym8/tigervncPierre Ossman2016-05-131-1/+1
|\ \
| * | Fix ptr usageuglym82016-05-111-1/+1
| | |
* | | Specify TigerVNC Project as the vendor/companyPierre Ossman2016-05-131-1/+1
|/ /
* | Fix xserver118.patch so that it actually applies agsinst xorg 1.18Brian P. Hinz2016-05-071-5/+4
| |
* | Use non-blocking sockets in x0vnserverPierre Ossman2016-04-291-2/+9
| |
* | Fix timeout handling in x0vncserverPierre Ossman2016-04-291-10/+11
| | | | | | | | | | We need to proper respect the timeouts set up by the core RFB code and not just the polling scheduler.
* | Move socket write event handling in to the RFB corePierre Ossman2016-04-292-5/+5
| | | | | | | | | | | | What to do when a socket is writeable should be handled in the RFB core code as there may be other events we want to fire off when this happens.
* | Avoid calling GetMaster() with old XorgPierre Ossman2016-04-151-0/+4
| | | | | | | | | | GetMaster() wasn't exported until Xorg 1.18 so it is unsafe to use from libvnc.so for older versions.
* | xserver: Add support for xorg version 1.18.Dominik Muth2016-04-113-2/+143
| | | | | | | | xserver118.patch is identical to xserver117.patch by content.
* | Merge branch 'allowoverride' of https://github.com/michalsrb/tigervncPierre Ossman2016-04-084-8/+69
|\ \
| * | Document AllowOverride parameter.Michal Srb2016-03-291-0/+15
| | |
| * | Add AllowOverride parameter.Michal Srb2016-03-213-8/+54
| | | | | | | | | | | | Allows to specify which configuration parameters can be modified on runtime.
* | | Split out setPrimaryCB option in UNIX vncconfigScott Roland2016-03-291-2/+13
|/ / | | | | | | | | | | | | | | | | This is the simplest approach, with setPrimaryCB having the same relationship to acceptClipboard as sendPrimaryCB has to sendClipboard. This does not change vncviewer, which should probably have something similar on UNIX platforms only. Pierre Ossman: Changed naming from accept to set
* / change the Copyright yearBojan Memetovic2016-03-181-1/+1
|/
* Better check for on screen visibilityPierre Ossman2016-01-111-13/+33
| | | | | | The check for visible drawables didn't account for compositing which can place a window off-screen. Put all of these checks in a common place and make sure it detects things properly.
* Fix race problem with detecting listening inetd socketsTristan Schmelcher2015-12-291-2/+1
| | | | | | The previous detection would fail if the socket closed before we had time to inspect it, which got us stuck in a loop as we would try (and fail) to do accept() on a non-listening socket.
* Set up Xauthority using a single invokationPierre Ossman2015-12-291-2/+4
|
* Use mcookie to generate X server cookiePierre Ossman2015-12-291-19/+4
|
* Check that xauth is in PATHPierre Ossman2015-12-291-17/+1
| | | | | The rest of the code assumes xauth is in PATH, so let's check for that instead.
* Gracefully handle empty CopyArea operationsPierre Ossman2015-11-301-6/+15
|
* Change development version to 1.6.80Pierre Ossman2015-11-261-1/+1
|
* Fix inverted logic in ProcVncExtSetParam.Michal Srb2015-11-121-1/+1
|