Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Multiple errors when trying to start ntfs-config

  1. #1
    Join Date
    Apr 2011
    Location
    Nairobi, Kenya
    Posts
    45

    Question Multiple errors when trying to start ntfs-config

    Hello: First of all, ntfs-config does not appear in the menu in openSUSE 11.4 Gnome 2.32. When I try to start it using the run command(Alt + F2) it gives the following error in a small window:

    Insufficient Rights. You need administrative rights to start this application.

    I then try to run it as root (su -l or su) and it gives the following error:

    Traceback (most recent call last):
    File "/usr/bin/ntfs-config", line 102, in <module>
    main(args, opts)
    File "/usr/bin/ntfs-config", line 75, in main
    app = NtfsConfig()
    File "/usr/lib/python2.7/site-packages/NtfsConfig/NtfsConfig.py", line 56, in __init__
    os.mkdir(HAL_CONFIG_DIR)
    OSError: [Errno 2] No such file or directory: '/etc/hal/fdi/policy'


    Here is a brief summary of my pc:
    1. openSUSE 11.4
    2. Gnome 2.32
    3. Kernel-Desktop 2.6.37.6-0.5.1
    4. ntfs-3g, ntfs-config (from Gnome:Apps 11.4), ntfsprogs.

    All these packages and others are already installed in my computer.

    Please Help.

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Multiple errors when trying to start ntfs-config

    ntfs-config is a graphical based application which must be ran as root if installed. Try the (gnome) command:

    Code:
    gksu /usr/bin/ntfs-config
    OR in kde

    Code:
    kdesu /usr/bin/ntfs-config
    After looking at it, it allows you to enable or disable write support for all mapped ntfs drives, but that is all it seems to do. Just what are you wanting to do? The program ntfsprogs gives a lot more things you can do. Search YaST to see its loaded file listing.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Apr 2011
    Location
    Nairobi, Kenya
    Posts
    45

    Default Re: Multiple errors when trying to start ntfs-config

    Thank you James, I just tried to run the commands you gave in case I'm using Gnome; "gksu /usr/bin/ntfs-config" but I get the following message in the terminal:

    If 'gksu' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf gksu


    I then tried running: "cnf gksu", and I got the following response:

    gksu: command not found!

    I need ntfs-config because it provides a very simple interface for mounting ntfs partitions.

  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Multiple errors when trying to start ntfs-config

    Give this a try.

    Code:
    gnomesu /usr/bin/ntfs-config
    I don't use gnome and so I am not sure of the graphical su command, but /usr/bin/ntfs-config is a graphic based program, not a terminal program.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  5. #5
    Join Date
    Apr 2011
    Location
    Nairobi, Kenya
    Posts
    45

    Default Re: Multiple errors when trying to start ntfs-config

    I just tried the command "gnomesu /usr/bin/ntfs-config" and after entering the root password in the password needed window, I get the following message:

    Traceback (most recent call last):
    File "/usr/bin/ntfs-config", line 102, in <module>
    main(args, opts)
    File "/usr/bin/ntfs-config", line 75, in main
    app = NtfsConfig()
    File "/usr/lib/python2.7/site-packages/NtfsConfig/NtfsConfig.py", line 56, in __init__
    os.mkdir(HAL_CONFIG_DIR)
    OSError: [Errno 2] No such file or directory: '/etc/hal/fdi/policy'


    Why does the error message contain HAL? I thought HAL was completely deprecated in openSUSE 11.4.

    Thanks.

  6. #6
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Multiple errors when trying to start ntfs-config

    So consider the program could be screwed up or it does not work properly under GNOME. Here is one last thing to try now that we know the gnome su command. Open up a terminal command and type:

    Code:
    /usr/bin/dbus-launch gnomesu /usr/bin/ntfs-config
    If you have installed KDE, you could always switch sessions just to see if it will work there by chance.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  7. #7
    Join Date
    Apr 2011
    Location
    Nairobi, Kenya
    Posts
    45

    Default Re: Multiple errors when trying to start ntfs-config

    OK, I just ran the command "/usr/bin/dbus-launch gnomesu /usr/bin/ntfs-config" and I got the same exact error. I believe that you are right, the program may be having a problem.

    Do you know of any good articles on how to mount and manipulate ntfs partitions in openSUSE?

  8. #8
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Multiple errors when trying to start ntfs-config

    OK, I just ran the command "/usr/bin/dbus-launch gnomesu /usr/bin/ntfs-config" and I got the same exact error. I believe that you are right, the program may be having a problem.

    Do you know of any good articles on how to mount and manipulate ntfs partitions in openSUSE?
    So, it goes back to what you want to do. If you plug in a ntfs hard drive say, it will be auto mounted for you. If you have any ntfs partition you want mounted on startup, you can add it to your fstab file. The YaST Partitioner can be used to add it for you to your fstab file. Here is an example of such partitions in my fstab file:

    Code:
    /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1221F305BDDD-part1     /Windows             ntfs-3g    defaults                                     0 0
    /dev/disk/by-id/ata-ST31500541AS_5XW14NDQ-part1                      /Software            ntfs-3g    defaults                                     0 0
    /dev/disk/by-id/usb-WDC_WD20_EARS-00MVWB0_0123456789ABCDEF-0:0-part1 /DataSafe            ntfs-3g    defaults                                     0 0
    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  9. #9
    Join Date
    Apr 2011
    Location
    Nairobi, Kenya
    Posts
    45

    Default Re: Multiple errors when trying to start ntfs-config

    Thank you James, I'm going to try out YaST partitioner. Wonderful examples by the way.

    Thanks Again.

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Multiple errors when trying to start ntfs-config

    On 2011-05-28 00:06, Mwanafunzi wrote:
    >
    > I just tried the command "*gnomesu /usr/bin/ntfs-config*" and after
    > entering the root password in the password needed window, I get the
    > following message:


    View this thread: http://forums.opensuse.org/showthread.php?t=460579

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •