problems running xhost with no windows or desktop manager
i installed red hat 9 on a desktop computer and i need to get the X loading automaticaly and do an autologin with a specific account but without running anything else (like windows manager or desktop manager) except for the command "xhost +", so basicly what i'll have is a clean X screen that enables anyone to "throw" their display on to it.
i tried to create a startup script such as the following:
setenv DISPLAY :0
su - username
what happend was that the X is now up, i also got the "access control disabled" from the xhost, but when i run the command "xhost" it says "access control enabled".
for some reason the xhost command does not save the current configuration and is always stuck on enabled. the only way to get it to stay is by opening a term window in the X and running the command there, but even then the access control remains disabled as long as the term window is open (which is not good for me). once i close it the access control returns to enabled.
another problem i have with the xhost is that whenever i run the command (no matter what arguments i add) it always pops the display where the X is running.
if anyone has ever encounterd any of this problems or has a better way of doing this, let me know.