5

How to Enable VNC+xfce on Ubuntu16

 3 years ago
source link: https://happy123.me/blog/2021/05/17/how-to-enable-vnc-plus-xfce-on-ubuntu16/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How to Enable VNC+xfce on Ubuntu16

May 17th, 2021 | Comments

安装桌面环境和vncserver

sudo apt-get install xfce4 vnc4server

启动vncserver

vncserver

修改配置文件

vim ~/.vnc/xstartup


#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey

修改配置文件后,运行如下命令结束掉之前产生的窗口:1

vncserver -kill :1

用vnc client连接后,tab键自动补全用不了,可以进行如下设置

settings -> window manager -> keyboard -> switch window for same application -> clear

Posted by brain-zhang

May 17th, 2021linux, tools

« Linux下块设备缓存Bcache设置 How to become superuser on Ubuntu Linux »


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK