Skip to content

Commit f9b03b7

Browse files
committed
Update windows xorg note
1 parent 4f7b63e commit f9b03b7

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

notes/tool/windows/xorg.md

+15-7
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ choose *Fullscreen*, *One large window* or *One window without titlebar*.
1818

1919
Here are some parameters that may be interesting to use:
2020

21-
| Parameter | Description |
22-
| --- | --- |
23-
| `-xkblayout jp` | Set japanese keyboard layout. |
24-
| `-keyhook` | Grab special keypresses like Alt-Tab or the Menu key. |
25-
| `-ac` | Disable access control restrictions. A must have for WSL2. |
21+
| Parameter | Description |
22+
| --------------- | ---------------------------------------------------------- |
23+
| `-xkblayout jp` | Set japanese keyboard layout. |
24+
| `-keyhook` | Grab special keypresses like Alt-Tab or the Menu key. |
25+
| `-ac` | Disable access control restrictions. A must have for WSL2. |
2626

2727
## Display
2828

@@ -34,5 +34,13 @@ Open Windows Powershell and add the `DISPLAY` variable:
3434

3535
## SSH
3636

37-
Install `dbus-x11` in the remote server.
38-
When using `ssh -Y` X11 forwarding must work.
37+
To be able to forward X11,
38+
install the following in the remote server:
39+
40+
- Debian-based distribution: `dbus-x11`
41+
- Arch-based distribution: `xorg-xauth`
42+
43+
Make sure to have `X11Forwarding yes` in `/etc/ssh/sshd_config`.
44+
If making any changes, restart `sshd` service and re-login.
45+
46+
Use `ssh -Y` to login the server.

0 commit comments

Comments
 (0)