0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Raspberry PI で VNC 接続

Posted at

はじめに

Windows から Rasberry PI の X Window に接続する方法の備忘録

初期設定

メニューから Raspberry Pi の設定を開く

image.png

VNC を有効にする
image.png

VNC 起動確認

# ps -ef |grep vnc
root       398     1  0 09:59 ?        00:00:00 /usr/bin/vncserver-x11-serviced -fg
root       408   398  0 09:59 ?        00:00:09 /usr/bin/vncserver-x11-core -service
root       736     1  0 09:59 ?        00:00:02 /usr/bin/vncagent service 13
pi         742     1  0 10:00 ?        00:00:01 /usr/bin/vncserverui service 14
pi         819   742  0 10:00 ?        00:00:00 /usr/bin/vncserverui -statusicon 5
root      3113  2351  0 11:49 pts/1    00:00:00 grep vnc

# netstat -an |grep 5900
tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN
tcp        0      0 192.168.111.77:5900     192.168.111.50:53418    ESTABLISHED
tcp6       0      0 :::5900                 :::*                    LISTEN

接続用ユーザのパスワード変更

# su - pi
$ vncpasswd -user
Setting "Password" VNC parameter for User Mode server
Password:
Verify:
Successfully set "Password" VNC parameter in

クライアント

VNC Viewer をダウンロードしてインストール
https://www.realvnc.com/en/connect/download/viewer/

VNC Viewer を起動してユーザ名、パスワードでログイン
image.png

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?