[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8571.0. "display and ase's script" by BEJVC::ARTHURWANG () Fri Jan 24 1997 06:44

    Hello!
    
    I have a Trucluster enviorment(Digital UNIX 4.0a,Trucluster 1.4). I try 
    to failover a application like xclock. but there have some wrong messge 
    in the console:
    
    /usr/bin/X11/xhost: unable to open display ""
    xlib: connection ro "ase1.bej.dec.com:0.0" refuse by server
    xlib: client is not authorized to connect to server
    Error: can't open display: ase1.bej.dec.com:0.0
    
    The following is my ase service's script:
    .
    .
    /usr/bin/X11/xhost + 2 >/dev/console
    DISPLAY = $HOSTNAME:0.0
    export DISPLAY
    .
    .
    /usr/bin/X11/xclock 2 >/dev/console
    .
    .
    
    and I also try create a file /etc/X0.hosts,but this file can't do
    anything.
    
    Pls help me!!!
    
    
    arthur
T.RTitleUserPersonal
Name
DateLines
8571.1KITCHE::schottEric R. Schott USG Product ManagementFri Jan 24 1997 08:146
Hi

 It sounds like you have an xhost problem on the X client...have
your run xhost to see what is enabled on the X client?


8571.2BEJVC::ARTHURWANGSat Jan 25 1997 00:306
    Hi:
    
    When I issue "xhost" manually in terminal , everything is ok. but put
    this command to ase's script file, xhost can't work.
    
    arthur