Mailinglist Archive: opensuse (1677 mails)

< Previous Next >
[opensuse] Invalid MIT-MAGIC-COOKIE-1
Hi
I'm trying to run a script:

./rdsconsole.sh
Invalid MIT-MAGIC-COOKIE-1 keyrdsconsole: cannot connect to X server :0

I've tried:

DISPLAY='0.0' ./rdsconsole.sh
rdsconsole: cannot connect to X server 0.0

and:


DISPLAY='1.1' ./rdsconsole.sh
rdsconsole: cannot connect to X server 1.1

and also as root.

Here is the script:
cat rdsconsole.sh

#!/bin/bash

export XAUTHORITY=~/.Xauthority

PROGNAME=`basename "$0"` # strip of path
PROGDIR=`dirname "$0"`

if [ "$PROGDIR" = "." ]
then
PROG=`which "$PROGNAME"`
PROGDIR=`dirname "$PROG"`
fi
if [ "${PROGDIR:0:1}" != "/" ]
then
PROGDIR="${PWD}/${PROGDIR}"
fi
PROGDIR=`cd $PROGDIR; pwd`
cd $PROGDIR

cd ./cde-package/cde-root/

cp /etc/hosts ./etc/
cp /etc/resolv.conf ./etc/

../cde-exec /usr/bin/rdsconsole

How do I get it going?

Thanks
L x
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >