Commit Graph

155 Commits

Author SHA1 Message Date
Dmitry Maksyoma
27f0ed29ca vncserver: fix case of -websocketPort not specified 2021-11-02 19:51:43 +13:00
Dmitry Maksyoma
7cced9dd05 vncserver: fix -websocketPort being ignored 2021-11-02 19:51:43 +13:00
Dmitry Maksyoma
f3681c87f9 vncserver: fix -debug 2021-11-02 19:51:43 +13:00
Dmitry Maksyoma
303fde284e vncserver: fix display :0 being ignored on CLI 2021-11-02 19:51:43 +13:00
Dmitry Maksyoma
8cd49ebbf8 vncserver: fix heredoc to work on CentOS 2021-11-02 19:51:43 +13:00
Dmitry Maksyoma
bc2e2512e3 vncserver: YAML config spike 2021-10-28 22:05:26 +13:00
Dmitry Maksyoma
aefbb4d143 vncserver: update comment 2021-10-14 22:04:28 +13:00
Dmitry Maksyoma
b34fe08786 vncserver refactor: use standard way of calling functions
For somebody coming from Python/Ruby/JavaScript, foo() is easier to
understand than &foo. Also, less noise.
2021-10-14 21:47:26 +13:00
Dmitry Maksyoma
ee3b7f9aa5 vncserver: add easy -debug option to pass -log to Xvnc 2021-10-13 22:45:47 +13:00
Dmitry Maksyoma
f7254e9708 vncserver: fix -select-de 2021-10-13 22:38:40 +13:00
Dmitry Maksyoma
e3a41bc055 vncserver: use IP when printing browser url 2021-10-09 18:59:53 +13:00
Dmitry Maksyoma
02ef620f67 vncserver: print browser url to connect to
Add 0.0.0.0 as default interface. Xvnc fails if -interface isn't passed.
2021-10-06 23:44:35 +13:00
Dmitry Maksyoma
e453c7d73b vncserver: swallow -interface and pass through to Xvnc 2021-10-04 22:52:59 +13:00
Dmitry Maksyoma
04379056af vncserver: refactor 2021-09-18 22:50:49 +12:00
Dmitry Maksyoma
49908e1867 vncserver: detect select-de.sh location 2021-09-18 22:46:01 +12:00
Dmitry Maksyoma
606075ddc0 vncserver: refactor 2021-09-18 22:31:32 +12:00
Dmitry Maksyoma
17fa6911c1 vncserver: extract IsDebian() 2021-09-18 22:30:34 +12:00
Dmitry Maksyoma
3b3c8d0881 vncserver: refactor 2021-09-17 03:39:40 +12:00
Dmitry Maksyoma
fe3569c6e8 vncserver: check user is in ssl-cert group on Debian-based distros 2021-09-16 22:57:35 +12:00
Dmitry Maksyoma
dbd54fe35c vncserver: add -select-de 2021-09-10 22:31:48 +12:00
Dmitry Maksyoma
f999acc490 vncserver: extract ForgetSelectedDe() 2021-09-09 20:46:49 +12:00
Dmitry Maksyoma
3eb1ffd94b vncserver: -select-de spike 2021-08-20 22:35:12 +12:00
Dmitry Maksyoma
551f292144 vncserver: CLI optional option arg support (-select-de=[DE]) 2021-08-20 22:33:34 +12:00
Dmitry Maksyoma
b0ffc6a27e vncserver: use unique -websocketPort for each display 2021-08-18 23:51:47 +12:00
Dmitry Maksyoma
cb08058d34 vncserver: print empty line before guided user creation 2021-08-18 23:34:26 +12:00
Dmitry Maksyoma
d0fe229684 vncserver: refactor 2021-08-16 23:17:51 +12:00
Dmitry Maksyoma
ded3840f6b vncserver: extract PrintLogFilenameAndConfiguredUsersAndStuff() 2021-08-13 19:17:44 +12:00
Dmitry Maksyoma
c6f7d2eff0 vncserver: refactor 2021-08-13 19:17:30 +12:00
Dmitry Maksyoma
7e854294a2 vncserver: refactor 2021-08-13 19:06:24 +12:00
Dmitry Maksyoma
5635096978 vncserver: refactor 2021-08-13 19:02:25 +12:00
Dmitry Maksyoma
34565c5950 vncserver: extract AllowXProgramsToConnectToXvnc() 2021-08-13 19:00:35 +12:00
Dmitry Maksyoma
3522000d1f vncserver: extract PrepareLoggingAndXvncKillingFramework() 2021-08-13 18:49:01 +12:00
Dmitry Maksyoma
3f23bddb6b vncserver: refactor 2021-08-13 18:43:08 +12:00
Dmitry Maksyoma
b350557afd vncserver: refactor 2021-08-13 18:32:02 +12:00
Dmitry Maksyoma
7dc12ccb8a vncserver: refactor 2021-08-13 18:27:46 +12:00
Dmitry Maksyoma
f187aa9540 vncserver: remove obsolete code 2021-08-13 18:26:22 +12:00
Dmitry Maksyoma
79a21347f1 vncserver: extract DefineLogAndPidFilesForDisplayNumber() 2021-08-13 18:17:44 +12:00
Dmitry Maksyoma
0c1423f0b1 vncserver: remove obsolete code 2021-08-13 18:09:05 +12:00
Dmitry Maksyoma
1e21e09754 vncserver: remove obsolete code 2021-08-13 18:02:35 +12:00
Dmitry Maksyoma
6e0d272946 vncserver: enable "say" 2021-08-13 17:57:32 +12:00
Dmitry Maksyoma
c64e83732d vncserver: fix indentation 2021-08-13 01:24:39 +12:00
Dmitry Maksyoma
acb9793841 vncserver: refactor 2021-08-13 01:18:09 +12:00
Dmitry Maksyoma
9a6ea64e0f vncserver: refactor 2021-08-13 00:24:30 +12:00
Dmitry Maksyoma
68554d84d6 vncserver: refactor 2021-08-13 00:16:32 +12:00
Dmitry Maksyoma
ac51bd1d57 vncserver: refactor 2021-08-13 00:10:40 +12:00
Dmitry Maksyoma
3ef297a7cd vncserver: refactor 2021-08-13 00:07:59 +12:00
Dmitry Maksyoma
0ca46888a0 vncserver: replace -kill sleep with a faster busyloop 2021-08-12 23:33:57 +12:00
Dmitry Maksyoma
8ca36e349e vncserver: extract StartXvncOrExit() 2021-08-10 22:21:52 +12:00
Dmitry Maksyoma
cc90fe9ff6 vncserver: slice start time from 3 seconds to ~170ms 2021-08-10 22:18:31 +12:00
Dmitry Maksyoma
2b4f01f5ae vncserver: extract EnsureAtLeastOneKasmUserExists() 2021-08-10 21:45:41 +12:00