problems running xhost with no windows or desktop manager
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
problems running xhost with no windows or desktop manager
hi,
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:
------------------------
#!/bin/tcsh
setenv DISPLAY :0
/usr/bin/X11/X &
/usr/bin/X11/xhost +
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.