You are not logged in.

#1 2009-12-31 04:01:42

DeSian
Member
From: South Kurdistan
Registered: 2009-12-30
Posts: 7
Website

[SOLVED] mounting USB device!

jasonwryan wrote:

Have you tried the fixes suggested in the HAL entry? It sounds like a policy kit fix...

I've tried every way before and this also:

Try adding /usr/sbin/console-kit-daemon to /etc/rc.local that has fixed it for me, for some reason it mustn't of been getting started

still have the same error message by trying to mount USB device.
Error:

Rejected send message, 1 matched rules; type="method_call", sender=":1.10" (uid=1000 pid=1756 comm="pcmanfm) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1598 comm="/usr/sbin/hald))

and i can't Shutdown and Reboot from LXDE
http://wiki.archlinux.org/index.php/LXD … _from_LXDE
mount manually:

fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00085a6f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104422   83  Linux
/dev/sda2              14          46      265072+  82  Linux swap / Solaris
/dev/sda3              47        1003     7687102+  83  Linux
/dev/sda4            1004       19457   148231755   83  Linux

Disk /dev/sdb: 1017 MB, 1017643008 bytes
16 heads, 32 sectors/track, 3882 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        3882      993776    b  W95 FAT32
[root@myhost sia]# mount /dev/sdb1
mount: can't find /dev/sdb1 in /etc/fstab or /etc/mtab
[root@myhost sia]# mount /dev/sdb
mount: can't find /dev/sdb in /etc/fstab or /etc/mtab
[root@myhost sia]# cd /media/ ls-l
[root@myhost media]# cd /media/
[root@myhost media]# ls -la
total 20
drwxr-xr-x  5 root root 4096 Nov  1 04:53 .
drwxr-xr-x 21 root root 4096 Dec 31 02:34 ..
drwxr-xr-x  2 root root 4096 Nov  1 04:53 cd
drwxr-xr-x  2 root root 4096 Nov  1 04:53 dvd
drwxr-xr-x  2 root root 4096 Nov  1 04:53 fl

best regards

Solution:
adding

exec ck-launch-session startlxde

insted of

exec startlxde

in ~/.xinitrc , thnx jasonwryan smile

Last edited by DeSian (2009-12-31 04:57:12)

Offline

#2 2009-12-31 04:06:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] mounting USB device!

How are you starting LXDE? What does dmesg show after inserting the drive? Where are you trying to mount it to?

http://wiki.archlinux.org/index.php/USB_Storage_Devices


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2009-12-31 04:24:19

DeSian
Member
From: South Kurdistan
Registered: 2009-12-30
Posts: 7
Website

Re: [SOLVED] mounting USB device!

jasonwryan wrote:

How are you starting LXDE? What does dmesg show after inserting the drive? Where are you trying to mount it to?

http://wiki.archlinux.org/index.php/USB_Storage_Devices

adding exec startlxde in .xinitrc and with startx like the wiki article or always smile

Offline

#4 2009-12-31 04:34:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] mounting USB device!

Try

exec ck-launch-session startlxde

...because it is also inhibiting your shutdown/reboot I suspect it is a consolekit issue. Are you using a DM?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2009-12-31 04:43:42

DeSian
Member
From: South Kurdistan
Registered: 2009-12-30
Posts: 7
Website

Re: [SOLVED] mounting USB device!

jasonwryan wrote:

Try

exec ck-launch-session startlxde

...because it is also inhibiting your shutdown/reboot I suspect it is a consolekit issue.

exactly smile thnx again

jasonwryan wrote:

Are you using a DM?

No, i don't like it.

Offline

#6 2009-12-31 04:47:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] mounting USB device!

So that worked? If so, can you mark this solved.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2009-12-31 04:57:34

DeSian
Member
From: South Kurdistan
Registered: 2009-12-30
Posts: 7
Website

Re: [SOLVED] mounting USB device!

done!

Offline

#8 2009-12-31 04:58:14

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] mounting USB device!

DeSian wrote:

done!

Excellent. Great to end the year with a win!


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2010-01-08 17:47:17

self_bias_resistor
Member
Registered: 2009-03-27
Posts: 4

Re: [SOLVED] mounting USB device!

Had the same problem, this..

File: ~.xinitrc

exec ck-launch-session window-manager

...solved it. Thanks ;P

Offline

Board footer

Powered by FluxBB