Page 2 of 2

Posted: Mon 22 Jun 2009, 21:46
by ttuuxxx
sikpuppy wrote:or

Code: Select all

dbus-uuidgen --ensure
I have been fiddling with dbus simply because a lot of things seem to need it, or think they need it. The trouble is if dbus is installed without the machine-id file being created puppy crashes on my machines taking the desktop wallpaper, icons and all with it.

The only way to recover is to drop out of X to a terminal and set up the machine-id file as previously mentioned by steve_s.
I kown how to set it manually on pc no-problem, bit like 2.14.1X has dbus, do think If I put
dbus-uuidgen --ensure in /root/.xinitrc
that it will make a new code on boot for other users?
ttuuxxx

wow thats cool, worked like a dream, sure beats making a file,and placing it in a folder and getting the id from a prompt.
Thanks for the quick and easy way.
ttuuxxx

Posted: Mon 22 Jun 2009, 21:52
by sikpuppy
ttuuxxx wrote: I kown how to set it manually on pc no-problem, bit like 2.14.1X has dbus, do think If I put
dbus-uuidgen --ensure in /root/.xinitrc
that it will make a new code on boot for other users?
ttuuxxx
It would only make a code if the file doesn't exist. So it's a good idea.

Probably better to bung it in /etc/init.d since that's where boot and shutdown scripts are supposed to go.

*edit* And that's the reason my vlc didn't work...VLC was expecting dbus to handle requests for the dvd-drive. It does that unless I specifically compile VLC with the --disable-dbus and --disable-libdbus switches.

This is even though it wouldn't matter if I did have dbus set up...because it wasn't present when I compiled it would never have worked...