Linux 開啟 Xbrowser 視覺化操作介面
阿新 • • 發佈:2019-02-18
1.修改/etc/sysconfig/displaymanager
DISPLAYMANAGER_REMOTE_ACCESS="yes"
DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes"
DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes"
2.相應的配置檔案/etc/gdm/custom.conf也會更改成如下樣子
# GDM configuration storage
[xdmcp]
# SuSEconfig: displaymanager:DISPLAYMANAGER_REMOTE_ACCESS
Enable=true
Port=177
[chooser]
[security]
# SuSEconfig: displaymanager:~DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN
DisallowTCP=false
# SuSEconfig: displaymanager:DISPLAYMANAGER_ROOT_LOGIN_REMOTE
AllowRemoteRoot=true
[debug]
3.然後,更改/etc/X11/xdm/xdm-config,登出掉這一行(在起點加一個!)
! DisplayManager.requestPort: 0
4.重啟xdm
# /etc/init.d/xdm restart
#rcxdm restart
DISPLAYMANAGER_REMOTE_ACCESS="yes"
DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes"
DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes"
2.相應的配置檔案/etc/gdm/custom.conf也會更改成如下樣子
# GDM configuration storage
[xdmcp]
# SuSEconfig: displaymanager:DISPLAYMANAGER_REMOTE_ACCESS
Enable=true
Port=177
[chooser]
[security]
# SuSEconfig: displaymanager:~DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN
DisallowTCP=false
# SuSEconfig: displaymanager:DISPLAYMANAGER_ROOT_LOGIN_REMOTE
AllowRemoteRoot=true
[debug]
3.然後,更改/etc/X11/xdm/xdm-config,登出掉這一行(在起點加一個!)
! DisplayManager.requestPort: 0
4.重啟xdm
# /etc/init.d/xdm restart
#rcxdm restart