This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] dopserver error using kdialog

Tags: None
(comma "," separated)
rloring
Registered Member
Posts
3
Karma
0
I am currently trying to create a pre-login banner in the /etc/kde3/kdm/Xsetup. This is what I have setup:

if ! kdialog --msgbox 'n MY BANNER!!!!!!!n' 10 10;
then
sleep 10 exit 1;
fi

While using this prior to the banner showing up I get an error message:

Could not read network connection list.
//.DCOPserver_rich-desktop_0

Please check that the "dcopserver" program is running!

I know it deals with the script in some way because if I comment out the script the error goes away. Also if I leave the script in and I click OK on the error message and check to see that the dcopserver is running after login it is.

If anyone can help me to get rid of the error message I would appreciate it.
User avatar
neverendingo
Administrator
Posts
2136
Karma
17
OS
Just a wild guess without looking into it: At this point kdm hasn't started your user privileges and/or your own dcopserver. So it's impossible to use a programm that relies on a dcop connection.
Maybe just try
Code: Select all
xmessage "" -geometry 640x480 (or whatever you want)

to confirm that.
Though i really can't say how it would work better. Maybe just look into the code of one of the current banner how they did it.


New to KDE Software? - get help from Userbase or ask questions on the Forums
Communicate.
Image
rloring
Registered Member
Posts
3
Karma
0
Thanks that does the trick.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell