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

From: Detlef (dh_hh_remove_at_web.de)
Date: 03/31/05


Date: Thu, 31 Mar 2005 08:30:28 +0200

hans_schulze98@yahoo.de wrote:

> 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).

If you use sudo instead of su all works fine.
hence hence use 'sudo bash -' instad of su -.

hth - Cheers D.



Relevant Pages

  • Re: allow display of different users program window - how?
    ... > fails - no permission to open window. ... You'll have to change kdm's config file and restart X to get the xhost ...
    (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)
  • Re: But Microsoft cant help. At least Microsoft India cant.
    ... If you don't usually log an as an administrator, you might need to do so to run remove.bat, otherwise it may not have permission to delete the files. ... quotes) and press Enter. ... After you paste the above commands, please close the Notepad window. ...
    (microsoft.public.windowsupdate)