Jerry Geis wrote: > I centos 5 I can run this command: > su myuser -c "/usr/bin/gconftool-2 -t string --set > /desktop/gnome/background/picture_filename > /usr/share/backgrounds/images/mypic.png" > > and this works fine. > > under centos 6 it does not appear to be working... > I can run the similiar --get command and it tells me its set to what I > asked for. However the screen is not showing mypic.png > I can use gconf-editor to set it manually and it works. > I looked to see if gconfd-2 is running and it is. > > What might be happening that the screen is not changing and showing > the actual pic? > > Thanks, > > Jerry > My script works fine on centos5 - its centos 6 its not working on. This issue seems to be related to dbus. gconftool-2 now uses dbus and when running commands like from cron to talk to the running X session its not happening correctly. I found some posts thats talks about setting DBUS_SESSION_BUS_ADDRESS and that seems to work "sometimes" but not always. Was wondering if anyone has run into this also and if there is a good fix? Jerry _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos