mac 屏幕共享 gcp
connect vnc to google cloud Ubuntu/linux instance
VNC远程gnome界面连接谷歌云实例,
- make instace from google cloud,command as follows
//谷歌云先创建linux系统的实例 - sudo apt-get update
//更新 - sudo apt-get install ubuntu-desktop
//安装 - sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal vnc4server
- sudo ufw allow 5901:5910/tcp
- #vncserver //open vnc server
- cp /home/ u s e r / . v n c / x s t a r t u p / h o m e / user/.vnc/xstartup /home/ user/.vnc/xstartup/home/user/.vnc/xstartup.bak
- 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: - https://www.youtube.com/watch?v=-tZLB…
- https://medium.com/google-cloud/graph…
- https://www.tightvnc.com/