Re: allow display of different user's program window - how?

From: Dances With Crows (danSPANceswitTRAPhcrows_at_gmail.com)
Date: 03/28/05


Date: 28 Mar 2005 20:38:39 GMT

On 28 Mar 2005 11:56:16 -0800, hans_schulze98@yahoo.de staggered into
the Black Sun and said:
> I am running KDE under SUSE. When I run xterm or Konsole, type "su -
> otheruser" and then run a program that needs to open a window, it
> fails - no permission to open window. Even root cannot open a window
> on my screen. How do I allow this?

> kdesu works of course, but then you have to type the password
> everytime you run a program. Many years ago you could set the
> variable DISPLAY and say xhost +localhost, but all that does not work
> any more. (Permissions are set to "secure" in YaST).

This has nothing to do with YaST and everything to do with X. Go to
http://groups.google.com/advanced_group_search and put the string
slrnd3lqat.kd0.danSPANceswitTRAPhcrows@samantha.crow202.dyndns.org into
the "find messages with this Message-ID" field, then press "search".
You'll have to change kdm's config file and restart X to get the xhost
thing working as it used to work.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /    mail: TRAP + SPAN don't belong
http://www.brainbench.com     /                Hire me! 
-----------------------------/ http://crow202.dyndns.org/~mhgraham/resume


Relevant Pages

  • Re: synaptic will not display after upgrade
    ... Then, if that works, you can look into the xhost program's man page to see how to use it to allow the specific user ID you need to open consoles on your display. ... I did something like this a while back to allow me to open a Sybase server configuration tool on my display. ... The important point here is that xhost + will allow ANYONE from ANYWHERE who can reach your computer to open a window on your machine -- not really all that serious you might think since they can't see the output since they are opening on your screen not theirs, but could still consitute a denial of service attack -- forcing you to shut down your computer or disable xhost services and in the process losing useful capabilities... ... little temporary safety deserve neither liberty nor safety. ...
    (Debian-User)
  • Re: allow display of different users program window - how?
    ... > run a program that needs to open a window, it fails - no permission to ... hence hence use 'sudo bash -' instad of su -. ...
    (comp.os.linux.x)
  • Re: allow display of different users program window - how?
    ... > otheruser" and then ... > run a program that needs to open a window, it fails - no permission to ...
    (comp.os.linux.x)
  • WMI wouldnt start. My fix.
    ... >Local Activation permission for the COM Server ... WMI wouldn't start. ... >>on..using the Dependencies tab in it's service. ... >>9) close the window with OK, then click on the MSDTC tab ...
    (microsoft.public.windowsxp.wmi)
  • WMI wouldnt start. My fix.
    ... Local Activation permission for the COM Server ... WMI wouldn't start. ... >on..using the Dependencies tab in it's service. ... >9) close the window with OK, then click on the MSDTC tab ...
    (microsoft.public.windowsxp.wmi)