VNC远程桌面连接谷歌云实例
- 随手记
- 2022-12-04
- 39热度
- 0评论
connect vnc to google cloud Ubuntu/linux instance
VNC远程gnome界面连接谷歌云实例,
1. make instace from google cloud,command as follows
//谷歌云先创建linux系统的实例
2. sudo apt-get update
//更新
3. sudo apt-get install ubuntu-desktop
//安装
4. sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal vnc4server
5. sudo ufw allow 5901:5910/tcp
6. #vncserver //open vnc server
7. cp /home/$user/.vnc/xstartup /home/$user/.vnc/xstartup.bak
8. vim /home/$user/.vnc/vncstartup // modify the file in the video
like this://编辑如下内容
xsetroot -soild grey
vncconfig -iconic &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
9.sudo reboot
///how to open vnc?
# vncserver
# nc *.*.*.*(external Ip) 5901 //nc ip 5901
RFB 003.008 //it shows you success, next is use the vnc tools to connect your remote device
//显示成功
reference:
1. https://www.youtube.com/watch?v=-tZLB...
2. https://medium.com/google-cloud/graph...
3. https://www.tightvnc.com/