On Fri, Oct 12, 2001 at 08:57:19AM -0400, Stan Brown wrote: | I have a debian potato machine, upgraded with teh Progeny stuff, and the | 2.4.9 kernel. I'm runing XFree86$. During the install a rference came up | about editing /etc/X11/xinit/xinitrc to allow the X server to listen on a | TCP port, so that remote X apps could display on this amchine. | | I thought I did this corectly, and I have dome xhost +, but I still cannot | get remote X apps to display. The error out, saying the can't get per | session information. | | Sugestiosn?
Undo what you just did, then 'apt-get install ssh'. The reason is if X is listening to a TCP port itself, then it is sending unencrypted display data across the network and anyone with a packet sniffer can read it. Instead use the X forwarding feature of ssh to cause the display stream to be forwarded to the X server over the encrypted ssh connection. In addition, it sets up the DISPLAY environment and everything else for you. HTH, -D