AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  Problem with X11 protocole

    Posted Mon February 20, 2006 11:47 AM

    Originally posted by: SystemAdmin


    Hi everybody,

    Does anyone has an idea why when i do xhost +x as root , i get a message somthing like it can't open the X11 window at the value set in the DISPLAY ?
    (export DISPLAY=IP:0.0)

    thanks in advance,
    ditrmas
    #AIX-Forum


  • 2.  Re: Problem with xhost

    Posted Wed February 22, 2006 12:35 PM

    Originally posted by: nagger


    This usually happens if you login as one user then su to another and try to use xhost and this new user.
    The new user does not own the X Window and so it can't run xhost - not even root.

    In your case did you start X Windows as the root user?

    #AIX-Forum


  • 3.  Re: Problem with X11 protocole

    Posted Fri March 03, 2006 07:22 AM

    Originally posted by: SystemAdmin


    Hello-

    You always have to do xhost + with the user id that you started the X server as.

    If you are running CDE with the dtwm window manager, you can check to see what user logged in by:
    ps -ef | grep dtwm

    The value in the first column is the user id that you need to be in order to xhost +

    Suzy
    #AIX-Forum