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
4 years ago
Pierre Ossman
d8caab699d
Add missing headers for TCP_CORK
...
We didn't include the proper headers to get the correct define, so
corking was never enabled.
4 years ago
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.
4 years ago
Pierre Ossman
189f503b98
Fix handling of bad update requests
...
We computed a safe area if a client gave us a bogus one, but we didn't
actually use it. Fix this properly and make sure we don't pass on bad
coordinates further.
4 years ago
Pierre Ossman
f54dc7829a
Update keycode maps to latest version
...
Mainly fixes for Japanese and Korean keyboard layouts.
4 years ago
Pierre Ossman
fde088ce65
Improved bandwidth monitoring
...
Now measures over an entire update, which should hopefully give us more
stable values. They are still small values for fast networks though so
increase precision in the values we keep.
4 years ago
Pierre Ossman
a55f142c98
Don't shuffle input buffer unless actually needed
4 years ago
Pierre Ossman
25995e2490
Remove unused bufSize argument from streams
4 years ago
Pierre Ossman
281d65292a
Remove special functions from JPEG compressor
...
We can do what we want with the standard methods.
4 years ago
Pierre Ossman
57a3c3bba8
Simplify stream availability handling
...
Just have a simply number of bytes argument to avoid a lot of
complexity.
4 years ago
Pierre Ossman
92c7695981
Create common base classes for buffered streams
...
Most streams are backed by a memory buffer. Create common base classes
for this functionality to avoid code duplication.
4 years ago
Pierre Ossman
7f90205cf2
Add stream avail() methods
...
Makes it more readable to write code that needs to know how much
data/space is available in a stream.
4 years ago
Pierre Ossman
910fd8fa3e
Remove unused stream methods
...
They were accidentally left unused in fbad8a9 so they haven't been used
in some time.
4 years ago
Pierre Ossman
c97828471c
Use proper constants for socket shutdown()
...
For readability.
4 years ago
Pierre Ossman
c5b7137f2b
Flush data on close
...
There might be some final handshake data that is still stuck in the
buffers, so make a best effort attempt at getting it to the client.
4 years ago
Pierre Ossman
a3c0ce55c9
Support calling methods from timers
...
We can't safely use the normal timers in base classes as we cannot
guarantee that subclasses will call the base class' handleTimeout()
properly if the subclass overrides it.
4 years ago
Kasm
02721a0270
Merge pull request #34 from kasmtech/bugfix/freezing
...
Apply patch for 1.20.x
4 years ago
matt
29415a8c7d
Apply patch for 1.20.x
4 years ago
Kasm
0638245ff9
Merge pull request #33 from kasmtech/vncserver-remove-basicauth
...
Vncserver remove basicauth
4 years ago
Dmitry Maksyoma
9b3e1f73f5
Deb/rpm: update barebones images
4 years ago
Dmitry Maksyoma
da4ff4fa70
Merge branch 'master' into vncserver-remove-basicauth
4 years ago
Kasm
1e8451ce21
Merge pull request #32 from kasmtech/squashed_buster_release
...
CI building and uploading to S3, prepare deb release
4 years ago
Dmitry Maksyoma
4e8750e37a
Disable passing of basicauth in vncserver
4 years ago
Dmitry Maksyoma
ca326ee1f1
Revert "Update README: deb installation only"
...
This reverts commit 213f91c1a7
.
4 years ago
Dmitry Maksyoma
40facbcc46
Revert "Improve README.md"
...
This reverts commit e5cd3d6753
.
4 years ago
Dmitry Maksyoma
963ea6b6d3
Revert "README.md formatting"
...
This reverts commit fc12e38571
.
4 years ago
Dmitry Maksyoma
f758fc5021
CI: build all distros and upload to S3
4 years ago
Lauri Kasanen
1632f4888d
Enable basicauth by default, remove the option to supply it on the command line
4 years ago
matt
93d3bf052d
Removed old line
4 years ago
matt
7b3f6876b4
Fixed syntax error
4 years ago
matt
46e03289be
Manually merged region changes
4 years ago
Dmitry Maksyoma
56fd118c43
CI: extract after_script
4 years ago
Dmitry Maksyoma
9a9b14daf1
CI: extract before_script
4 years ago
Dmitry Maksyoma
349ed4cb41
CI: remove tarballs from artifacts
4 years ago
Lauri Kasanen
c3e30dcea1
Add support for DLP_Region
4 years ago
Dmitry Maksyoma
fc12e38571
README.md formatting
4 years ago
Dmitry Maksyoma
e5cd3d6753
Improve README.md
4 years ago
Dmitry Maksyoma
7bffbb53da
vncserver: remove securitytypes mention from man page
...
securitytypes is no longer used.
4 years ago
Dmitry Maksyoma
df92791550
Gitlab CI: build all distros if branch has "release" or "testing" in it
4 years ago
Dmitry Maksyoma
25c32c96e5
Deb: fix Ubuntu Focal (vnc_startup.sh XFCE start issue)
4 years ago
Dmitry Maksyoma
213f91c1a7
Update README: deb installation only
4 years ago
Dmitry Maksyoma
ed4c514bcb
Deb: test images have lsb-release now
...
To ensure it's the right image, I double-check with lsb_release.
4 years ago
Dmitry Maksyoma
2005b86a92
Deb: make easy-start script easier to modify
4 years ago
Dmitry Maksyoma
d73ffc8a38
Deb: example script can now -kill, -d (debug), --help
4 years ago
Dmitry Maksyoma
a73b890c92
Code formatting
4 years ago
Dmitry Maksyoma
8c2e8c9acb
Deb: add example script to easily run kasmvncserver
4 years ago
Dmitry Maksyoma
b48fa8a262
vncpasswd man: update the top level description
4 years ago
Dmitry Maksyoma
6f803f744d
vncpasswd man: update to be current regarding password length
4 years ago
Dmitry Maksyoma
79682d3dee
vncpasswd man: add overview
4 years ago
Dmitry Maksyoma
2b8374f544
Update vncpasswd manual page
4 years ago