CentOS和Window互相远程桌面方法
来源:互联网 发布:新手摄影后期制作软件 编辑:程序博客网 时间:2024/06/05 16:05
Windows远程CentOS桌面
1.VNC
服务器配置
1) 安装vncserver
[plain] view plain copy
yum install -y vnc-server
2) 修改配置
[plain] view plain copy
vi /etc/sysconfig/vncservers
最后两行去#,并分别设置如下
Line1: "1:username"
Line2: "... 1024*768 ..."
3) 设置密码
[plain] view plain copy
vncserver
4) 修改防火墙
[plain] view plain copy
vi /etc/sysconfig/iptables
添加-A INPUT -m state --state NEW -m tcp -p tcp -dport 5901 -j ACCEPT
5) 重启防火墙服务
[plain] view plain copy
service iptables restart
6) 重启vnc服务
[plain] view plain copy
service vncserver restart
7) ping [客户端ip]
验证连通性
客户端配置
1) 打开vnc客户端,输入ip:5901
2) 输入密码
Linux远程Windows桌面
1.rdesktop
客户端配置
1) 安装rdesktop
[plain] view plain copy
yum install -y rdesktop
2) 使用rdesktop命令连接到win桌面
[plain] view plain copy
rdesktop -a 16 x.x.x.x:3389 -u username -p password -f
服务器配置
1) 开启远程访问
2) 取消防火墙拦截
1.VNC
服务器配置
1) 安装vncserver
[plain] view plain copy
yum install -y vnc-server
2) 修改配置
[plain] view plain copy
vi /etc/sysconfig/vncservers
最后两行去#,并分别设置如下
Line1: "1:username"
Line2: "... 1024*768 ..."
3) 设置密码
[plain] view plain copy
vncserver
4) 修改防火墙
[plain] view plain copy
vi /etc/sysconfig/iptables
添加-A INPUT -m state --state NEW -m tcp -p tcp -dport 5901 -j ACCEPT
5) 重启防火墙服务
[plain] view plain copy
service iptables restart
6) 重启vnc服务
[plain] view plain copy
service vncserver restart
7) ping [客户端ip]
验证连通性
客户端配置
1) 打开vnc客户端,输入ip:5901
2) 输入密码
Linux远程Windows桌面
1.rdesktop
客户端配置
1) 安装rdesktop
[plain] view plain copy
yum install -y rdesktop
2) 使用rdesktop命令连接到win桌面
[plain] view plain copy
rdesktop -a 16 x.x.x.x:3389 -u username -p password -f
服务器配置
1) 开启远程访问
2) 取消防火墙拦截
阅读全文
0 0
- CentOS和Window互相远程桌面方法
- CentOS和Window互相远程桌面方法
- CentOS和Windows互相远程桌面方法
- CentOS和Windows互相远程桌面方法
- Window&os7互相远程桌面
- Windows和Linux互相访问远程桌面
- Windows和Linux互相访问远程桌面(图)
- Windows和Linux互相访问远程桌面
- Windows和Linux互相访问远程桌面
- Windows 和 Linux 互相访问远程桌面
- Windows和Linux互相访问远程桌面
- Windows和Linux互相访问远程桌面
- Windows和Linux互相访问远程桌面
- [转载]在Window下使用VNC远程桌面CentOS/Redhat
- 局域网中linux和window互相访问共享文件夹的方法
- CentOS远程桌面
- VPS安装和访问CentOS 7远程桌面
- 远程桌面无法互相拷贝文件
- leetcode 442. Find All Duplicates in an Array
- 华为机试: 计算字符串的相似度、输入一行字符,分别统计出包含英文字母、空格、数字和其它字符的个数
- GET和POST
- 阿里巴巴最新面试经验
- Android零基础入门第29节:善用TableLayout表格布局,事半功倍
- CentOS和Window互相远程桌面方法
- React 实践项目 (四)
- Pycharm加载多个工程
- JavaScript进阶:隐性的类型转化
- bootstrap的treeview使用
- 巨头思科生死迷:错失重要时机 辉煌皆成尘土
- 平衡二叉树
- jieba分词词性标注含义
- BOM