ubuntu 16.04 TLS 安装VNC
2024-09-05 04:36:01
安装
#autocuftsel 用于vnc两段的复制粘贴
sudo apt-get install autocutsel
安装 vncserver
sudo apt-get install --no-install-recommends vnc4server
安装 gnome2 桌面
sudo apt-get install --no-install-recommends ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal -y
重点:
修改 ~/.vnc/xstartup
vi ~/.vnc/xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
autocutsel -fork
vncconfig -iconic &
#x-terminal-emulator -geometry 80x24++ -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager & dbus-launch gnome-panel &
dbus-launch gnome-settings-daemon &
metacity &
nautilus &
dbus-launch gnome-terminal &
参考
https://blog.csdn.net/Lasper_csdn/article/details/88552706
https://askubuntu.com/questions/41273/how-to-copy-paste-text-from-remote-system
最新文章
- [LoadRunner]LR11安装或破解时报错的解决方法
- 初识React Native,踩坑之旅....
- IPcamera
- C#位运算讲解与示例2
- PPTP VPN 一键安装包(图文,OpenVZ适用)[zz]
- 【Android UI设计与开发】6.底部菜单栏(三)使用Fragment+PopupWindow仿QQ空间最新版底部菜单栏
- 使用AndroidStudio dump heap,再用 Eclipse MAT插件分析内存泄露
- 【windows核心编程】线程局部存储TLS
- 32位和64位dll判断
- 修改CMD命令窗口编码并保存方法
- tcp/ip协议listen函数中backlog參数的含义
- PHP将数据导出Excel表中(投机型)
- BotVS配置托管者-基于阿里云
- ASP.NET网页发布以及相关问题的解决
- 【转】判断点在多边形内(matlab)
- Linux系统编程----孤儿进程
- [OC] 富文本 AttributedString 以及 用富文本解析html文本
- windows 获取用户的Sid的方法
- 【VMware vSphere】详解VDP安装步骤
- ESET免费申请