1678c
![]() |
|
|
|
|
|||||||
| GNOME The GNOME desktop environment |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello everyone,
I've installed FreeBSD 8.2 a few days ago and tried to get Gnome working. So far I've followed the instructions from here http://www.freebsd.org/gnome/docs/halfaq.html and got Automount working for harddrives and even USB sticks. But still CD's and DVD's won't get mounted automatically. I can mount them by mount -t cd9660 /dev/acd0 /<somewhere>and even by gvfs-mount cdda://acd0 for AudioCD's. Applications like xine can play all types of media, video dvd's, audio cd's and so on. But all "pure" Gnome applications won't even find a DVD drive. I spen5tsome time searching the net, but only found threads dating back to 2004. They modified files and daemons that aren't present today. Does anyone have a hint for me? The drive is a SATA drive labeled Sony DRU 875S, and is detected. It is visible in dmesg, and I can mount manually (as described above). Thanks in advance. Last edited by DutchDaemon; March 10th, 2011 at 11:39. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#2
|
||||
|
||||
|
You'll need to start Gnome using GDM.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#3
|
|||
|
|||
|
Well, is this the only way?
|
|
#4
|
||||
|
||||
|
No, the other is to edit /usr/local/etc/PolicyKit/PolicyKit.conf as indicated in the HAL FAQ.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#5
|
|||
|
|||
|
Well thanks for the answer, but I already modified policykit.conf. It already works for USB and hard disk. That is what puzzles me!
|
|
#6
|
||||
|
||||
|
Please post the output of
ck-list-sessions (when Gnome has been started).
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#7
|
|||
|
|||
|
Sorry for the response time, but I had some work to do, before I could launch BSD. Your last statement brought me to a trail. The ouput you demanded is empty. I tried as user and as root.
|
|
#8
|
||||
|
||||
|
That means there's no PolicyKit session. Which basically means PolicyKit.conf doesn't work.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#9
|
|||
|
|||
|
Are you sure? I mean, I followed the hal-faq to the letter, and I do not use GDM for starting gnome, I use the startx-command. One thing I noticed is that there is no polkitd in FreeBSD, while Gnome uses it in Debian Squeeze (which I'm running right now for research). I installed Gnome not from ports but from the packages available via pkg_add -r.
|
|
#10
|
||||
|
||||
|
That's the reason why you don't have a ConsoleKit/PolicyKit session.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#11
|
|||
|
|||
|
Well in conclusion that means, if I want to enable automount for cd/dvd I need gdm. But why does it work right now on USB sticks and hard disks, they shouldn't be working either?
|
|
#12
|
|||
|
|||
|
Well I started the ck session manually by issuing
Now I can post the desired output: Code:
Session1: unix-user = '1001' realname = 'User ThomasNeugebauer' seat = 'Seat2' session-type = '' active = FALSE x11-display = ':0.0' x11-display-device = 'ttyv0' display-device = 'pts/0' remote-host-name = '' is-local = FALSE on-since = '2011-03-10T20:07:36.523325Z' login-session-id = '' |
|
#13
|
|||
|
|||
|
Ok, as far as I have researched, I can tell, that it is no problem of the gnome gui, it is hal related. My PolyciKit settings are allright and I don't need the ck sessions according to the hal FAQ (otherwise automount of USB sticks or harddisks wouldn't be possible). I've found out that lshal doesn't list my DVD drive (lshal under Debian Linux shows it), so it may be caused by some permission problems (although I acd0 is readable, writeable and executable for everyone) or an special config hal itself needs.
|
|
#14
|
|||
|
|||
|
Well, as I stated before: Running Gnome without ConsoleKit Session is possible. My mistake was not to load atapicam at startup. Adding
Code:
atapicam_load="YES" Last edited by DutchDaemon; March 18th, 2011 at 18:05. |
| The Following User Says Thank You to x-com For This Useful Post: | ||
Garrosh (May 11th, 2011) | ||
![]() |
| Tags |
| automount, gnome, hal |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Automounting Windows shares | nitmd | Web & Network Services | 1 | March 8th, 2011 02:36 |
| automounting devices | mitsumoto | General | 1 | November 29th, 2010 08:59 |
| [Solved] PF: can't get ftp to work | graudeejs | Firewalls | 47 | September 13th, 2009 22:50 |
| Backup FreeBSD - On CD-R's or DVD's ? | Ronaldr | General | 6 | July 28th, 2009 07:41 |
| watching movie dvd's/libdvdcss | winbsdman | Multimedia | 4 | April 6th, 2009 14:58 |