Re: running X programs as another user

2004-03-25 Thread beolach
Just on quick comment: rather than using 'xhost +' I would recommend using 'xhost +localhost'. The former allows connections to the X server from any host, while the latter only allows connections from the localhost. Usually wouldn't matter, but it is more secure. Just my $0.02, Conway S. Smith

Re: running X programs as another user

2004-03-25 Thread Rajsekar
You can solve this problem using xhost. You have to run `xhost +' as the normal user so that your X display is open to everyone and then su as root. But the better way is to export the X authorization cookies when you su. This is really simple if your authentication is based on PAM (which it sho

running X programs as another user

2004-03-25 Thread Karthik Vishwanath
Sorry for the duplicate postings (if it does get duplicated) -- my first message was not posted even after ~10 hrs. -- Along the process of trying to recompile a personalized kernel for this machine (following my previous posts and responses), I seem to be unable to run any X-based pr