summarylogtreecommitdiffstats
path: root/README.md
blob: 86db46596eb791a0f93c71c39419124cd034e1ff (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
# README

AUR package that provides enhanced session support for the Hyper-V virtual machine. Based on [linux-vm-tools](https://github.com/microsoft/linux-vm-tools/).

## Installation

```bash
# install
yay -S hv-enhanced-session

# enable session
sudo systemctl enable --now hv-enhanced-session

# xrdp reads .xinitrc
echo "/usr/lib/plasma-dbus-run-session-if-needed startplasma-x11" > ~/.xinitrc
chmod +x ~/.xinitrc

# restart xrdp if service already started
sudo systemctl daemon-reload
sudo systemctl restart xrdp
```

## Hyper-V Settings

Setup Hyper-V Transport using PowerShell:

```ps
Set-VM -VMName "VM NAME" -EnhancedSessionTransportType HvSocket
```

U should `Default Switch` as `Network Adapter`.

## Links

* [Arch Wiki: Xrdp]( https://wiki.archlinux.org/title/xrdp)
* [Setup Hyper-V enhanced session for Ubuntu 20](https://gist.github.com/milnak/54e662f88fa47a5d3a317edb712f957e)