`
shixiaomu
  • 浏览: 375229 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

使用xManager远程连接linux图形化界面

阅读更多
<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</script>

首先linux服务器要开通ssh,telnet服务。

修改 /etc/gdm/custom.conf,将 [xdmcp] 部分的 Enable 设置为 1,即:
[xdmcp]
Enable=true
Port=177

修改 /etc/gdm/custom.conf,将 [security] 部分的 DisallowTCP 设置为 false,即:
[security]
DisallowTCP=false

保存即可。

修改 /etc/inittab,将运行级别设置为5(默认是这样),即:
id:5:initdefault:

设定防火墙

其次xManager要设定好命令,IP。。。。。。。。

Host: 远程服务器IP地址
Protocol: SSH
输入username 和 passwd
Execution Command:
gnome-session --display=本地主机IP:0.0
点击 Run

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics