实验linux是vmware上的rhel6.0,安装的是centos社区桌面,ip:192.168.31.223
,win设置的固定ip:192.168.31.166
,且远程ssh软件用的是SecureCRT
需要提前设置sshd_config
开放x11转发,以及在SecureCRT(会话选项里)上同样开放。
Xming
[root@ton ~]
[root@ton ~]
No protocol specified
[root@ton ~]#xeyes
No protocol specified
Error: Can't open display: 192.168.31.166:0.0
这里需运行XLaugch
,且最后一步配置,选No Access Control。
Xmanager
显示窗体程序
[root@ton ~]#xclock
#若出现 Warning: Missing charsets in String to FontSet conversion
#则 export LANG=C
xdm远程桌面
参考https://blog.51cto.com/nolinux/1330148
[root@ton ~]
*
[root@ton ~]
[security]
AllowRemoteRoot=true
[xdmcp]
Port=177
Enable=1
[greeter]
[root@ton ~]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
[root@ton ~]
udp 0 0 0.0.0.0:177 0.0.0.0:* 2016/gdm-binary
VNC
参考https://www.linuxidc.com/Linux/2015-12/126262.htm
目前是黑屏,待dbug
Centos6.X & RHEL6.X 安装桌面
1.前置环境
yum -y groupinstall 'X Window System'
2.桌面安装
yum -y groupinstall 'Desktop'
3.语言包
yum -y groupinstall "Chinese Support"
4.中文套件
编辑/etc/sysconfig/i18n,將 LANG="en_US.UTF-8" 改为 LANG="zh_CN.UTF-8"
如果空白 直接加入
LANG="zh_CN.UTF-8"
[root@ton ~]#yum grouplist
Loaded plugins: fastestmirror, refresh-packagekit
Setting up Group Process
Repository base is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Installed Groups:
Compatibility libraries
Desktop
Desktop Debugging and Performance Tools
Dial-up Networking Support
Fonts
General Purpose Desktop
Input Methods
KDE Desktop
MySQL Database client
MySQL Database server
Remote Desktop Clients
X Window System
linux间的远程桌面访问
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)