1、查看IP地址
2、ssh连接
提前安装putty
3、终端登录
账号 nuaa;密码 nuaa
4、打开远程连接显示
安装nano编辑器:
sudo apt-get install nano
安装vino:
sudo apt-get install vino
编辑 org.gnome.Vino:
sudo vi /usr/share/glib-2.0/schemas/org.gnome.Vino.gschema.xml
在最后部分添加以下内容:
Enable remote access to the desktop
If true, allows remote access to the desktop via the RFB
protocol. Users on remote machines may then connect to the
desktop using a VNC viewer.
false
compile the schemas for Gnome:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
启动 Vino-server:
./usr/lib/vino/vino-server
显示命令
/usr/lib/vino/vino-server --display=:0
5、登录VNC
6、分辨率修改
xrandr --fb 1280x720
常用命令
sudo apt-get install openssh-server -y
ip地址 ip addr
版本号 cat /etc/os-release
拷贝原源
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
cd /etc/apt/
sudo nano sources.list
中科大源
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic main restricted
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates main restricted
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security main restricted
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security multiverse
全面升级
sudo apt update
sudo apt-get full-upgrade
安装常用软件
sudo apt-get install htop screen nano
htop 查看系统运行状况
更新完后需要重启系统使更新的部分起作用
sudo reboot
来源:CSDN
作者:dejie_
链接:https://blog.csdn.net/weixin_44705275/article/details/104735778