Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 10-25-2004, 01:58 PM   #1
LQ Newbie
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
Unhappy 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
/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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
keyboard and desktop manager problems nathanfrenk Linux - Newbie 3 09-23-2005 08:45 AM
everyones favourite windows manager (desktop) twistedrhymes Linux - General 5 06-29-2005 02:06 AM
Windows Manager vs. Desktop Environment RySk8er30 Mandriva 7 03-10-2005 11:58 AM
Running a Linux desktop on a Windows client using VNC spartanM19SSM Linux - Networking 19 12-13-2004 08:34 PM
Windows Manager/Desktop Envirnoment kaon Linux - Software 4 07-21-2004 10:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration