JumpServer 安装使用
环境: Ubuntu 20.04.3 LTS
必须使用 root账户执行命令
JumpServer 官方文档: https://docs.jumpserver.org/zh/master/install/setup_by_fast/
环境: Ubuntu 20.04.3 LTS
必须使用 root账户执行命令
JumpServer 官方文档: https://docs.jumpserver.org/zh/master/install/setup_by_fast/
环境:
Ubuntu 20.04.2 LTS Desktop
1.打开一个终端, 输入 dpkg --list
, 按下 Enter键, 终端输出以下内容, 显示的系统中安装的所有软件
$ dpkg --list
2.在终端中找到你需要卸载的软件的名称,列表是按照首字母排序的
3.在终端上输入命令 sudo apt-get --purge remove 包名
(--purge
是可选项, 写上这个属性是将软件及其配置文件一并删除, 如不需要删除配置文件, 可执行sudo apt-get remove 包名
)
此处我要删除的是 xrpd,那么在终端输入 sudo apt-get --purge remove xrdp
, 按下回车, 输入密码, 再次回车
卸载软件并删除配置文件
$ sudo apt-get --purge remove APP-NAME
如不需要删除配置文件
$ sudo apt-get remove APP-NAME
环境: Ubuntu 20.04.2 LTS Desktop
尝试修改环境变量,使用 sudo gedit /etc/profile
报错:
~$ sudo gedit /etc/profile
No protocol specified
Unable to init server: Could not connect: Connection refused
(gedit:4331): Gtk-WARNING **: 09:58:47.068: cannot open display: :10.0
** (gedit:4391): WARNING **: 10:11:05.322: Could not load theme icon text-x-generic: Icon 'text-x-generic' not present in theme Adwaita
环境: Ubuntu 20.04.2 LTS
使用 xrdp远程登录 Ubuntu,可能会出现弹框要求输入密码
描述信息一般是: