Xmanager Enterprise远程访问软件是不是必须在服务器端设置才可以连接?

[复制链接]
查看11 | 回复1 | 2006-12-21 16:46:15 | 显示全部楼层 |阅读模式
服务器REDHAT AS3
安装了Xmanager Enterprise后,在客户端填加了服务器IP等信息,在服务器端没有设置,却怎么不能连接到服务器的桌面系统,是不是必须要在服务器端设置呢?
在网上查了几篇文章,改了半天终于可以连上去了,但是不明白到底哪些地方是要必须设置的,修改的那些都是什么意思呢?
回复

使用道具 举报

千问 | 2006-12-21 16:46:15 | 显示全部楼层
http://www.netsarang.com/products/xmg_faq.html
Xmanager 2.0
要在服务器端开启XDMCP才行。。
1. When I connect to UNIX by XDMCP, the CDE session hangs.
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:
1. Run "xfs&".
2. Run "fsinfo -server host_IP_address:7100".
To configure Xmanager:
1. Start Xconfig in Xmanager2 folder.
2. Open the properties of the profile for the session.
3. Select Font tab.
4. Add Font Server.
5. 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.

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.

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/gdm.conf
For KDM:
/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.
1. Open /etc/inittab file.
2. Change the runlevel to 5 as following:
id:5:initdefault:
Step 2. GDM configuration (When the Linux is using gdm)
1. Open /etc/X11/gdm/gdm.conf file.
2. Go to the [xdmcp]section.
3. Set the value of "Enable" option to "1".
Step 3. KDM configuration (When the Linux is using kdm)
1. Open /etc/X11/xdm/xdm-config file.
2. Comment out "requestPort" option as following:
DisplayManager.requestPort: 0
==>
!DisplayManager.requestPort: 0
3. Open /etc/X11/xdm/Xaccess file.
4. Remove the initial "#" character for the following line:
#* #any host can get a login window
==>
* #any host can get a login window
5. Open /etc/X11/xdm/kdmrc,
/usr/share/config/kdm/kdmrc or
/etc/opt/kde2/share/config/kdm/kdmrc file.
6. Change the value of "Enable" option to "true".
Step 4. Firewall configuration (If the firewall has been configured)
1. Open /etc/sysconfig/ipchains file.
2. Add the following lines at the top of the file:
-A input -p udp -s 0/0 -d 0/0 177 -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 telnet -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 ssh -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 login -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 exec -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 shell -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 7100 -j ACCEPT
Step 5. Restart your Linux to activate the changes.

3. I try to connect to SUN Solaris using XDMCP, but I get the error message: "XDMCP Connection failed..."
In order to use XDMCP connection, the remote Sun server should be ready to accept xdmcp query.
You can do it in the following way.
1. login as a root
2. enable CDE login when system boot
$ /usr/dt/bin/dtconfig -e [enter]
3. reboot
If you want to disable the CDE setting, do the following:
$ /usr/dt/bin/dtconfig -d [enter]

4. I'm in the local network inside a NAT system. How can I connect to the remote host?
To run a remote xterm program, your IP address should be a public one that can be reached from the remote host because a remote xterm tries to connect to your local PC.
If your PC is located inside the firewall or NAT and the Unix host is located outside, X applications cannot connect to the Xmanager running on your PC.
There are two solutions on this situation:
1. By configuring port forwarding rules on the NAT system.
2. By using SSH protocol in the Xstart program.
The two solutions above are only for Xstart connection, not for XDMCP. XDMCP connection is not supported currently.
To use port forwarding, you should forward the port 6000 of NAT system to the port 6000 of your PC. In case of multiple local users, you can do the following steps:
(NAT, 6001) ==> (PC1, 6000)
(NAT, 6002) ==> (PC2, 6000)
...
(NAT, 6009) ==> (PC9, 6000)
Then, in the Xstart program, each user have to enter "-display" option like this:
/usr/bin/X11/xterm -ls -display $NATADDR:1

The value of "-display" option should be:

For PC1: $NATADDR:1
For PC2: $NATADDR:2
In case of using SSH connection, you do not have to configure other options. It establishes a secure tunnel between PC and Unix, so we recommend you to use SSH protocol if the Unix server supports it.

