2024年4月4日发(作者:)
用Xmanager远程控制LINUX、UNIX系统X界面
从WINDOWS平台用Xmanager实现对LINUX,AIX等系统的控制,LINUX下X界
面有GNOME(GDM)、KDE(XDM)、UNIX下X界面有CDE,GDM、XDM、CDE.
1. When I connect to UNIX by XDMCP, the CDE session hangs.
1.1. I cannot see the login window.
If you cannot see the login
window, you need additional fonts for the host. You can download and
install the fonts in your Unix server or you can set up a font server.
To run font server in host:
Run "xfs&".
Run "fsinfo -server host_IP_address:7100".
To configure Xmanager:
Start Xconfig in Xmanager2 folder.
Open the properties of the profile for the session.
Select Font tab.
Add Font Server.
Save the changes and run Xmanager.
Also,
one of the following reasons might prevent CDE connection to be made:
The Unix server is not located in the same subnet with your PC.
Your PC has multiple IP addresses.
Name server has an invalid name-to-ip or ip-to-name entry for your PC. Check the
forward and
reverse lookup tables.
See the /var/dt/Xerrors file for more detailed information.
1.2. The CDE login window shows up. After login, the session hangs or is terminated.
The $HOME/.dtprofile might have a line that prevents a successful login. You need to
try to comment
all commands out in the file. Also, remove the following lines in your login scripts.:
export DISPLAY=:0.0
or
setenv DISPLAY :0.0
For more detailed reasons, please see $HOME/.dt/errorlog.
以AIX5L为例,只要安装时选了图形界面,基本上可以连上CDE,不用做太多的
的改动,若不行检查一下进程,防火墙,端口等
2. XDMCP connection fails for Linux. How do I configure my Linux box?
How to configure Linux XDMCP(KDE/GNOME) settings for Xmanager
Affected Files
For runlevel: /etc/inittab
For GDM: /etc/X11/gdm/
For XDM: /etc/X11/xdm/xdm-config
/etc/X11/xdm/Xaccess
/etc/X11/xdm/kdmrc
/usr/share/kdm/kdmrc
/usr/share/config/kdm/kdmrc
/etc/opt/kde2/share/config/kdm/kdmrc
For Firewall: /etc/sysconfig/ipchains
Step 1. Change runlevel to enable gdm or kdm.
Open /etc/inittab file.
Change the runlevel to 5 as following:
id:5:initdefault:
Step 2. GDM configuration (When the Linux is using gdm)
若是以进程3登录的,又不想改成进程5图形登录,也可以在进去后动行
GDM(gnome)或XDM(KDE),启动GDM、XDM进程
Open /etc/X11/gdm/ file.
Go to the [xdmcp]section.
Set the value of "Enable" option to "1".
Step 3. KDM configuration (When the Linux is using kdm)
Open /etc/X11/xdm/xdm-config file.
Comment out "requestPort" option as following:
tPort: 0
==>
!tPort: 0
Open /etc/X11/xdm/Xaccess file.
Remove the initial "#" character for the following line:
#* #any host can get a login window
==>
* #any host can get a login window
Open /etc/X11/xdm/kdmrc,
发布评论