关于树莓派安装UbuntuServer系统

2021-03-08  本文已影响0人  Wannay

说明:

ubuntu@192.168.2.107's password: 
You are required to change your password immediately (administrator enforced)
Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-1028-raspi aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Sun Mar  7 20:19:00 UTC 2021

  System load:  0.79              Temperature:           49.7 C
  Usage of /:   6.2% of 28.96GB   Processes:             141
  Memory usage: 7%                Users logged in:       0
  Swap usage:   0%                IPv4 address for eth0: 192.168.2.107


0 updates can be installed immediately.
0 of these updates are security updates.


The list of available updates is more than a week old.
To check for new updates run: sudo apt update


The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

WARNING: Your password has expired.
You must change your password now and login again!
Changing password for ubuntu.
Current password: 
New password: 
Retype new password: 
Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-1028-raspi aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Sun Mar  7 20:20:42 UTC 2021

  System load:  0.69              Temperature:           51.1 C
  Usage of /:   6.4% of 28.96GB   Processes:             140
  Memory usage: 7%                Users logged in:       0
  Swap usage:   0%                IPv4 address for eth0: 192.168.2.107


0 updates can be installed immediately.
0 of these updates are security updates.


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings


Last login: Sun Mar  7 20:19:04 2021 from 192.168.2.195
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
#更新
apt update
#安装桌面环境
sudo apt install xfce4 xfce4-goodies
#安装vncserver
apt install tightvncserver
#启动vncserver
vncserver

#关闭vncserver :1窗口
vncserver -kill :1
#备份原来的配置文件
cp ~/.vnc/xstartup ~/.vnc/xstartup.bak
#编辑新的配置文件
vim ~/.vnc/xstartup

将xstartup文件更改为如下

#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &

重新启动vncserver

上一篇 下一篇

猜你喜欢

热点阅读