如何使用Mac连接到Raspberry Pi

I recently got a Raspberry Pi for testing, and to build some projects ideas I have.

我最近得到了一个Raspberry Pi进行测试,并建立了一些我有的想法。

I installed Raspbian, the Linux version of Debian specifically made for the Raspberry Pi.

我安装了Raspbian,这是专为Raspberry Pi开发的Debian的Linux版本。

Then I attached the Raspberry Pi to the TV, using the HDMI cable, and I attached an USB mouse and USB keyboard to install the OS and get all “wired up”.

然后,我使用HDMI电缆将Raspberry Pi连接到电视,然后连接USB鼠标和USB键盘以安装操作系统并进行所有“连接”。

I then set up the VNC Server on the Pi to be able to connect to it from the Mac. I didn’t really want to keep it attached to the TV all the time.

然后,我在Pi上设置了VNC服务器,以便能够从Mac连接到它。 我实在不想一直将它固定在电视上。

So I clicked the menu, went to Preferences -> Raspberry Pi Configuration:

所以我点击了菜单,进入了Preferences-> Raspberry Pi Configuration

The Raspberry Pi Preferences

Then I pressed the Interfaces tab:

然后,我按下了“ 接口”选项卡:

Interfaces tab

and I enabled the VNC option:

我启用了VNC选项:

The VNC option in the interfaces tab

After doing so, I pressed OK and the “VNC” icon appeared in the toolbar.

这样做之后,我按了“确定”,工具栏中出现了“ VNC”图标。

In the screenshots above it’s already there, but it’s because I made them after I enabled VNC.

在上面的屏幕截图中,它已经存在,但这是因为在启用VNC之后我将它们制作了出来。

Clicking that icon showed me the VNC Server panel, which shows me the IP address of the Pi.

单击该图标将显示“ VNC服务器”面板,该面板显示了Pi的IP地址。

Connected to the Raspberry Pi

Using the Mac I downloaded the VNC Viewer from https://www.realvnc.com/download/viewer/ and I entered the IP address of the Pi.

使用Mac,我从https://www.realvnc.com/download/viewer/下载了VNC Viewer,然后输入了Pi的IP地址。

I entered the username (pi) and the password of that username, and I was ready to go, with a nice window showing me the content of the Pi desktop!

我输入了用户名(pi)和该用户名的密码,然后就可以开始使用了,并在一个漂亮的窗口中显示了Pi桌面的内容!

The only problem I had was sound. That’s not supported with VNC, so I connected my stereo to the Pi audio jack, to hear if it had something to say.

我唯一的问题是声音 。 VNC不支持此功能,因此我将立体声音响连接到Pi音频插Kong,以听是否有话要说。

翻译自: https://flaviocopes.com/raspberry-pi-connect-vnc/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值