linux 用root用户通过xmanager连接配置 ,修改/etc/gdm/(ubuntu下是/etc/gdm/-custom,不用vi编辑器可以在终端输入sudo gnome-open /命令,这样就可以在图形界面对文件有修改权限了),在[security]下添加DisallowTCP=false 在[xdmcp]下添加Enable=1保存后重新启动。回到windows主机,开始/程序/xmanager/xbrowser,输入用户名和密码就可以登陆了。 一、XMANAGER 连接到REDHAT AS 5 需要修改的地方。 rhel5与rhel4不同的地方是,rhel5裡没有/etc/X11/gdm/这个目录,rhel5的gdm的配置文件放在这裡/usr/share/gdm/f,这一点可能是困扰大家的地方。 在/usr/share/gdm/: Enable=true DisplaysPerHost=10 Port=177 在/etc/inittab裡把默认级别改為5: id:5:initdefault: 然后重啟系统。然后在windows系统上运行xmanager2裡的Xbrowser程序,在裡面新建一个Xmanager Session,在Host这裡输入ip地址,其它配置都不要改变(包括端口号),确定退出。然后双击这个New Xmanager Session,看到登录界面: 二、如果允许Root用户连接到XMANAGER 需要修改以下内容: # vi [security] # Allow root to login. It makes sense to turn this off for kiosk use, when # you want to minimize the possibility of break in. AllowRoot=true # Allow login as root via XDMCP. This value will be overridden and set to # false if the /etc/default/login file exists and contains # "CONSOLE=/dev/login", and set to true if the /etc/default/login file exists # and contains any other value or no value for CONSOLE. AllowRemoteRoot=true # This will allow remote timed login. AllowRemoteAutoLogin=false # 0 is the most restrictive, 1 allo #vi /etc/securetty ...... tty2 tty3 tty4 tty5 tty6 tty7 tty8 tty9 tty10 tty11 pts/0 pts/1 pt
linux 用root用户通过xmanager连接配置 来自淘豆网m.daumloan.com转载请标明出处.