Xfce4 and thunar mounting esata drive

Just got a new esata drive and am finding that I have to create the custom udev rule described below in order for me to have the ability to mount partitions through thunar.  I am fine being challenged to type my root password when I go to mount partitions but I can't even get challenged with the root password.  I simple get a message telling me that I am not authorized to mount partitions on this drive without the rule.  My user is in the storage group.
How can I exist without this rule and get challenged to mount via a password?
https://wiki.archlinux.org/index.php/GVFS
polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.udisks2.") == 0){
return polkit.Result.YES;

you can set the UDISKS_FILESYSTEM_SHARED property on the device (or all block devices) via a udev rule. udisks2 will then mount the device to /media/*, like udisks1 did (see "man udisks").

Similar Messages

  • Circle with a Slash Through it and Non-Mounting Hard Drive

    Hello,
    So I have a Macbook Pro (Early 2011) and the other day it was installing some update. It turned off, so I went upstairs to plug it in but once I powered it on and logged in it just shows a circle with a slash on it. The guest user account works fine. After researching on Google, I found out that the circle with slash means its missing boot files and I should try reinstalling the os with an archive and install. It wouldn't show up as a valid partition to recover from. In disk utility, the main hard drive shows up, the Macintosh HD shows up as well but is greyed out and will not mount. I just need to copy the files off it, and then I can do a clean install of the OS.
    This is what I get when I try to repair the main hard drive from disk utility:
    Verifying and repairing partition map for “Seagate FreeAgent Media”
    Checking prerequisites
    Checking the partition list
    Checking for an EFI system partition
    Checking the EFI system partition’s size
    Checking the EFI system partition’s file system
    Checking all HFS data partition loader spaces
    Reviewing boot support loaders
    Checking Core Storage Physical Volume partitions
    Checking storage system
    Checking volume.
    disk3s2: Scan for Volume Headers
    disk3s2: Scan for Disk Labels
    Logical Volume Group C948DC54-AFC3-4E89-81C5-518FEBD8E2AB spans 1 device
    Logical Volume Group has a 16 MB Metadata Volume with double redundancy
    Start scanning metadata for a valid checkpoint
    Load and verify Segment Headers
    Load and verify Checkpoint Payload
    Load and verify Transaction Segment
    Load and verify Transaction Segment
    Incorporate 1 newer non-checkpoint transactions
    Load and verify Virtual Address Table
    Load and verify Segment Usage Table
    Unable to bootstrap transaction group 3803: inconsistent crosscheck
    Continue scanning metadata for an older checkpoint
    Load and verify Segment Headers
    Load and verify Checkpoint Payload
    Load and verify Transaction Segment
    Incorporate 0 newer non-checkpoint transactions
    Load and verify Virtual Address Table
    Load and verify Segment Usage Table
    Unable to bootstrap transaction group 3802: inconsistent crosscheck
    Continue scanning metadata for an older checkpoint
    Load and verify Segment Headers
    Load and verify Checkpoint Payload
    Load and verify Transaction Segment
    Incorporate 0 newer non-checkpoint transactions
    Load and verify Virtual Address Table
    Load and verify Segment Usage Table
    Unable to bootstrap transaction group 3801: inconsistent crosscheck
    Continue scanning metadata for an older checkpoint
    Load and verify Segment Headers
    Load and verify Checkpoint Payload
    Load and verify Transaction Segment
    Incorporate 0 newer non-checkpoint transactions
    Load and verify Virtual Address Table
    Load and verify Segment Usage Table
    Unable to bootstrap transaction group 3800: inconsistent crosscheck
    No valid commit checkpoint found
    The volume C948DC54-AFC3-4E89-81C5-518FEBD8E2AB was found corrupt and can not be repaired.
    Problems were encountered during repair of the partition map
    Error: Storage system verify or repair failed.
    Also, I tried disk warrior but it doesn't show up as one of the drives available to repair. I'm running Lion on my machine.
    Any ideas?? Thanks in advance.

    SokrMan wrote:
    The volume C948DC54-AFC3-4E89-81C5-518FEBD8E2AB was found corrupt and can not be repaired.
    Problems were encountered during repair of the partition map
    First off, thanks for being so detailed it saves a lot of trouble.
    What has occured is your GUID partition map has become corrupted, this small hidden section on the drive is responsible for telling the hardware what and sizes of the partitions are on that drive. (OS X Lion, Lion Recovery and EFI)
    The only way to rebuild the partition map is to erase and reformat the ENTIRE drive, including the hidden Lion Recovery Partition (which you booted into (Command R) to use Disk Utility to try to repair the drive.) Obviously this can't be done from the same drive booted from.
    Unfortunatly with OS X 10.7 Apple didn't provide OS X install disks to install OS X onto a external drive or to boot from to perform the complete erase and reformat of the entire drive.
    However if you have a blank powered external drive and a fast, reliable Internet connection (AppleID and password), you can Command R boot into Lion Recovery, format the external drive (Disk Utility: Partition: Options: GUID, Format: OS X Ext. J) and then install Lion from Apple's servers onto the external drive.
    Once you have that, reboot holding the Option key down (wired keyboard) and select the external drive to boot from. Once you go through setup, try to grab your files off the internal drive.
    (DataRescue can be used to recover deleted or corrupt file structure files directly from the 1's and 0's on the drive itself, it's $99, but a option if for some reason you can't do it manually via drag and drop)
    Once you have all your files off the machine (make another copy to another drive and disconnect that drive), use Disk Utility (booted on the external drive, it's in the Utilities folder) to select the entire internal drive (drive makers name and size) and perform a Erase with Security Option Zero All Data. This will take a few hours so wait it out. What this will do is force 0's to every bit on the drive, if the hardware detects a bad sector it will map that bad sector off. (I suspect you have a failed sector in your GUID parititon map.)
    Once that's complete, check the Partition tab: that Options is GUID and Format is OS X Extended (j)
    Now if you have a newer Mac, if you reboot normally (no external drive connected) the Mac itself should install either the Lion Recovery Partition or combined with OS X all by itself over the Internet, I haven't seen or done this yet, so you'll be poineering this aspect. If you get Lion Recovery, then simply boot into it (Command R) and install Lion onto the Lion Partition.
    Then go about installing all your apps first, then create a same named user as the old one (different password is fine) if you didn't use the same name as before, and then connect the external drive and transfer your contents of your User file folders (Music, Pictures, Movies etc) into their same name folders on the new setup, don't change anything, just select all and drag and drop, replace. By using the same user name, it preserves your itunes playlists and other data that depends upon correct user pathnames to the secondary files. If you start moving things around you'll lose the pathnames to your secondary files (songs). If your permissions are off, Finder: Get Info to set all (including down inside folders) to your new username.
    If Internet Recovery  doesn't work, option boot from the external drive and download Carbon Copy Cloner (free to use, donations accepted) and learn how to clone both your Lion Recovery Partition and OS X Lion Partition back onto your internal drive.
    http://www.bombich.com/
    https://support.apple.com/kb/HT4718
    If by some chance you don't have a fast, relaible Internet connection your going to have ot take your machine to someplace that does, or have Apple fix the mess they caused by not supplying boot disks.
    You can opt to buy the $69 Lion USB thumb drive, you can option boot off of that and perform the same functions above onto a external drive to boot from and recover your files.

  • Thunar : mounting USB drive in multi-seat environment

    I recently bought a WD usb hard drive.
    When I login under my account I can see in thunar the partitions I defined on this drive and I can mount and access them.
    When I logout (no reboot) and login under another account on that PC, I cannot see those partitions.
    But in this second session my mounts of the previous session still exits under /run/media/my_account/.
    Is there a way to make thunar unmount these partitions when a user logs out ? Mod a setting in udisks ?
    My install is x86_64 and runs all the latest packages from the official repo's.
    Thanks in advance for any suggestions.

    you can set the UDISKS_FILESYSTEM_SHARED property on the device (or all block devices) via a udev rule. udisks2 will then mount the device to /media/*, like udisks1 did (see "man udisks").

  • DVR doesn't recognize new eSATA drive

    I just purchased a new eSATA drive (Western Digital 1 TB:  WDBABT0010HBK-NESN) and connected it to my Motorola QIP7232-P2 set-top box, but after following the on-screen prompts to enable more storage the DVR does not recognize the additional storage and still reflects the pre-eSATA drive usage %.
    I've already disconnected and reconnected the eSATA drive and tried to "enable more storage" through the DVR, which included rebooting the set-top box, a few times already.
    Thoughts?

    Thanks, Armond!  I haven't tried replacing the SATA cable yet, but that may be the next logical step.
    I tried disconnecting, reconnecting and rebooting the DVR at least a dozen times.  Finally, I was able to get the DVR to recognize the external storage (showing 100% capacity).
    However, when the eSATA drive was connected and recognized the DVR wouldn't record any shows (neither scheduled nor live TV).  As soon as I disconnected the drive, recording would resume.  The error message I received in the "History" section of the DVR stated, "This show could not be recorded due to the channel being unavailable, not subscribed or other error."  Verizon Technical Support even sent me a refurbished DVR and that encountered the same problem.
    Do you still think it's the cable?

  • [SOLVED] Thunar (XFCE4) Does not Auto-mount USB Drive

    After reading some posts related to USB auto-mounting in Thunar and yet still having the problem, I decided to post this. Thunar used to detect the USB drives and auto-mount them. These days (I GUESS after moving to systemd), It cannot do so. Still, there is the icon of USB drive on the left side panel, but when I click on it to browse it, I get this error:
    Failed to mount "USB_LABLE".
    Error when getting information for file
    '/media/usbhd-sdc1': Transport endpoint is not connected.
    I am still able to use "sudo mount..." and get the job done, but I would prefer the convenient way it used to work. Here are some information about my system:
    command> cat ~/.xinitrc
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    exec startxfce4
    command> loginctl show-session $XDG_SESSION_ID
    Id=1
    Timestamp=Sat, 2012-11-10 20:35:51 CET
    TimestampMonotonic=34276379
    DefaultControlGroup=name=systemd:/user/username/1
    VTNr=7
    Display=:0.0
    Remote=no
    RemoteUser=root
    Service=slim
    Leader=297
    Audit=1
    Type=x11
    Class=user
    Active=yes
    State=active
    KillProcesses=no
    IdleHint=no
    IdleSinceHint=0
    IdleSinceHintMonotonic=0
    command> systemctl status polkit
    polkit.service - Authorization Manager
    Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
    Active: active (running) since ...
    Docs: man:polkit(8)
    Main PID: 305 (polkitd)
    CGroup: name=systemd:/system/polkit.service
    305 /usr/lib/polkit-1/polkitd --no-debug
    command> dmesg
    Attached scsi generic sg1 type 0
    [sdc] 15470592 512-byte logical blocks: (7.92 GB/7.37 GiB)
    [sdc] Write Protect is off
    [sdc] Mode Sense: 23 00 00 00
    [sdc] No Caching mode page present
    [sdc] Assuming drive cache: write through
    [sdc] No Caching mode page present
    [sdc] Assuming drive cache: write through sdc: sdc1
    [sdc] No Caching mode page present
    [sdc] Assuming drive cache: write through
    [sdc] Attached SCSI removable disk
    I'd rather not edit the /etc/fstab; the way Thunar used to behave, was working with every new USB. I wonder if anybody can shed some lights.
    Last edited by Shahab (2012-11-10 21:56:24)

    The error looks suspiciously like one I had not so long ago and it turned out I still had an 11-media-by-label-auto-mount.rule in /etc/udev/rules.d.  Once I removed that and rebooted everything was fine again.

  • Thunar dont show (and dont mount) removable devices and ntfs drives

    hi.this my first topic
    im  using arch+openbox+thunar
    and thunar dont show (and dont mount) removable  devices and ntfs drives
    more info:
    i'v installed :
    gvfs , gvfs-smb , gvfs-afp , thunar-volman , polkit , gnome-polkit , ntfs-3g
    thunar-volman output for CD/DVD:
    thunar-volman: Could not detect the volume corresponding to the device.
    thunar-volman output for USB:
    thunar-volman: Unsupported USB device type.
    thunar-volman: Unsupported USB device type.
    thunar-volman: Unknown block device type.
    thunar-volman: Could not detect the volume corresponding to the device
    ~/.xinitrc:
    openbox-session
    ~/.config/openbox/autostart:
    thunar --daemon &
    sleep 1 && /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
    tint2 &
    sh ~/.fehbg &
    conky &
    pstree output:
    [hamon@dhcppc0 ~]$ pstree
    systemd─┬─agetty
    ├─at-spi-bus-laun─┬─dbus-daemon
    │ └─3*[{at-spi-bus-laun}]
    ├─at-spi2-registr───{at-spi2-registr}
    ├─conky───3*[{conky}]
    ├─2*[dbus-daemon]
    ├─dbus-launch
    ├─dhcpcd
    ├─polkitd───5*[{polkitd}]
    ├─sh───polkit-gnome-au───{polkit-gnome-au}
    ├─slim─┬─X
    │ └─bash───openbox───opera───3*[{opera}]
    ├─systemd───(sd-pam)
    ├─systemd-journal
    ├─systemd-logind
    ├─systemd-udevd
    ├─terminator─┬─bash───pstree
    │ ├─gnome-pty-helpe
    │ └─{terminator}
    ├─tint2
    └─xfconfd
    please help me
    Last edited by hamon (2013-11-05 09:17:21)

    Please use code tags.  If you don't know how to do this, click the 'BBCode' link on the bottom of the page for instructions (there are all kinds of neat formatting tricks included as well).

  • [SOLVED]Mounting usb drives "not authorized" with thunar-volman (XFCE)

    Hi,
    I'm new to Arch (even though I must be approximately at my 15th try at installing it properly) and I have a problem with thunar-volman.
    Whenever I log in as user, and try to mount a usb drive with thunar, let's say I want to plug a drive labeled Ext3_8Go, I get the same message in a pop-up window : "Failed to mount Ext3_8Go (or anything close, not in English in the text), not authorized (that part is in English)"
    My install is :
    - net install
    - partitions : 9Go for /, no swap, no separate /home
    - packages : base and base-devel. The only modifications in the package list is that I remove ppp, pcmciautils, and xfsprogs.
    - config : at the install stage I only modify rc.conf to change LOCALE and HOSTNAME, and pacman's mirrorlist to allow all French mirrors in addition to the one at the top.
    When the usb installation is over, I run this script :
    "installation_xfce.sh"  (there may be some errors left, I modify this script as I learn) :
    #!/bin/bash
    # expected environment : freshly installed archlinux, login : root.
    echo "Are you connected to internet ? If not, please Ctrl+C and reload this script when connected"
    echo "Otherwise, press ENTER to continue installation"
    read var_dummy
    echo "Creation of the user : please type in your user name :"
    read var_username
    useradd -u 1000 -g users -G audio,lp,storage,optical,video,wheel,games,power,network -d /home/$var_username/ -s /bin/bash -m $var_username
    echo "You will now be asked to create the password for this user:"
    passwd $var_username
    # Add servers for pacman to find packages
    cat >> /etc/pacman.conf << EOF
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    [archlinuxfr]
    Server = http://repo.archlinux.fr/\$arch
    [catalyst]
    Server = http://catalyst.apocalypsus.net/repo/catalyst/\$arch
    EOF
    # Install packages
    pacman -Syyu
    pacman -S acpi acpid alsa-oss alsa-plugins alsa-utils catalyst catalyst-utils cpufrequtils cups dbus gstreamer0.10-base-plugins iptables laptop-mode-tools mesa net-tools netcfg ntp pm-utils rfkill rsync sudo ttf-dejavu vim wireless_tools xf86-input-evdev xorg-server xorg-utils xorg-xinit xorg-xinput yaourt conky gamin gnome-icon-theme gnome-keyring gvfs-afc network-manager-applet networkmanager slim slim-themes archlinux-themes-slim hicolor-icon-theme xfce4 xfce4-goodies
    # If pacman failed, better stop the script here, and wait for a network connection
    if [[ $?!=0 ]]
    then
    echo : failed to install packages - check your network connection, or review script
    exit 1
    fi
    # Fix sound issue
    cat > /home/$var_username/.asoundrc << EOF
    pcm.!default{
    type hw
    card 1
    device 0
    ctl.!default{
    type hw
    card 1
    device 0
    EOF
    chown $var_username:users /home/$var_username/.asoundrc
    # Configure video settings for X to use Catalyst
    if [[ ! -e /etc/X11/xorg.conf.d ]]
    then
    mkdir /etc/X11/xorg.conf.d
    fi
    cat > /etc/X11/xorg.conf.d/20-fglrx.conf << EOF
    Section "Monitor"
    Identifier "aticonfig-Monitor[0]-0"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    EndSection
    Section "Device"
    Identifier "aticonfig-Device[0]-0"
    Driver "fglrx"
    EndSection
    EOF
    sed -e 's/top_left/bottom_right/' -e '/alignment/i\double_buffer yes' -e '/CPU Usage/a\${color lightgrey}Temperatures:' -e '/CPU Usage/a\ CPU:$color ${hwmon 0 temp 1}°C' </etc/conky/conky.conf >/home/$var_username/.conkyrc
    chown $var_username:users /home/$var_username/.conkyrc
    # Install clickpad support
    yaourt -S xf86-input-synaptics-clickpad
    # Add french keyboard to X
    sed '/MatchIsKeyboard/a\\tOption "XkbLayout" "fr"' </etc/X11/xorg.conf.d/10-evdev.conf >/etc/X11/xorg.conf.d/10-evdev.conf.new
    mv -f /etc/X11/xorg.conf.d/10-evdev.conf.new /etc/X11/xorg.conf.d/10-evdev.conf
    # Add new daemons, remove old ones, disable hwclock and remove netfs since I don't use it. add it if you need it
    sed '/DAEMONS=/c\DAEMONS=(!hwclock dbus syslog-ng networkmanager laptop-mode acpid @alsa @cupsd @cpufrequtils ntpd crond)' </etc/rc.conf >/etc/rc.conf.new
    mv -f /etc/rc.conf.new /etc/rc.conf
    # Slim login manager ; change theme
    mv /usr/share/slim/themes/archlinux-darch-grey /tmp/
    mv /usr/share/slim/themes/default /tmp/
    rm -r /usr/share/slim/themes/*
    mv /tmp/archlinux-darch-grey /usr/share/slim/themes
    mv /tmp/default /usr/share/slim/themes
    sed '/^current_theme/c\current_theme archlinux-darch-grey' </etc/slim.conf >/etc/slim.conf
    # XFCE login, and thunar launched as a daemon
    sed '/^# exec/c\' </etc/skel/.xinitrc >/tmp/.xinitrc
    sed '/^# .../c\' </tmp/.xinitrc >/home/$var_username/.xinitrc
    cat >> /home/$var_username/.xinitrc << EOF
    exec ck-launch-session startxfce4
    thunar --daemon &
    EOF
    chown $var_username:users /home/$var_username/.xinitrc
    # Boot to runlevel 5 now, and run slim then
    sed -e 's/id:3/#id:3/' -e 's/#id:5/id:5/' -e 's|x:5:respawn:/usr/bin/xdm|#x:5:respawn:/usr/bin/xdm|' -e 's|#x:5:respawn:/usr/bin/slim|x:5:respawn:/usr/bin/slim|' </etc/inittab >/etc/inittab.new
    mv -f /etc/inittab.new /etc/inittab
    # Add colored prompt to user and root
    sed '/^PS1/c\' </etc/skel/.bashrc >/root/.bashrc
    cat >> /root/.bashrc << EOF
    PS1='\[\e[0;32m\]\u@\h\[\e[m\] \[\e[0;35m\]\w\[\e[m\] \[\e[m\] \[\e[0;32m\]\t -\[\e[m\] \[\e[1;31m\]\$ \[\e[m\] '
    EOF
    cp /root/.bashrc /home/$var_username/.bashrc
    chown $var_username:users /home/$var_username/.bashrc
    # How does one do that automatically ?
    # Manually add user to sudoers
    EDITOR="vim" visudo
    # Reboot, because it's quick and I'm too lazy to learn how to start all the daemons and others.
    reboot
    I can mount as a user, no password asked, with :
    udisks --mount /dev/sdb2
    but the GUI method tells me "not authorized".
    "groups user" outputs :
    lp wheel games network video audio optical storage power users
    the command "ck-list-sessions" outputs :
    Session2:
    unix-user = '1000'
    realname = ''
    seat = 'Seat1'
    session-type = ''
    active = TRUE
    x11-display = ':0.0'
    x11-display-device = '/dev/tty7'
    display-device = ''
    remote-host-name = ''
    is-local = TRUE
    on-since = '2011-08-15T08:56:03.716103Z'
    login-session-id = '1'
    Session1:
    unix-user = '1000'
    realname = ''
    seat = 'Seat2'
    session-type = ''
    active = FALSE
    x11-display = ':0.0'
    x11-display-device = ''
    display-device = ''
    remote-host-name = ''
    is-local = TRUE
    on-since = '2011-08-15T08:56:03.573029Z'
    login-session-id = '1'
    For those who don't have time to read the installation script, DBUS is in the DAEMONS list of rc.conf, and .xinitrc launches : exec ck-launch-session startxfce4
    Any idea ?
    Last edited by choubbi (2011-08-15 15:05:04)

    Thanks a lot !
    That worked !
    I stumbled across this part of the wiki several times before, but didn't really understand so I had not tried.
    If anyone's interested in the script, here's the corrected version :
    #!/bin/bash
    # expected environment : freshly installed archlinux, login : root.
    echo "Are you connected to internet ? If not, please Ctrl+C and reload this script when connected"
    echo "Otherwise, press ENTER to continue installation"
    read var_dummy
    echo "Creation of the user : please type in your user name :"
    read var_username
    useradd -u 1000 -g users -G audio,lp,storage,optical,video,wheel,games,power,network -d /home/$var_username/ -s /bin/bash -m $var_username
    echo "You will now be asked to create the password for this user:"
    passwd $var_username
    # Add servers for pacman to find packages
    cat >> /etc/pacman.conf << EOF
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    [archlinuxfr]
    Server = http://repo.archlinux.fr/\$arch
    [catalyst]
    Server = http://catalyst.apocalypsus.net/repo/catalyst/\$arch
    EOF
    # Install packages
    pacman -Syyu
    pacman -S acpi acpid alsa-oss alsa-plugins alsa-utils catalyst catalyst-utils cpufrequtils cups dbus gstreamer0.10-base-plugins iptables laptop-mode-tools mesa net-tools netcfg ntp pm-utils rfkill rsync sudo ttf-dejavu vim wireless_tools xf86-input-evdev xorg-server xorg-utils xorg-xinit xorg-xinput yaourt conky gamin gnome-icon-theme gnome-keyring gvfs-afc network-manager-applet networkmanager slim slim-themes archlinux-themes-slim hicolor-icon-theme xfce4 xfce4-goodies
    # If pacman failed, better stop the script here, and wait for a network connection
    if [[ $?!=0 ]]
    then
    echo : failed to install packages - check your network connection, or review script
    exit 1
    fi
    # Fix sound issue
    cat > /home/$var_username/.asoundrc << EOF
    pcm.!default{
    type hw
    card 1
    device 0
    ctl.!default{
    type hw
    card 1
    device 0
    EOF
    chown $var_username:users /home/$var_username/.asoundrc
    # Configure video settings for X to use Catalyst
    if [[ ! -e /etc/X11/xorg.conf.d ]]
    then
    mkdir /etc/X11/xorg.conf.d
    fi
    cat > /etc/X11/xorg.conf.d/20-fglrx.conf << EOF
    Section "Monitor"
    Identifier "aticonfig-Monitor[0]-0"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    EndSection
    Section "Device"
    Identifier "aticonfig-Device[0]-0"
    Driver "fglrx"
    EndSection
    EOF
    sed -e 's/top_left/bottom_right/' -e '/alignment/i\double_buffer yes' -e '/CPU Usage/a\${color lightgrey}Temperatures:' -e '/CPU Usage/a\ CPU:$color ${hwmon 0 temp 1}°C' </etc/conky/conky.conf >/home/$var_username/.conkyrc
    chown $var_username:users /home/$var_username/.conkyrc
    # Install clickpad support
    yaourt -S xf86-input-synaptics-clickpad
    # Add french keyboard to X
    sed '/MatchIsKeyboard/a\\tOption "XkbLayout" "fr"' </etc/X11/xorg.conf.d/10-evdev.conf >/etc/X11/xorg.conf.d/10-evdev.conf.new
    mv -f /etc/X11/xorg.conf.d/10-evdev.conf.new /etc/X11/xorg.conf.d/10-evdev.conf
    # Add new daemons, remove old ones, disable hwclock and remove netfs since I don't use it. add it if you need it
    sed '/DAEMONS=/c\DAEMONS=(!hwclock dbus syslog-ng networkmanager laptop-mode acpid @alsa @cupsd @cpufrequtils ntpd crond)' </etc/rc.conf >/etc/rc.conf.new
    mv -f /etc/rc.conf.new /etc/rc.conf
    # Slim login manager ; change theme
    mv /usr/share/slim/themes/archlinux-darch-grey /tmp/
    mv /usr/share/slim/themes/default /tmp/
    rm -r /usr/share/slim/themes/*
    mv /tmp/archlinux-darch-grey /usr/share/slim/themes
    mv /tmp/default /usr/share/slim/themes
    sed '/^current_theme/c\current_theme archlinux-darch-grey' </etc/slim.conf >/etc/slim.conf
    # XFCE login, and thunar launched as a daemon (note that the part with 'if [ -d /etc/X11/xinit/xinitrc.d ]" is not present, to avoid mounting problems when logged as regular user)
    cat > /home/$var_username/.xinitrc << EOF
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    exec ck-launch-session startxfce4
    thunar --daemon &
    EOF
    chown $var_username:users /home/$var_username/.xinitrc
    # Boot to runlevel 5 now, and run slim then
    sed -e 's/id:3/#id:3/' -e 's/#id:5/id:5/' -e 's|x:5:respawn:/usr/bin/xdm|#x:5:respawn:/usr/bin/xdm|' -e 's|#x:5:respawn:/usr/bin/slim|x:5:respawn:/usr/bin/slim|' </etc/inittab >/etc/inittab.new
    mv -f /etc/inittab.new /etc/inittab
    # Add colored prompt to user and root
    sed '/^PS1/c\' </etc/skel/.bashrc >/root/.bashrc
    cat >> /root/.bashrc << EOF
    PS1='\[\e[0;32m\]\u@\h\[\e[m\] \[\e[0;35m\]\w\[\e[m\] \[\e[m\] \[\e[0;32m\]\t -\[\e[m\] \[\e[1;31m\]\$ \[\e[m\] '
    EOF
    cp /root/.bashrc /home/$var_username/.bashrc
    chown $var_username:users /home/$var_username/.bashrc
    # How does one do that automatically ?
    # Manually add user to sudoers
    EDITOR="vim" visudo
    # Reboot, because it's quick and I'm too lazy to learn how to start all the daemons and others.
    reboot
    The important part of the script to solve the problem is :
    cat > /home/$var_username/.xinitrc << EOF
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    exec ck-launch-session startxfce4
    thunar --daemon &
    EOF
    chown $var_username:users /home/$var_username/.xinitrc

  • Thunar, xfce4 and polkit-gnome

    I've spent 3 hours this morning trying to understand mount permissions in Thunar and, thus, how polkit controls user access.  I'm pleased to say it hasn't been a total waste of time because I have a much better understanding of what polkit does and why.
    However, in my investigations I have seen countless forum threads by people trying to fix their Thunar mount problems.  The simple answer to almost all of these threads is "install polkit-gnome and restart".
    Arch uses auth_admin_keep for internal mounting permissions - for that to work you MUST have a PolicyKit Authentication Agent installed (right?) - polkit-gnome is exactly that.  Without polkit-gnome there is no application to pop-up and ask you for your password, which is exactly what the auth_admin option wants to do.
    So, how is it an optional depend for thunar?

    .:edit:.
    Whether automounting is or isn't an "optional" feature is largely irrelevant.
    My main point is that policykit requires a User Authenication Agent to function correctly - gnome-session and kdelibs pull in polkit-gnome and polkit-kde respectively by default.  Why is XFCE different just because they don't ship their own User Authentication Agent?
    anonymous_user wrote:It is optional because Thunar will still work without it. Mounting may not work, but file manager duties like moving and deleting files do work. At least that is my understanding of optional dependencies.
    Yes, that was my understanding too... 5 years ago.
    Udev and PolicyKit exist to make mounting disks, amongst other things, "as standard" across multiple environments, this functionality has been incorporated in Thunar.  Mounting in Thunar is as much a feature as moving and deleting files.
    It's also worth mentioning that I didn't set out to make automounting work in Thunar - I just had these Drives appearing in my sidebar but when I clicked on them I got an error.
    That's the definition of broken from a users perspective.
    Last edited by dtw (2012-04-09 13:58:33)

  • Trouble with eSata Drives and Cards

    I'm totally at my wits' end on this one. Hope someone has some useful suggestions.
    I had an esata card from OWC that came with an external Mercury Elite Pro enclosure. I installed it in 10.4.8 or so. Upgraded to 10.5.1 and then 5.2. Started losing my raid (kept degrading). I separated the drives. They continued to work as indpendents. Then they started disappearing from the desktop. I would reboot and they'd reappear. Disk utility reported no errors on either drive.
    Then they just completely disappeared.
    I went out and bought an eagle esata/usb enclosure to test my drives. Both pulled drives from the OWC case mounted perfectly through the USB bus but neither would mount through the esata bus on the new eagle enclosure. So at this point it has to be the card or the wires right? Swapped out wires and still no joy. Wrote to OWC who didn't write back and bought a new card from another vendor (Norco). Installed it installed drivers. Shows up in PCI cards as a RAID controller.
    Still, no esata drives will mount through it. Not even seen by disk utility. The eagle drive light indicating hard drive activity briefly illuminates during startup, but that's the extent of it.
    I reset NVRAM. I ran disk utilities on my startup disk. Repaired permissions. Reset PMU.
    I've attempted to install 10.5.2 combo update over my system and I get the error
    "You cannot install Mac OS X Update Combined on this volume. This volume does not meet the requirements for this update."
    Usually this means my system is updated beyond what I'm trying to update with... but this update was downloaded from apple.com yesterday... even tried it after safe booting to see if it was an extension conflict.
    Anyone have any other places to go for help or thoughts on what to try next?
    Thanks!

    Sorry about that, okay the box was torn and there was no software. After a month of problems, spinning beachball etc. I contacted Norco and with the help of an interpreter, very difficult to understand tech support, I found out there was drivers involved. Downloaded the drivers and the card still would not work. Nor would the drives mount ( 2 WD my book studios 500g each.) I have returned the card and am currently running the drives through the 800 fw connection. I brought the drives, 6 gigs of ram and the card all at once, put everything togathr and thought I would be in editing heaven. I quickly fell into tech support ****...Everyone blames everyone else, oh well. I am looking ror a PCI-X controller card that works. I feel the Seritek could be the one. It is not my choice because it does not support ESATA 11. Can you help me?

  • [SOLVED] Pcmanfm and Thunar do not show pen drives after udev upgrade

    Hi all,
    I upgraded Arch today and found that my usb pen drive was not showing up in Pcmanfm available for me to mount. I reinstalled Thunar from my cache and found it too could not 'see' the pen drive. I first tried downgrading hal to the previous version, and that did not fix anything.
    I then downgraded udev to the previous version and found the usb drive correctly appearing in both file managers.
    I checked /var/log/daemon.log and found no errors. There was nothing to indicate anything had been mounted before I had downgraded udev.
    Please advise me on anything I should do--is this a bug, should I investigate further, or have I forgotten to configure something new?
    Thanks.
    added: I checked bug tracker and there seems to be a new bug related to mounting of an NTFS drive possibly due to udev. This is a FAT32 pen drive, so I am not sure if it is applicable...
    http://bugs.archlinux.org/task/11675
    added again: rebooting fixed it for me. Thank you everyone.
    Last edited by mentallaxative (2008-10-08 17:02:44)

    I noticed this happening as well after my upgrade yesterday (PCManFM and Nautilus). But then I remembered to ... reboot and everything seems happy again.
    PS: This includes VFAT, ext2 and NTFS formatted flash drives
    Last edited by ninian (2008-10-07 19:17:40)

  • K9A2 Platinum esata port and Install and Usage of esata External Hard Drive

    I just bought a sata hard drive and an icy dock enclosure for backup purposes. Having never used one before can someone explain how this works?
    I have the hard drive in the enclosure, no problem there. I plugged it into the esata port on the back of my motherboard, but vista won't recognize it and when I reboot and go into the BIOS, I don't see it there either.  I have purchased Acronis True Image 11 Home for backup and mirroring purposes. I wish to mirror my existing internal drive to this new external drive.
    Questions:
    1. Can I use the esata ports on the motherboard for this drive, or should I use the PCI bracket and plug it into one of the existing sata ports on the motherboard? If esata port, exactly how do they work? Are there BIOS settings for the esata ports or do they operate more like a usb connection?
    2. Do I need to do anything with this drive before using it; format, install operating system...??
    3. Are the esata external drive considered plug and play or do I need to plug it in before I boot my computer.
    TIA.

    Everything seems to be working as I would have expected at this point, with the exception of the size of the mirrored drives.
    I decided to make another mirror onto the 3rd drive making all 3 drives identical. So now I would expect all three drives to show the same "GB free" while viewing with Vista explorer.  The odd thing is, is that which ever drive I make bootable - SATA5 port and becomes the C: drive,  shows 226GB free. The other drives, either as E: or J: will show as 268GB free.  Most be an Acronis or Acronis user (me) issue/oddity?
    But bottom line, the sata and esata ports seem to be working as I would expect. Though plugging the external hard drive in before booting (power on or off, needs to be unplugged from the esata port) seems to hang at the FasTrack screen as described above.
    My only guess to why this all seems to be working currently is that I don't think I ever had my bios set correctly. After enabling the onboard controller, having the drive actually plugged into SATA5, then rebooting, selecting boot sequence and selecting the raid drive as the first boot device. At least this is my recollection, I made so many bios changes previously that I thought I had it all covered. 
    Any thoughts?  I think I will try to get an answer on the Acronis size difference before I try to setup my RIAD 1, since that would require erasing two drives, per your instructions here: https://forum-en.msi.com/index.php?topic=113738.0
    Thanks for help once again.

  • PCIe card for eSATA drives - and 10.6

    Help !!!!
    I have 15 1TB external hard drives - in three 5-bay DAT Optic enclosures. They are on my Mac Pro (2009) - and they house tens of thousands of photographs for clients.
    The external drives run from a PCIe card - using a Silicon Image driver ... SiI3124
    http://www.siliconimage.com/products/product.aspx?pid=27
    My copy of Snow Leopard will arrive on Monday .. and now I learn that SiI3124 is not supported under 10.6. That makes it unusable for me.
    Does anyone know of a PCIe card that can run eSATA drives under 10.6 ???
    I can't believe that 10.6 was released without a driver to support external hard drives - other than consumer USB boxes.
    Sometimes I fear that Apple is becoming a music store - and forgetting its role in supporting the graphics industry that helped found it. PCs run Photoshop faster than do Mac Pros with CS4 -- and now I can't even store my images with 10.6 !!!!!!!!
    What a huge disappointment !!!!!!!!!
    Dick
    http://www.wilderness-studio.com

    CIAVT wrote:
    Use the Sonnet tech cards, they have a 10.6 compatibility matrix in the support section of their site. Yes, I paid more for the card when I got it, but I haven't had any headaches with it at all. I guess you get what you pay for.
    This is good advice for both PCIe and Expresscard. I have discussed this with Sonnet and I think they regret the cheap/expensive strategy owing to the lack of support on SI drivers. They did lower the price on the Expresscard/34 Pro by 1/3 , or $100.
    I still have their E2P (PCIe Si 2 port based card) and an Expresscard/34 (non-Pro) available cheap for anyone who thinks Si drivers are a good value.
    The new 64 bit driver will be nice for the handful that run in a true 64 bit boot situation which won't be many and is not really necessary at all anyway. OF course if you have one 32 bit driver you need then that won't be a viable option.

  • IMac intel core, 10.6.8 - isn't mounting my partioned iomega drive. How do i get it to mount and stay mounted?

    iMac intel core, 10.6.8 - isn't mounting my partitioned iomega drive. It was mounting one of the partitions, but not the other one for a while. Then they both stopped showing up. I can not select the drive in Time Machine. I verified and repaired the iMac hard drive with Disk Utility. Then tried to verify and repair iomega drive in Disk Utility. It appears briefly but then disappears. One partition might be bad, what do i do? Then name of the partition changed to something like disk1:3 when it was called MAC.  I want to see what's on it and ideally continue to use it as our backup in Time Machine. How do I get it to mount and stay mounted?

    The usage figure reported by the activity monitor is likely to include only the core progam, the APIs that are being called and space for variables. FCP moves huge amounts of data around the system but, in general, I would imagine these are handled by the OS so would not (except maybe momentarily) be included in the acitivity monitor total.
    If you have very little memory and it "runs out" so to speak, the OS will start swapping files on and off the disc which will slow the system down to a crawl if you have a standard hard drive. So with 16GB you have loads of room for the data transfers to take place quickly and efficiently. So, I would say you had not wasted your money! A very wise investment.

  • ESATA and USB 3.0 drives for editing

    Are eSATA drives and/or USB 3.0 drives sufficiently fast enough for video editing purposes?

    We have new External storage packages based on this. It's a very nice storage solution and completely hands off so easy to setup.
    http://www.stardom.com.tw/sohoraid_sr4_feature.html
    Eric
    ADK

  • MSI 7125 board and Esata drive hot swapping

    Hello. New member with a MSI-7125 board. I have the OEM board that Geeks had. Pretty much the same as the regular 7125. I want to use an external eSATA drive and attach it using a simple eSATA bracket that just connects to the board's internal sata ports, or I will use a PCI controller card. I'm told that either will work, and that I can have hot swapping on either too.  I want to be able to turn on and off the drive without turning off windows. I don't want to use the external drive as my main drive. Can anyone confirm that either interface method will work? I'm supposing the simple bracket might be faster since it will have no PCI bus to go through. Thanks

    I've listed below a couple of sites that you may be intrested in. They offer the option of using eSATA or SATA on the rear plates. Don't confuse them as they use different plugs on the cables.
    http://www.macgurus.com/productpages/sata/SATACables.php
    http://www.firewire-1394.com/external-sata-solutions.htm
    http://www.cooldrives.com/insaexsa1ppc.html
    Russell

Maybe you are looking for

  • ISight not working after Snow Leopard update?

    I just realized my iSight isnt working. I dont see it in System Profiler and I remeber prior to the Snow Leopard upgrade the iSight was working fine.  This was three months ago, since the update i never had to use it until now.  I tried resetting the

  • Send e-mail to several addresses

    Dear Experts, I need to send the scheduling agreement messages via e-mail to several e-mail address. For example, not only to the buyer or purcharing department people but olso to logistic department and Administration dept.... Then I need to handle

  • How to change and save a new file in Edge web Lumira server for Team ?

    Hi Lumira folks, I've installed SAP Lumira 1.0, Edge edition and View a sample 'Dairy Wholesaler-Sample" I'd like to change it and save as new file, but "Save" button is disabled and when I put my mouse over the button, it says "Save Option is disabl

  • BBM - Random friend requests, 20+ a day.

    Before asked, I have not given my pin out to anyone apart from trusted friends. I'm getting upwards of 20 requests a day on BBM, becoming an annoyance having to constantly block them. Any suggestions on how to stop this?  Even if it meant only I coul

  • Out Of Office error ++ Exchange 2010 SP3 just installed sbs2011

    Hello Just recent tried to install sp1 for Exchange 2010, this failed, and ended up in installing SP3, and this went ok. Ok, by meaning, the installation itself went OK, but the former SP1 isntallation broke a couple of things, and some was adopted t