Commit Graph

77 Commits

Author SHA1 Message Date
Dmitry Maksyoma
8f58d9bc92 vncserver: split IfXvncDidntStartTryFixingFontPathAndStartXvncAgain() 2021-08-02 23:19:36 +12:00
Dmitry Maksyoma
7ee1522143 vncserver: extract WaitForXvncToStart() 2021-08-02 23:05:29 +12:00
Dmitry Maksyoma
df5d3e506d vncserver: extract WarnUserXvncNotStartedAndExit() 2021-08-02 00:27:11 +12:00
Dmitry Maksyoma
7954cc506c vncserver: extract IsXvncRunning() 2021-08-01 22:46:12 +12:00
Dmitry Maksyoma
84764bac80 vncserver: refactor 2021-08-01 22:37:43 +12:00
Dmitry Maksyoma
bc54f75226 vncserver: extract IfXvncDidntStartTryFixingFontPathAndStartXvncAgain() 2021-08-01 22:36:58 +12:00
Dmitry Maksyoma
42eadfe784 vncserver: convert tabs -> spaces 2021-08-01 22:27:35 +12:00
Dmitry Maksyoma
1bea4d0a41 vncserver: extract StartXAndRecordPID() 2021-08-01 22:23:51 +12:00
Dmitry Maksyoma
6181c249d7 vncserver: extract ConstructXvncCmd() 2021-08-01 21:57:36 +12:00
Dmitry Maksyoma
4a63e93582 vncserver: extract SetupXauthorityFile() and others 2021-08-01 21:36:55 +12:00
Dmitry Maksyoma
f6667e99be vncserver: remove obsolete code 2021-08-01 21:11:43 +12:00
Dmitry Maksyoma
d6fa4b55d7 vncserver: extract DisableVncAuth() 2021-08-01 21:11:19 +12:00
Dmitry Maksyoma
dc1850f1e7 vncserver: remove obsolete code 2021-08-01 21:07:54 +12:00
Dmitry Maksyoma
a6b3eb1f24 vncserver: extract LoadSystemThenUserThenMandatoryConfigs() 2021-08-01 21:04:19 +12:00
Dmitry Maksyoma
efbf401c8e vncserver: refactor 2021-08-01 20:53:07 +12:00
Dmitry Maksyoma
c79da47c21 vncserver: extract DetectDisplayNumberFromCliArgs() 2021-07-31 01:11:26 +12:00
Dmitry Maksyoma
55525a627b vncserver: fix formatting 2021-07-31 00:39:20 +12:00
Dmitry Maksyoma
c435e6ba7d vncserver: refactor 2021-07-31 00:37:00 +12:00
Dmitry Maksyoma
59d53dbb19 vncserver: extract AskUserToChooseDeOrManualXstartup() 2021-07-31 00:30:21 +12:00
Dmitry Maksyoma
8da1612d4c vncserver: extract CreateDotVncDir() 2021-07-31 00:23:45 +12:00
Dmitry Maksyoma
a560276817 vncserver: extract ProcessCliOptions() 2021-07-31 00:19:37 +12:00
Dmitry Maksyoma
2cb5098060 vncserver: extract DetectFontPath 2021-07-31 00:09:31 +12:00
Dmitry Maksyoma
ed51231b4e vncserver: remove obsolete code 2021-07-31 00:02:42 +12:00
Dmitry Maksyoma
f903fd6c9d vncserver: refactor 2021-07-31 00:02:01 +12:00
Dmitry Maksyoma
a3b9a96df7 vncserver: extract DetectUserName 2021-07-31 00:01:45 +12:00
Dmitry Maksyoma
5811e14b42 vncserver: extract DetectBinariesDir() 2021-07-30 23:55:44 +12:00
Dmitry Maksyoma
fc732f3603 vncserver: refactor 2021-07-30 23:40:51 +12:00
Dmitry Maksyoma
b330856d67 vncserver: improve readability 2021-07-28 22:28:51 +12:00
Dmitry Maksyoma
1165159180 vncserver: extract DetectDisplay() and RunXstartup() 2021-07-28 22:18:59 +12:00
Dmitry Maksyoma
25e761326f vncserver: extract CreateXstartup() 2021-07-28 22:04:56 +12:00
Dmitry Maksyoma
53c545a9ad vncserver: better test env detection 2021-07-28 22:01:45 +12:00
Dmitry Maksyoma
7c28908722 vncserver: ask to choose DE spike 2021-07-25 23:21:05 +12:00
Dmitry Maksyoma
6bdcbc32b1 vncserver: enable local testing
It uses the dir it was ran from to find other binaries. If I run it
locally as unix/vncserver, I want to use /usr/bin for other binaries.
2021-07-25 23:07:29 +12:00
Dmitry Maksyoma
c4cc856e56 Revert "vncserver: add magic text to signify that the file can be replaced"
This reverts commit b8fd6a28a4.
2021-07-21 19:20:38 +12:00
Dmitry Maksyoma
b8fd6a28a4 vncserver: add magic text to signify that the file can be replaced 2021-07-18 01:02:04 +12:00
Lauri Kasanen
29e0e2bd2e Fix animated cursor resize crash 2021-06-15 15:40:14 +03:00
Lauri Kasanen
95d34f7e58 Fix some local->remote clipboard merge misses 2021-04-13 13:49:43 +03:00
Lauri Kasanen
a1cf454f06 Sync utf8 clipboard support 2021-04-12 12:38:24 +03:00
matt
380bc0e7f8 merged master in 2021-03-31 05:21:35 -04:00
lhchavez
25b8e64adb Add support for notifying clients about pointer movements
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
2021-03-29 11:27:54 +03:00
Pierre Ossman
da83ecf86a Drop other selection on ownership change
Otherwise we might end up owners of something we cannot deliver data on,
which can hang applications.
2021-03-29 11:03:38 +03:00
Pierre Ossman
f54dc7829a Update keycode maps to latest version
Mainly fixes for Japanese and Korean keyboard layouts.
2021-03-29 10:57:41 +03:00
Dmitry Maksyoma
da4ff4fa70 Merge branch 'master' into vncserver-remove-basicauth 2021-03-25 23:16:22 +13:00
Dmitry Maksyoma
4e8750e37a Disable passing of basicauth in vncserver 2021-03-25 23:05:20 +13:00
Lauri Kasanen
1632f4888d Enable basicauth by default, remove the option to supply it on the command line 2021-03-25 11:25:30 +02:00
matt
46e03289be Manually merged region changes 2021-03-22 10:36:39 +00:00
Lauri Kasanen
c3e30dcea1 Add support for DLP_Region 2021-03-15 13:48:56 +02:00
Dmitry Maksyoma
7bffbb53da vncserver: remove securitytypes mention from man page
securitytypes is no longer used.
2021-03-15 22:27:19 +13:00
Dmitry Maksyoma
b48fa8a262 vncpasswd man: update the top level description 2021-03-13 21:51:54 +13:00
Dmitry Maksyoma
6f803f744d vncpasswd man: update to be current regarding password length 2021-03-13 21:48:59 +13:00