设置vnc debian方式

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了设置vnc debian方式相关的知识,希望对你有一定的参考价值。

This is based upon a debian guide, it seems to work well for ubuntu as well, all these steps can be performed via remote ssh (no need to access the machine).
  1. $ sudo apt-get install vnc4server
  2. # the following will require a password setup
  3. $ vnc4server -geometry 1024x768 -depth 24
  4. # the following will output something like New 'Hostname:1 (user)' desktop is Tethys:1
  5. $ vnc4server
  6.  
  7. # Now all that is left is to add to ~/.vnc/xstartup, the following
  8. # The rest is the same
  9. # add the following which creates a gnome-session on startup
  10. gnome-session

以上是关于设置vnc debian方式的主要内容,如果未能解决你的问题,请参考以下文章

Debian系列-安装VNC

debian远程VNC桌面链接。详细教程,在网上找了很多,但是不对

debian9 X11vnc

Debian9.5解决在root用户下启用VNC后lightdm+Xfce4只能使用root登录,其他用户无法登陆

debian修改apn

vnc viewer链接UNIX后,为啥上下键会控制终端窗口的大小