xserver won't listen
I have i810 graphics on a Pentium III machine.
I just upgraded to X 4.0.3 using:
ii xbase-clients 4.0.3-4 miscellaneous X clients
ii xfonts-100dpi 4.0.3-4 100 dpi fonts for X
ii xfonts-base 4.0.3-4 standard fonts for X
ii xfonts-pex 4.0.3-3 fonts for minimal PEX support in X
ii xfree86-common 4.0.3-3 X Window System (XFree86) infrastructure
ii xlib6g 4.0.3-4 pseudopackage providing X libraries
ii xlibs 4.0.3-4 X Window System client libraries
ii xserver-common 4.0.3-4 files and utilities common to all X servers
ii xserver-xfree8 4.0.3-4 the XFree86 X server
ii xutils 4.0.3-4 XFree86 utility programs
Running kernel 2.2.19, the server fails to start. The log file says:
...
(WW) Cannot open APM
...
(--) I810(0): Chipset: "i810e"
(--) I810(0): Linear framebuffer at 0xF4000000
(--) I810(0): IO registers at addr 0xFF000000
(WW) AGPIOC_ACQUIRE failed (Inappropriate ioctl for device)
(EE) GARTInit: AGPIOC_INFO failed (Inappropriate ioctl for device)
(**) I810(0): Will alloc AGP framebuffer: 8192 kByte
(==) I810(0): Using gamma correction (1.0, 1.0, 1.0)
(II) I810(0): Generic Monitor: Using hsync range of 31.00-62.00 kHz
(II) I810(0): Generic Monitor: Using vrefresh range of 55.00-90.00 Hz
(II) I810(0): Clock range: 12.00 to 136.00 MHz
...
The "inappropriate ioctl" suggests the server is out of sync with the
agpgart driver, so I upgraded the kernel to 2.4.4
Now, X windows is running fine locally, but processes on other
machines cannot connect to the server. For example, Emacs on another
machine prints this message:
$ emacs
emacs: Cannot connect to X server vanzandt-pc:0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.
I *have* run "xhost +theremotehost", as confirmed by xhost's report:
$ xhost
access control enabled, only authorized clients can connect
INET:theremotehost.mydomain.org
Judging from another machine with a working X server, the server
should be listening on TCP port 6000:
theremotehost:~$ grep X11 /etc/services
x-server 6000/tcp # X11 window system
theremotehost:~$ netstat -a|grep -A2 -B2 'x-server.*LISTEN'
tcp 0 0 *.22 *.* LISTEN
tcp 0 0 *.1033 *.* LISTEN
tcp 0 0 *.x-server *.* LISTEN
tcp 0 0 *.1711 *.* LISTEN
tcp 0 0 *.2347 *.* LISTEN
theremotehost:~$ netstat -an|grep -A2 -B2 '6000.*LISTEN'
tcp 0 0 *.22 *.* LISTEN
tcp 0 0 *.1033 *.* LISTEN
tcp 0 0 *.6000 *.* LISTEN
tcp 0 0 *.1711 *.* LISTEN
tcp 0 0 *.2347 *.* LISTEN
However, nothing on the Linux box is listening on that port:
$ netstat -am|grep -A2 -B2 '6.*LISTEN'
tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:37 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5865 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:9 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:748 0.0.0.0:* LISTEN
I don't have any packet filters configured. (All the machines I'm
concerned with are in the same LAN behind a firewall.)
I have not found anything relevant in the xserver-xfree86 bug reports,
the X, Xsecurity, or xdm man pages, or in the configuration files
under /etc/X11. I would appreciate any suggestions.
- Jim Van Zandt
Reply to: