代码语言:txt复制
ubuntu@192.168.2.107's password:
代码语言:txt复制You are required to change your password immediately (administrator enforced)
代码语言:txt复制Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-1028-raspi aarch64)
代码语言:txt复制 * Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
代码语言:txt复制 System information as of Sun Mar 7 20:19:00 UTC 2021
代码语言:txt复制 System load: 0.79 Temperature: 49.7 C
代码语言:txt复制 Usage of /: 6.2% of 28.96GB Processes: 141
代码语言:txt复制 Memory usage: 7% Users logged in: 0
代码语言:txt复制 Swap usage: 0% IPv4 address for eth0: 192.168.2.107
代码语言:txt复制0 updates can be installed immediately.
代码语言:txt复制0 of these updates are security updates.
代码语言:txt复制The list of available updates is more than a week old.
代码语言:txt复制To check for new updates run: sudo apt update
代码语言:txt复制The programs included with the Ubuntu system are free software;
代码语言:txt复制the exact distribution terms for each program are described in the
代码语言:txt复制individual files in /usr/share/doc/*/copyright.
代码语言:txt复制Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
代码语言:txt复制applicable law.
代码语言:txt复制WARNING: Your password has expired.
代码语言:txt复制You must change your password now and login again!
代码语言:txt复制Changing password for ubuntu.
代码语言:txt复制Current password:
代码语言:txt复制New password:
代码语言:txt复制Retype new password:
- 9.重新使用
ssh ubuntu@你的树莓派ip
和你的新密码进行登录。得到如下界面
Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-1028-raspi aarch64)
代码语言:txt复制 * Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
代码语言:txt复制 System information as of Sun Mar 7 20:20:42 UTC 2021
代码语言:txt复制 System load: 0.69 Temperature: 51.1 C
代码语言:txt复制 Usage of /: 6.4% of 28.96GB Processes: 140
代码语言:txt复制 Memory usage: 7% Users logged in: 0
代码语言:txt复制 Swap usage: 0% IPv4 address for eth0: 192.168.2.107
代码语言:txt复制0 updates can be installed immediately.
代码语言:txt复制0 of these updates are security updates.
代码语言:txt复制The list of available updates is more than a week old.
代码语言:txt复制To check for new updates run: sudo apt update
代码语言:txt复制Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
代码语言:txt复制Last login: Sun Mar 7 20:19:04 2021 from 192.168.2.195
代码语言:txt复制To run a command as administrator (user "root"), use "sudo <command>".
代码语言:txt复制See "man sudo_root" for details.
- 10.安装完成,完美!
- 11.安装桌面
#更新
代码语言:txt复制apt update
代码语言:txt复制#安装桌面环境
代码语言:txt复制sudo apt install xfce4 xfce4-goodies
代码语言:txt复制#安装vncserver
代码语言:txt复制apt install tightvncserver
代码语言:txt复制#启动vncserver
代码语言:txt复制vncserver
代码语言:txt复制#关闭vncserver :1窗口
代码语言:txt复制vncserver -kill :1
代码语言:txt复制#备份原来的配置文件
代码语言:txt复制cp ~/.vnc/xstartup ~/.vnc/xstartup.bak
代码语言:txt复制#编辑新的配置文件
代码语言:txt复制vim ~/.vnc/xstartup
将xstartup文件更改为如下
代码语言:txt复制#!/bin/bash
代码语言:txt复制xrdb $HOME/.Xresources
代码语言:txt复制startxfce4 &
重新启动vncserver