I'm trying to get xdmcp access from an suse-9.0 to a suse-9.2 system. I do not succeed and wonder why... On the 9.2 (destination) box the following settings are made: in /etc/sysconf/displaymanager DISPLAYMANAGER_REMOTE_ACCESS="yes" DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes" DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes" In /etc/X11/xdm/Xservers and /opt/kde3/share/config/kdm/Xservers: :0 local /usr/X11R6/bin/X -br vt7 :1 local reserve /usr/X11R6/bin/X -br :1 vt8 :2 local reserve /usr/X11R6/bin/X -br :2 vt9 :3 local reserve /usr/X11R6/bin/X -br :3 vt10 :4 local reserve /usr/X11R6/bin/X -br :4 vt11 :5 local reserve /usr/X11R6/bin/X -br :5 vt12 With those settings I expect xdcmp to work, but no.... Oh the command I use on the from box is: X -query 192.168... :1 vt08 shows the grey X background and I can move the mouse, but that's about it. After some time the X times out.... Anything I can try? -- Richard Bos Without a home the journey is endless
On Saturday, 6 November 2004 23.34, Richard Bos wrote:
I'm trying to get xdmcp access from an suse-9.0 to a suse-9.2 system. I do not succeed and wonder why...
On the 9.2 (destination) box the following settings are made: in /etc/sysconf/displaymanager DISPLAYMANAGER_REMOTE_ACCESS="yes" DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes" DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes"
That last one isn't needed on the xdm machine. In fact, you don't even have to have an X server installed Did you run SuSEconfig after changing those? Did it take effect? Make sure there isn't an "kdmrc.SuSEconfig" in /etc/opt/kde3/share/config/kdm/
In /etc/X11/xdm/Xservers and /opt/kde3/share/config/kdm/Xservers: :0 local /usr/X11R6/bin/X -br vt7 :1 local reserve /usr/X11R6/bin/X -br :1 vt8 :2 local reserve /usr/X11R6/bin/X -br :2 vt9 :3 local reserve /usr/X11R6/bin/X -br :3 vt10 :4 local reserve /usr/X11R6/bin/X -br :4 vt11 :5 local reserve /usr/X11R6/bin/X -br :5 vt12
These are all local servers. For serving remote servers (damn I hate the X terminology :), you need to look at the [Xdmcp] section in /etc/opt/kde3/share/config/kdm/kdmrc. It needs to have "Enable=true" (I'm guessing you're using kdm here, since it's the SuSE default)
With those settings I expect xdcmp to work, but no.... Oh the command I use on the from box is: X -query 192.168... :1
vt08 shows the grey X background and I can move the mouse, but that's about it. After some time the X times out.... Anything I can try?
Make sure there isn't a firewall running on the 9.2 machine blocking port 177 (udp, I *think*), and that there isn't a firewall on the local machine blocking port 6001 Also, if the 9.0 machine has multiple IP addresses, make sure X is using one that xdm can contact
Op zaterdag 6 november 2004 23:50, schreef Anders Johansson:
On Saturday, 6 November 2004 23.34, Richard Bos wrote:
I'm trying to get xdmcp access from an suse-9.0 to a suse-9.2 system. I do not succeed and wonder why...
On the 9.2 (destination) box the following settings are made: in /etc/sysconf/displaymanager DISPLAYMANAGER_REMOTE_ACCESS="yes" DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes" DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes"
That last one isn't needed on the xdm machine. In fact, you don't even have to have an X server installed
Did you run SuSEconfig after changing those? Did it take effect? Make sure there isn't an "kdmrc.SuSEconfig" in /etc/opt/kde3/share/config/kdm/
I ran SuSEconfig indeed, and there is no kdmrc.SuSEconfig in the directory mentioned above.
In /etc/X11/xdm/Xservers and /opt/kde3/share/config/kdm/Xservers: :0 local /usr/X11R6/bin/X -br vt7 :1 local reserve /usr/X11R6/bin/X -br :1 vt8 :2 local reserve /usr/X11R6/bin/X -br :2 vt9 :3 local reserve /usr/X11R6/bin/X -br :3 vt10 :4 local reserve /usr/X11R6/bin/X -br :4 vt11 :5 local reserve /usr/X11R6/bin/X -br :5 vt12
These are all local servers. For serving remote servers (damn I hate the X terminology :), you need to look at the [Xdmcp] section in /etc/opt/kde3/share/config/kdm/kdmrc. It needs to have "Enable=true" (I'm guessing you're using kdm here, since it's the SuSE default)
I use kdm indeed and Enable is indeed set to true...
With those settings I expect xdcmp to work, but no.... Oh the command I use on the from box is: X -query 192.168... :1
vt08 shows the grey X background and I can move the mouse, but that's about it. After some time the X times out.... Anything I can try?
Make sure there isn't a firewall running on the 9.2 machine blocking port 177 (udp, I *think*), and that there isn't a firewall on the local machine blocking port 6001
Also, if the 9.0 machine has multiple IP addresses, make sure X is using one that xdm can contact
I have an ethereal trace, it shows the xdmcp willing, request, accept and twice an manage message... May it have to do with X-4... versus X-6...? -- Richard Bos Without a home the journey is endless Internet Protocol, Src Addr: 192.168.4.5 (192.168.4.5), Dst Addr: 192.168.4.3 (192.168.4.3) User Datagram Protocol, Src Port: xdmcp (177), Dst Port: 33403 (33403) Source port: xdmcp (177) Destination port: 33403 (33403) Length: 56 Checksum: 0xcbe4 (correct) X Display Manager Control Protocol Version: 1 Opcode: Willing (0x0005) Message length: 42 Authentication name: Hostname: linux Status: 2 users, load: 0.02, 0.09, 0.15 Internet Protocol, Src Addr: 192.168.4.3 (192.168.4.3), Dst Addr: 192.168.4.5 (192.168.4.5) X Display Manager Control Protocol Version: 1 Opcode: Request (0x0007) Message length: 81 Display number: 2 Connections (1) Connection 1: 192.168.4.3 Type: Internet Address: 192.168.4.3 Authentication name: Authentication data (0 bytes) Authorization names (3) Authorization name: MIT-MAGIC-COOKIE-1 Authorization name: XDM-AUTHORIZATION-1 Authorization name: XC-QUERY-SECURITY-1 Manufacturer display ID: Type: IP (0x0800) Internet Protocol, Src Addr: 192.168.4.5 (192.168.4.5), Dst Addr: 192.168.4.3 (192.168.4.3) User Datagram Protocol, Src Port: xdmcp (177), Dst Port: 33403 (33403) Source port: xdmcp (177) Destination port: 33403 (33403) Length: 60 Checksum: 0xc584 (correct) X Display Manager Control Protocol Version: 1 Opcode: Accept (0x0008) Message length: 46 Session ID: 0x02710003 Authentication name: Authentication data (0 bytes) Authorization name: MIT-MAGIC-COOKIE-1 Authorization data (16 bytes) Internet Protocol, Src Addr: 192.168.4.3 (192.168.4.3), Dst Addr: 192.168.4.5 (192.168.4.5) User Datagram Protocol, Src Port: 33403 (33403), Dst Port: xdmcp (177) Source port: 33403 (33403) Destination port: xdmcp (177) Length: 37 Checksum: 0xc9f2 (correct) X Display Manager Control Protocol Version: 1 Opcode: Manage (0x000a) Message length: 23 Session ID: 0x02710003 Display number: 2 Display class: MIT-unspecified Internet Protocol, Src Addr: 192.168.4.3 (192.168.4.3), Dst Addr: 192.168.4.5 (192.168.4.5) User Datagram Protocol, Src Port: 33403 (33403), Dst Port: xdmcp (177) Source port: 33403 (33403) Destination port: xdmcp (177) Length: 37 Checksum: 0xc9f2 (correct) X Display Manager Control Protocol Version: 1 Opcode: Manage (0x000a) Message length: 23 Session ID: 0x02710003 Display number: 2 Display class: MIT-unspecified
On Sunday 07 November 2004 22:36, Richard Bos wrote:
Op zaterdag 6 november 2004 23:50, schreef Anders Johansson:
That last one isn't needed on the xdm machine. In fact, you don't even have to have an X server installed
Did you run SuSEconfig after changing those? Did it take effect? Make sure there isn't an "kdmrc.SuSEconfig" in /etc/opt/kde3/share/config/kdm/
I ran SuSEconfig indeed, and there is no kdmrc.SuSEconfig in the directory mentioned above. <snip> I use kdm indeed and Enable is indeed set to true...
With those settings I expect xdcmp to work, but no.... Oh the command I use on the from box is: X -query 192.168... :1
vt08 shows the grey X background and I can move the mouse, but that's about it. After some time the X times out.... Anything I can try?
Make sure there isn't a firewall running on the 9.2 machine blocking port 177 (udp, I *think*), and that there isn't a firewall on the local machine blocking port 6001
Also, if the 9.0 machine has multiple IP addresses, make sure X is using one that xdm can contact
I have an ethereal trace, it shows the xdmcp willing, request, accept and twice an manage message... May it have to do with X-4... versus X-6...?
It shouldn't have, I haven't tested it but if connections between XFree and x.org break it's a bug. Nothing changed in the protocol Make sure firewalls on both machines are accepting connections. Remember there are two connections being made in xdmcp: one from the local machine to port 177/udp on the remote, and one from the remote to port 6000+<server number>/tcp on the local (so in your example, with server number :1, it would be tcp port 6001 on your local machine)
On Saturday 06 November 2004 23:34, Richard Bos wrote:
I'm trying to get xdmcp access from an suse-9.0 to a suse-9.2 system. I do not succeed and wonder why...
On the 9.2 (destination) box the following settings are made: in /etc/sysconf/displaymanager DISPLAYMANAGER_REMOTE_ACCESS="yes" DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes" DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes"
In /etc/X11/xdm/Xservers and /opt/kde3/share/config/kdm/Xservers: :0 local /usr/X11R6/bin/X -br vt7 :1 local reserve /usr/X11R6/bin/X -br :1 vt8 :2 local reserve /usr/X11R6/bin/X -br :2 vt9 :3 local reserve /usr/X11R6/bin/X -br :3 vt10 :4 local reserve /usr/X11R6/bin/X -br :4 vt11 :5 local reserve /usr/X11R6/bin/X -br :5 vt12
With those settings I expect xdcmp to work, but no.... Oh the command I use on the from box is: X -query 192.168... :1
vt08 shows the grey X background and I can move the mouse, but that's about it. After some time the X times out.... Anything I can try?
I tried that once with a fellow in the USA, but did not succeed, on the local net it works. Perhaps an easier (and faster) solution is to use knx/NX/FreeNX? If you really want to try this, I could lend you a hand if you like. If it does not work with kdm, or gdm, you should try xdm. That usually does work. /etc/sysconfig/displaymanager: DISPLAYMANAGER_REMOTE_ACCESS="yes" and perhaps: /etc/sysconfig/displaymanager: DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes" but _read_ the comment. Cheers, Leen
participants (3)
-
Anders Johansson
-
Leendert Meyer
-
Richard Bos