Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: Re: X Display



> 
> 
> I use XDM on my system. When I login and try to "su - localuser" in
> a xterm, I get the following message:
> 
> /dev/ttypc: Operation not permitted
> 
> I do get the shell prompt after this message for the "localuser".
> 
> After I set and export the DISPLAY value to :0.0 and I try to call an
> X application, I get,
> 
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> Error: Can't open display: :0.0
> 
> By changing the current configuration, I will be loosening the security of
> X windows, but I do need other users to be able to use the same display
> at the same time. How do I accomplish that? What files do I need to change?
> 

Thanks to all those who replied. The solution to the first problem, was
that I had the program "biff" executed in /etc/profile. I deleted that call
and the message did disappear. 

The second problem is a little bit trickier. Although, the "xhost + name"
helped, the problem was with the DISPLAY number. I was using VNC server which
had a different display number. Once the SUed user exported the DISPLAY
number of VNC, then the user could start any X application.

Thanks again for all the help.

Subba Rao
subb3@example.com
http://pws.prserv.net/truemax/

 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com
-------------------------------------------------------------------
Next Nomikai: December 17 (Fri), 20:00 Tengu TokyoEkiMae 03-3275-3691
Next Technical Meeting: January 14 (Fri) 19:00
* Topic: "glibc - current status and future developments"
* Guest Speaker: Ulrich Drepper (Cygnus Solutions)
* Place: Oracle Japan HQ 12F Seminar Room (New Otani Garden Court)
-------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links