Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md - github.com/neutrinolabs/ulalaca-xrdp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8f369ef0d16d1e1f38b37c0f20150d2d53f73abf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# 麗 -ulalaca-

![sosumi](https://user-images.githubusercontent.com/964412/166627076-616c1252-aede-4f33-9084-9a483caa5a8c.png)

this xrdp module requires [ulalaca-sessionprojector](https://github.com/unstabler/ulalaca)

# TODO / BUGS

- NOT SUITABLE FOR PRODUCTION USE YET

# INSTALLATION
1. fetch xrdp source code
```shell
$ git clone https://github.com/neutrinolabs/xrdp.git xrdp
$ cd xrdp
$ git checkout devel
```

2. add ulalaca-xrdp as submodule
```shell
$ git submodule add https://github.com/unstabler/ulalaca-xrdp ulalaca
```

3. apply patch
```shell
$ patch -p1 < ulalaca/xrdp-automake.patch
$ patch -p1 < ulalaca/xrdp-encoder-force-use-bgra.patch

# + fix hard-coded socket path
$ vi ulalaca/ulalaca.cpp
```
```diff
         _this->_socket = std::make_unique<UnixSocket>(
-             "/Users/unstabler/ulalaca-projector.socket"
+             "..."
         );
         _this->_socket->connect();

```

4. build & install
```shell
$ ./bootstrap
$ ./configure --enable-pixman PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libjpeg-turbo/lib/pkgconf
$ make -j8 
$ make install
```

5. edit /etc/xrdp/xrdp.ini
```diff
 ; Section name to use for automatic login if the client sends username
 ; and password. If empty, the domain name sent by the client is used.
 ; If empty and no domain name is given, the first suitable section in
 ; this file will be used.
 autorun=

 allow_channels=true
 allow_multimon=true
 bitmap_cache=true
-bitmap_compression=true
+bitmap_compression=false
-bulk_compression=true
+bulk_compression=false
 #hidelogwindow=true
 max_bpp=32
 new_cursors=true
 
 ; ...
 
+[Ulalaca]
+name=Ulalaca
+lib=libulalaca.dylib
```