windows 用X11VNC远程连接ubuntu
2013-06-13 09:50
459 查看
In Ubuntu install and setup x11vnc server:
Open up a terminal from the dash or press Ctrl+Alt+T.
1. Install x11vnc in ubuntu via command:
sudo apt-get install x11vnc
2. Set vnc password and it’ll be encrypted and saved in ~/.vnc/passwd:
x11vnc -storepasswd
3. Start vnc server:
x11vnc -forever -shared -rfbauth ~/.vnc/passwd
NOTE: If you connect from outside local network, get the Ubuntu’s global ip, and on your router, setup your connection via DMZ. Once you are able to establish a connection, put on all the security like firewalls.
If you want this VNC Server auto-start at login, do following steps:
1. Copy and paste password file to /etc/ directory:
sudo cp ~/.vnc/passwd /etc/x11vnc.pass
2. create and edit file /etc/init/x11vnc.conf via
sudo gedit /etc/init/x11vnc.conf
copy and paste following and save the file.
start on login-session-start
script
x11vnc -display :0 -auth /var/run/lightdm/root/:0 -forever -bg -o /var/log/x11vnc.log -rfbauth /etc/x11vnc.pass -rfbport 5900
end script
3. reboot.
使用:
打开vnc viewer
Open up a terminal from the dash or press Ctrl+Alt+T.
1. Install x11vnc in ubuntu via command:
sudo apt-get install x11vnc
2. Set vnc password and it’ll be encrypted and saved in ~/.vnc/passwd:
x11vnc -storepasswd
3. Start vnc server:
x11vnc -forever -shared -rfbauth ~/.vnc/passwd
NOTE: If you connect from outside local network, get the Ubuntu’s global ip, and on your router, setup your connection via DMZ. Once you are able to establish a connection, put on all the security like firewalls.
If you want this VNC Server auto-start at login, do following steps:
1. Copy and paste password file to /etc/ directory:
sudo cp ~/.vnc/passwd /etc/x11vnc.pass
2. create and edit file /etc/init/x11vnc.conf via
sudo gedit /etc/init/x11vnc.conf
copy and paste following and save the file.
start on login-session-start
script
x11vnc -display :0 -auth /var/run/lightdm/root/:0 -forever -bg -o /var/log/x11vnc.log -rfbauth /etc/x11vnc.pass -rfbport 5900
end script
3. reboot.
使用:
打开vnc viewer
相关文章推荐
- Ubuntu 安装MySQL数据库,Windows 安装MySQL WorkBench进行远程管理,Django远程连接 手记
- Ubuntu Windows 远程桌面连接图文解说
- Ubuntu 安装Postgres数据库,Windows 安装PgAdmin进行远程管理,Django远程连接 手记
- 利用virtual box 自带remote display 实现windows 远程桌面连接ubuntu
- Ubuntu下用rdesktop远程连接Windows
- windows远程连接Ubuntu12.04 (Ubuntu14.0连接方式不一样)
- windows操作系统与ubuntu之间的远程桌面连接
- 远程连接windows-ubuntu
- Ubuntu 开启 SSH服务,并实现远程windows 主机 SecureCRT连接
- 如何在本地 windows mysql 的 workbench 远程连接腾讯云 ubuntu 主机的 mysql 数据库
- 在windows上通过Xshell远程连接虚拟机上ubuntu server的jupyter配置方法
- Windows远程连接Ubuntu (远程桌面和XDMCP)
- windows 通过vnc远程连接Ubuntu
- Ubuntu下配置Tomcat服务器 mysql数据库并在windows中使用sqlyog 远程连接
- remote desktop connect btw Mac, Windows, Linux(Ubuntu) Mac,Windows,Linux之间的远程桌面连接
- Ubuntu 安装Postgres数据库,Windows 安装PgAdmin进行远程管理,Django远程连接 手记
- Windows下使用远程桌面连接阿里云ubuntu 16.04服务器
- windows下通过VNC客户端软件远程连接Ubuntu14.04的桌面共享服务
- ubuntu远程连接windows(rdesktop)
- Windows远程连接Ubuntu(SSH)