Dmitry Maksyoma
27f7f823fe
vncserver: fix DISPLAY detection
4 years ago
Dmitry Maksyoma
93d2c6c716
vncserver: guide user to create a KasmVNC user
4 years ago
Dmitry Maksyoma
fa342f624f
vncserver: extract AtLeastOneUserConfigured()
4 years ago
Dmitry Maksyoma
a6e9f94e27
vncserver: load .kasmpasswd users
4 years ago
Dmitry Maksyoma
ffb88ee8e6
vncserver: extract $kasmPasswdFile
4 years ago
Dmitry Maksyoma
c99d82fd8b
vncserver: refactor
4 years ago
Dmitry Maksyoma
69a2f9a13b
vncserver: extract CreateUserConfigIfNeeded()
4 years ago
Dmitry Maksyoma
08ede14dfe
vncserver: refactor
4 years ago
Dmitry Maksyoma
79c9c7157b
vncserver: remove obsolete comment
4 years ago
Dmitry Maksyoma
8f58d9bc92
vncserver: split IfXvncDidntStartTryFixingFontPathAndStartXvncAgain()
4 years ago
Dmitry Maksyoma
7ee1522143
vncserver: extract WaitForXvncToStart()
4 years ago
Dmitry Maksyoma
df5d3e506d
vncserver: extract WarnUserXvncNotStartedAndExit()
4 years ago
Dmitry Maksyoma
7954cc506c
vncserver: extract IsXvncRunning()
4 years ago
Dmitry Maksyoma
84764bac80
vncserver: refactor
4 years ago
Dmitry Maksyoma
bc54f75226
vncserver: extract IfXvncDidntStartTryFixingFontPathAndStartXvncAgain()
4 years ago
Dmitry Maksyoma
42eadfe784
vncserver: convert tabs -> spaces
4 years ago
Dmitry Maksyoma
1bea4d0a41
vncserver: extract StartXAndRecordPID()
4 years ago
Dmitry Maksyoma
6181c249d7
vncserver: extract ConstructXvncCmd()
4 years ago
Dmitry Maksyoma
4a63e93582
vncserver: extract SetupXauthorityFile() and others
4 years ago
Dmitry Maksyoma
f6667e99be
vncserver: remove obsolete code
4 years ago
Dmitry Maksyoma
d6fa4b55d7
vncserver: extract DisableVncAuth()
4 years ago
Dmitry Maksyoma
dc1850f1e7
vncserver: remove obsolete code
4 years ago
Dmitry Maksyoma
a6b3eb1f24
vncserver: extract LoadSystemThenUserThenMandatoryConfigs()
4 years ago
Dmitry Maksyoma
efbf401c8e
vncserver: refactor
4 years ago
Dmitry Maksyoma
c79da47c21
vncserver: extract DetectDisplayNumberFromCliArgs()
4 years ago
Dmitry Maksyoma
55525a627b
vncserver: fix formatting
4 years ago
Dmitry Maksyoma
c435e6ba7d
vncserver: refactor
4 years ago
Dmitry Maksyoma
59d53dbb19
vncserver: extract AskUserToChooseDeOrManualXstartup()
4 years ago
Dmitry Maksyoma
8da1612d4c
vncserver: extract CreateDotVncDir()
4 years ago
Dmitry Maksyoma
a560276817
vncserver: extract ProcessCliOptions()
4 years ago
Dmitry Maksyoma
2cb5098060
vncserver: extract DetectFontPath
4 years ago
Dmitry Maksyoma
ed51231b4e
vncserver: remove obsolete code
4 years ago
Dmitry Maksyoma
f903fd6c9d
vncserver: refactor
4 years ago
Dmitry Maksyoma
a3b9a96df7
vncserver: extract DetectUserName
4 years ago
Dmitry Maksyoma
5811e14b42
vncserver: extract DetectBinariesDir()
4 years ago
Dmitry Maksyoma
fc732f3603
vncserver: refactor
4 years ago
Dmitry Maksyoma
b330856d67
vncserver: improve readability
4 years ago
Dmitry Maksyoma
1165159180
vncserver: extract DetectDisplay() and RunXstartup()
4 years ago
Dmitry Maksyoma
25e761326f
vncserver: extract CreateXstartup()
4 years ago
Dmitry Maksyoma
53c545a9ad
vncserver: better test env detection
4 years ago
Dmitry Maksyoma
7c28908722
vncserver: ask to choose DE spike
4 years ago
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.
4 years ago
Dmitry Maksyoma
c4cc856e56
Revert "vncserver: add magic text to signify that the file can be replaced"
...
This reverts commit b8fd6a28a4
.
4 years ago
Dmitry Maksyoma
b8fd6a28a4
vncserver: add magic text to signify that the file can be replaced
4 years ago
Lauri Kasanen
29e0e2bd2e
Fix animated cursor resize crash
4 years ago
Lauri Kasanen
95d34f7e58
Fix some local->remote clipboard merge misses
4 years ago
Lauri Kasanen
a1cf454f06
Sync utf8 clipboard support
4 years ago
matt
380bc0e7f8
merged master in
4 years ago
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
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
f54dc7829a
Update keycode maps to latest version
...
Mainly fixes for Japanese and Korean keyboard layouts.
4 years ago
Dmitry Maksyoma
da4ff4fa70
Merge branch 'master' into vncserver-remove-basicauth
4 years ago
Dmitry Maksyoma
4e8750e37a
Disable passing of basicauth in vncserver
4 years ago
Lauri Kasanen
1632f4888d
Enable basicauth by default, remove the option to supply it on the command line
4 years ago
matt
46e03289be
Manually merged region changes
4 years ago
Lauri Kasanen
c3e30dcea1
Add support for DLP_Region
4 years ago
Dmitry Maksyoma
7bffbb53da
vncserver: remove securitytypes mention from man page
...
securitytypes is no longer used.
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
Lauri Kasanen
3f6524ee30
Add support for owner screenshot HTTP GET API
4 years ago
Dmitry Maksyoma
489c68f7cc
Merge branch 'users' into packages_and_multiuser_passwd
4 years ago
Lauri Kasanen
59fe8ad9db
kasmvncpasswd: Nicer behavior when piping a password, add example in help
4 years ago
Dmitry Maksyoma
9084409a20
Merge branch 'users' into packages_and_multiuser_passwd
4 years ago
Dmitry Maksyoma
0d0f8afceb
Update FSF address in licences to please rpmlint
4 years ago
Kasm
41d518eda4
Merge pull request #16 from kasmtech/create_ubuntu_packages
...
Create Ubuntu 18.04 package
4 years ago
Lauri Kasanen
83c83f43ef
Add a parameter for separate SSL key
4 years ago
matt
de4ddcb154
Fix auth error and build permissions
4 years ago
Lauri Kasanen
30b9a82c08
kasmvncpasswd: Add delete support
5 years ago
Lauri Kasanen
896950ea13
kasmvncpasswd: Add support for multiple users
5 years ago
matt
0a68500ee3
updated readme and vncserver
5 years ago
Lauri Kasanen
279c41fc32
Add option to pass the password in an encrypted file, kasmvncpasswd utility
5 years ago
Pierre Ossman
45e44a66e5
Tolerate specifying -BoolParam 0 and similar
...
This is needed by vncserver which doesn't know which parameters are
boolean, and it cannot use the -Param=Value form as that isn't tolerated
by the Xorg code.
5 years ago
Mark Mielke
f814a93214
vncserver: Remove legacy HP-UX support
...
The check for existence of `/usr/spool/sockets/X11/<n>` has been
removed. This file is only relevant on HP-UX, and TigerVNC dropped
support for HP-UX in commit 31e5aa3.
5 years ago
Pierre Ossman
e5b02f996e
Catch errors resizing framebuffer
5 years ago
Pierre Ossman
9eca28a084
Add final line break to FatalError() calls
...
It expects the callers to include this, so make sure we're consistently
providing one.
5 years ago
Pierre Ossman
a2099e5e40
Avoid using RegionInit() because of empty rects
...
It creates an invalid region if given an empty rect. Fortunately
RegionInitBoxes() handles that just fine, so use that instead.
5 years ago
Pierre Ossman
f528483975
Stop using legacy region macros
...
We no longer support such old X servers so start using the current
functions.
5 years ago
Pierre Ossman
a00e40c340
Handle empty changes for every operation
...
It seems like many of the X11 operations can end up with no pixels
actually changing. So instead of discovering and adding workarounds for
each individually we'll just check very region added if it's empty.
5 years ago
Pierre Ossman
a4e0dbf7db
Remove 8-bit support from documentation
...
We removed support in the code ages ago, but overlooked this part of the
documentation. Also remove some dead code in Xvnc on the same theme.
5 years ago
Pierre Ossman
06f3413446
Remove support for old Xorg versions
...
No current distribution ship anything this ancient anyway.
5 years ago
Lauri Kasanen
49f9ce8e5b
Remove remnants of the old HTTP server
5 years ago
Linus Heckemann
6e5a837c21
xserver: add no-op input thread init function
...
This allows Xvnc to build with xorg-server 1.20.7, which requires OS
layers to implement a ddxInputThreadInit function when configured with
--enable-input-thread (the default).
relevant xorg-server commit: e3f26605d85d987da434640f52646d728f1fe919
5 years ago
Pierre Ossman
3ee909ffe6
Don't background the main session command
...
When used with -fg we expect the startup script to remain running until
the session is over. This will not happen if the session command is put
in the background using &.
5 years ago
matt
408c005d3e
Initial commit
5 years ago