Xorg log: "X: client rejected ..."
Hello
Im not too sure whether this thread should be placed in the network forum, but here goes: When running an X server on 172.16.0.5: Code:
X :1 Code:
$ xterm -display 172.16.0.5:1 Code:
AUDIT: Sat Aug 27 17:34:45 2005: 3681 X: client 1 rejected from IP 172.16.0.2 BTW: All this might be caused by the fact that I was fiddling around endlessly trying to get xdm+xdmcp working. It still isn't, I can't even login from localhost via xdm! I think the above problem should be fixed before attampting to fix xdm, is this true? |
Look at the xhost command (read man xhost), which allows you to set connection permissions to the X server.
|
Thanks,
I've tried xhost before but without success. After another try it seems it only alters the permissions when there is atleast one client attached to the server (such as xterm). When there is nothing attached to the X server, I can run xhost, but the screen flickers and the permissions are back to default. Am I correct? and why isnt this in the manual if I am? |
Assuming you have telnet or ssh'ed to 172.16.0.2
1. type export DISPLAY=172.16.0.5:0 this tells any xwindows programs you run in this session to redirect output to your 172.16.0.5 xwindows server. 2. Back on the xwindows server (172.16.0.5) ,make sure xwindows is running. edit /etc/X11/xdm/Xaccess and uncomment the line #* #any host can get a login windows (save the file) then type xhost 172.16.0.2 this will set some security (not much) and let the xserver accept program output from 172.16.0.2 . It has to talk to a running xserver, and the settings are lost when the session is over. 3. now back on 172.16.0.2 in your session where you just typed the export statement, try running somthing eg startkde & it should work now. (it works for me running an xserver via cygwin on a windows pc, running the xprograms on a linux pc.) Regards, Tim |
All times are GMT -5. The time now is 06:24 PM. |