Files
log/my-blog/content/posts/2025-10-20-arch-vnc.md
2025-10-21 05:08:52 +09:00

758 B

title, slug, date, tags, draft
title slug date tags draft
archlinuxでvnc arch-vnc 2025-10-20
archlinux
vnc
mac
false

自分のブログに書いてあると思ったんだけど、見当たらなかったので。

xorg, i3を使用しています。

$ sudo pacman -S tigervnc
$ vncpasswd
$ x0vncserver -rfbauth ~/.config/tigervnc/passwd

macから接続するには

$ open vnc://192.168.1.2:5900

操作感を同じにする

  1. 自動起動
  2. WinからAltに変更。その上でsetxkbmapでkey-layoutを変更。
exec --no-startup-id x0vncserver -rfbauth ~/.config/tigervnc/passwd
exec_always --no-startup-id setxkbmap -option altwin:swap_alt_win
#set $mod Mod4
set $mod Mod1