5. How can I set the firewall port mapping?
You should open the following UDP/TCP ports.
1. Inbound(incoming) TCP 6000 ~ 6010 for Xmanager
2. Outbound(outgoing) UDP 177 for XDMCP
3. Outbound(outgoing) TCP 512, 513, 514, 23, 22 for Xstart

6. I'm inside a firewall using IP masquerading. How can I connect to external Linux/Unix hosts?
To use Xstart with IP masquerading, please do the following steps:
1. run the following command as a root on your firewall server.
# ipmasqadm portfw -a -P tcp -L firewall_address 6010 -R PC_address 6000
2. run Xstart program.
3. enter the following command at Command field.
/usr/bin/X11/xterm -ls -display firewall_address:10.0
4. click the run button.
Be sure that, firewall_address and PC_address must be changed to the corresponding IP addresses on your own network.

7. How can I run a remote X application on my PC with a dynamic IP address?
If you want to start an X application such as xterm, first click Xstart icon in the Xmanager folder and set the command field as following:
"/usr/bin/X11/xterm -ls -display $DISPLAY"
In the protocol field, you should select a protocol supported by your remote Unix/Linux server.

8. How can I use Xmanager through SSH?
1. Run Xstart in the Xmanager folder.
2. Select SSH for Protocol.
3. Enter username, password, hostname, etc.
4. Type in Execution Command as following:
/usr/bin/X11/xterm -ls
Note that -display option is absent. SSH server will assign a proper value.
5. Click Save and Run button.
6. The Xstart will automatically run Xmanager and then execute the remote command.

9. When I open an xterm window, some characters are displayed incorrectly on the screen. Some (not all) capital letters looks like a small dot.
1. Run Xconfig program in the Xmanager2 folder.
2. Open the properties of the profile for the session.
3. Select Advanced tab.
4. Turn the Maximize performance option off.
5. Save the changes and run Xmanager.

10. I've lost my product key. Where can I find it?
In the Customer Service page, you can find your product key. Click here.


11. The Backspace key does not work in xterm from RedHat 7 host.
1. run Keyboard Editor in Xmanager folder.
2. open your keyboard file.
3. click the BackSpace key you are using.
4. change the keysym value as following:
Unshifted: BackSpace
Shifted: NoSymbol
ModeSwitch: NoSymbol
ShiftedModeSwitch: NoSymbol
5. save and restart Xmanager.

12. How can I configure firewall settings in Windows XP/2003?
Windows XP/2003 may block all incoming TCP/IP connections. So, Xmanager cannot be used without allowing its listening port.
Please do the following steps to enable Xmanager connection.:
1. Click Control Panel, Network and Internet Connections, and then Network Connections.
2. Right-click your Internet connection, and then click Properties.
3. Click Advanced tab in the Properties dialog box.
4. Click Settings and the Advanced Settings dialog box will open.
Now, you can allow TCP port 6000 ~ 6010 used by Xmanager.

13. Colors are not displayed correctly when I use 256-color CAD applications.
Some old X applications using 256-color visual cannot display colors correctly in the True color video device. Mostly, CAD applications such as Cadence, Mentor and CATIA have this problem.
You can configure 256-color emulation to fix this problem. In the Xconfig, change Default Visual and Backing Store options as following:

Default Visual: PseudoColor

Backing Store: When Mapped

These options will enable 256-color emulation feature in Xmanager.

14. Gnome terminal fails to open in RedHat 7.3.
The problem occurs due to the font used by gnome-terminal.
To fix this problem, configure xfs program and add the specific font server into the font list of Xconfig.
1. Comment the following line out in the file /etc/X11/fs/config.
#no-listen = tcp
2. Restart xfs process or reboot the system.
3. Open Xconfig utility.
4. Choose Font tab.
5. Click Add Font Server button.
6. In the Host box, enter the hostname or IP address of Linux.
7. In the Port box, enter 7100.
8. Restart Xmanager.
Make sure that the font server should be listed in the bottom of the font list.

15. Does Xmanager support Windows or Citrix terminal server?
Xmanager supports both Windows terminal server and Citrix MetaFrame server. To use Xmanager in those environment, please follow the guidelines below:
For XDMCP connection
1. Install Xmanager into the Windows or Citrix terminal server.
2. Run Xbrowser in each terminal client. Xbrowser is installed with Xmanager.
For Xstart session
Check Allocate display number automatically on in the Xstart Advanced Options dialog box.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行