0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Linux Mint で x11vnc

Last updated at Posted at 2024-11-25

Youtubeのだれかが公開していた手順を以下に記載します。
固定IPの設定は事前に済ましておいてね。

sudo apt remove vino 
sudo apt install x11vnc
sudo x11vnc -storepasswd /etc/x11vnc.pass
cd /lib/systemd/system
sudo vim x11vnc.service

以下をコピペ でも 元のやつに -display :0 を加える。

#####Enter this code######
[Unit]
Description=Start x11vnc at startup.
After=multi-user.target

[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -auth guess -forever -display :0 -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared

[Install]
WantedBy=multi-user.target
##########################

おきまりの設定ね。

sudo systemctl daemon-reload
sudo systemctl enable x11vnc.service
sudo systemctl start x11vnc.service

あとは FWの設定

sudo ufw enable
sudo ufw allow 5900/tcp
sudo ufw status
sudo ufw reload

これでつながりました。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?