On Thu, 2008-01-10 at 19:40 +0000, Kris Douglas wrote:
> 
> 
> On 10/01/2008, Dave Walker <[EMAIL PROTECTED]> wrote:
>         Kris Douglas wrote:
>         <SNIP>
>         > Hi, I got the following:
>         >
>         > [EMAIL PROTECTED]:~$ DISPLAY=:0;
>         XAUTHORITY=~owner_of:0/.Xauthority;
>         > export DISPLAY XAUTHORITY
>         > [EMAIL PROTECTED]:~$ notify-send "title message" "Message
>         body 
>         > text"         libnotify-Message: Unable to get session bus:
>         dbus-launch
>         > failed to autolaunch D-Bus session: Xlib: connection to ":
>         0.0" refused
>         > by server
>         > Xlib: No protocol specified 
>         >
>         > Autolaunch error: X11 initialization failed.
>         <SNIP>
>         
>         Try,
>         
>         sudo apt-get install dbus-x11
>         
>         Kind Regards,
>         Dave Walker
>         
>         --
>         ubuntu-uk@lists.ubuntu.com
>         https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
>         https://wiki.kubuntu.org/UKTeam/
> 
> Hi, according to the machine that's already installed...
> 
> thanks for the idea though.
> 
> -- 
> Kris Douglas
>       Softdel Limited Hosting Services
> 
>       Web: www.softdel.net
>       Mail: [EMAIL PROTECTED]


I was getting the same error message until I changed this part 
XAUTHORITY=~owner_of:0/.Xauthority;
to 
XAUTHORITY=/home/user/.Xauthority;

where user was the username of the person logged on and using screen :0

then it worked a treat

Josh



-- 
My PGP public key: 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3E4E0E21 

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/

Reply via email to