Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: AlejandroPadrino on July 10, 2011, 03:51:32 PM

Title: GParted error
Post by: AlejandroPadrino on July 10, 2011, 03:51:32 PM
Hello, I'm trying to run GParted in TinyCore 3.7.1.  I was get this error:

(udisks:8982): udisks-WARNING **: Couldn't connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory.

GParted runs fine in TinyCore 3.4.
Can anyone help?

Thank you.
Title: Re: GParted error
Post by: Jason W on July 10, 2011, 06:40:46 PM
It is working fine with me in TC 3.7.1, with or without dbus running.

It looks like your gparted is looking for a running instance of dbus.
Title: Re: GParted error
Post by: AlejandroPadrino on July 11, 2011, 01:58:40 AM
Hello Jason, I don't understand why.  DBus is loaded.  My computer is portable, Compaq R3344EA, P4, 2.8 GHz, 512 RAM (BIOS reports 384 MB).  I load TinyCore directly from .Iso image file with Grub4Dos.  Extensions are located in /mnt/hda1/tce and, after loading TinyCore, takes 64 MB.  I load extensions using "ondemand" scripts.

What to do?
Title: Re: GParted error
Post by: Jason W on July 11, 2011, 05:11:16 AM
Ok, dbus is loaded, but is it running?  Check the "services" app and see if dbus has the green light.
Title: Re: GParted error
Post by: AlejandroPadrino on July 11, 2011, 02:21:43 PM
Hello Jason, that's it!  GParted runs after enabling dbus service.  But ... what command must I put into script loader to enable dbus service automatically?

Thank you.   ;-)
Title: Re: GParted error
Post by: ixbrian on July 11, 2011, 04:04:36 PM
Hello Jason, that's it!  GParted runs after enabling dbus service.  But ... what command must I put into script loader to enable dbus service automatically?

Thank you.   ;-)


Here is how you can start dbus from the command line or a script:
sudo /usr/local/etc/init.d/dbus start
Title: Re: GParted error
Post by: AlejandroPadrino on July 12, 2011, 05:55:43 AM
Hello ixbrian, command is successfull but can't load.  If I put that command in GParted "ondemand" script, script stops after enabling DBus service with "exec sudo /usr/local/etc/init.d/dbus start", but does not run "exec sudo gparted" after it.  How to do?

Thank you.
Title: Re: GParted error
Post by: Rich on July 12, 2011, 07:47:31 AM
Hi AlejandroPadrino
Try changing   "exec sudo /usr/local/etc/init.d/dbus start"   in the script to
"sudo /usr/local/etc/init.d/dbus start" and see if that helps.
By the way, you probably should not modify the Gparted script to implement this.
Title: Re: GParted error
Post by: AlejandroPadrino on July 12, 2011, 08:31:51 AM
Hello Rich, that does not run, and don't enable DBus service.  Also was try from console in ondemand folder with error "gparted: unknown operand".

Thank you.