解决Windows用vnc连接Ubuntu时出现The connection was refused by the host computer问题
来源:互联网 发布:知乎 电脑下载 编辑:程序博客网 时间:2024/05/18 03:53
问题情境:
项目服务器为Ubuntu,为了方便管理,使用vnc远程连接Ubuntu,在Ubuntu上并没有什么特殊设置,好像Ubuntu自带了vnc的相关软件,好像叫vino-什么的,反正没有详细看,然后安装了dconf-editor,这个网上有很多教程,总之配置好了之后,我在Windows上安装了vnc直接就可以远程连接Ubuntu了。但是使用了一段时间之后突然出现了这个问题The connection was refused by the host computer,一番搜索之后终于解决。
直接在shell上输入:
echo $DISPLAYexport DISPLAY=:0dbus-launch --exit-with-session gsettings set org.gnome.Vino enabled truedbus-launch --exit-with-session gsettings set org.gnome.Vino prompt-enabled falsedbus-launch --exit-with-session gsettings set org.gnome.Vino require-encryption false/usr/lib/vino/vino-server
就可以了。
参考文章连接:http://askubuntu.com/questions/304017/how-to-set-up-remote-desktop-sharing-through-ssh
0 0
- 解决Windows用vnc连接Ubuntu时出现The connection was refused by the host computer问题
- VNC Viewer:The connection was refused by host computer
- secureCRT连接ubuntu问题- The remote system refused the connection
- secureCRT连接ubuntu问题- The remote system refused the connection
- secureCRT连接ubuntu问题- The remote system refused the connection
- secureCRT连接ubuntu问题- The remote system refused the connection
- 【排障】nagios出现问题connection refused by host
- 解决The connection was refused when attempting to contact localhost
- SecureCRT远程登陆Ubuntu出现 The remote system refused the connection.
- SecureCRT连接ubuntu提示The remote system refused the connection.
- secureCRT连接ubuntu有关问题- The remote system refused the connection
- 解决SecureCRT SSH连接时提示 The remote system refused the connection.
- SSH连接Ubuntu虚拟机失败:The remote system refused connection
- svn: E175002 connection refused by the server
- svn: connection refused by the server
- 使用secureCRT连接linux虚拟机时出现“The remote system refused the connection.”
- 使用SecureCRT连接CentOS虚拟机出现The remote system refused the connection
- SecureCRT连接Ubuntu报The remote system refused the connection.解决方案
- 低电压检测
- P1309瑞士轮
- 14.4.1 Buffer Pool
- Android Studio错误: 非法字符: '\ufeff' 需要class, interface或enum
- Java Web中遇到中文编码乱码问题
- 解决Windows用vnc连接Ubuntu时出现The connection was refused by the host computer问题
- 【JS】实现单选框的左右移动
- Java调用matlab
- 对称加密和非对称加密
- Linux内核源码分析-安装实际根文件系统- prepare_namespace
- mysql-mmm架构深度详解
- 业务逻辑层接口设计
- jquery 仿锚点跳转到页面指定位置
- 浅谈Android Studio 中Gradle的使用方法