Fw: BgRegister X server insecure - newbie

Paul Sala <[email protected]>
Newsgroups gmane.mail.exmh.user
Message-ID <OF74D54AC9.F7C8527C-ON85257114.0072C867-85257114.00738EE0@us.ibm.com>
I am trying to use this code example from the FAQ to insure that my X
server is enabled to use the X authority file is and distributing the
display's key to the client hosts. But the example is for SUN, I am on aix:

 if [ ! \( -d $HOME -a -w $HOME \) ]; then
   echo "Warning: Can't write X authority file" 1>&2 ;
   auth_args=""
 else
   authfname=$HOME/.xnews.`uname -n`$DISPLAY
   ${OPENWINHOME}/lib/mkcookie $authfname -auth magic-cookie
   auth_args="-auth $authfname"
 fi ;
 ${OPENWINHOME}/bin/xnews $auth_args $server_args $xnews_config_args ;;


on aix, there is no mkcookie command. Anyone know how to do that line on
aix?

.....paul


-------------

Paul,

Have you read all of FAQ 4 (not just 4b) from a current FAQ
(eg., http://beedub.com/exmh/exmh-faq.html)?

I don't use AIX but I have managed to use do use exmh with the background
process enabled on Linux and Solaris and against Cygwin/X on Windows XP.

It generally is a simple manner of insuring that your X server is enabled
to use
the X authority file and distributing the display's key to the client
hosts.

Harv

---------------

Hi,

I am sure this has been covered before, but I cannot find a fix.

I keep seeing these msgs:
 BgRegister X server insecure (must use xauth-style authorization);
 command ignored

 exmh-bg cannot rendez-vous with UI - exiting.
 Usually this is because Tk send is not working.

I looked at FAQ 4b, but I am still not sure what to do. Can anyone help?

exmh version 2.6.3
os: aix 5.2

thanks.....
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.