Hello, FreeBSD users! I've recently migrated from Archlinux and so far I'm happy with FreeBSD. However, gnome is being naughty.
I have two problems:
1. GDM crashes after a few seconds of being loaded up
2. Nautilus mounting issues
Problem 1:
Whenever I FreeBSD, gdm loads up and works for a few seconds up to 30 seconds. I can login, and enter gnome-shell, however once these 30 seconds are up, I am logged out and gdm crashes with the following messages on screen:
GLib-GObject: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
gdm_settings_get_value: assertion 'GDM_IS_SETTINGS (settings)' failed
So usually I wait for it to crash and use startx
.xinitrc file:
Problem 2:
Whenever I plugin a fat32 usb, it automatically works and mounts. However, if I unplug the usb drive, nautilus shows that the usb is still mounted. If I try to unmount it, it doesn't work. If I reboot the system, it goes away.
If I have an external hard disk with the ntfs filesystem plugged in, nautilus displays the name of the drive, however it does not have it automatically mounted and if I try to mount it, it doesn't mount.
Inside /media, I can see hal lock file in there but not the disk folder that is usually generated when a disk is plugged in.
fusefs is installed, loaded and working. fusefs-ntfs is also installed and ntfs-3g is linked to sbin
/etc/rc.conf
/etc/devfs.rules
/etc/devfs.conf
/etc/sysctl.conf
/boot/loader.conf
$ id hamzan
$ uname -a
I have two problems:
1. GDM crashes after a few seconds of being loaded up
2. Nautilus mounting issues
Problem 1:
Whenever I FreeBSD, gdm loads up and works for a few seconds up to 30 seconds. I can login, and enter gnome-shell, however once these 30 seconds are up, I am logged out and gdm crashes with the following messages on screen:
GLib-GObject: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
gdm_settings_get_value: assertion 'GDM_IS_SETTINGS (settings)' failed
So usually I wait for it to crash and use startx
.xinitrc file:
Code:
exec ck-launch-session gnome-session
Problem 2:
Whenever I plugin a fat32 usb, it automatically works and mounts. However, if I unplug the usb drive, nautilus shows that the usb is still mounted. If I try to unmount it, it doesn't work. If I reboot the system, it goes away.
If I have an external hard disk with the ntfs filesystem plugged in, nautilus displays the name of the drive, however it does not have it automatically mounted and if I try to mount it, it doesn't mount.
Inside /media, I can see hal lock file in there but not the disk folder that is usually generated when a disk is plugged in.
fusefs is installed, loaded and working. fusefs-ntfs is also installed and ntfs-3g is linked to sbin
/etc/rc.conf
Code:
clear_tmp_enable="YES"
hostname="Trinity"
ifconfig_re0="DHCP"
sshd_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
webcamd_enable="YES"
hald_enable="YES"
dbus_enable="YES"
gnome_enable="YES"
cupsd_enable="YES"
devfs_system_ruleset="system"
/etc/devfs.rules
Code:
[system=10]
add path 'dri/*' mode 0666 group video
add path 'da*' mode 0660 group usb
add path 'usb/*' mode 0660 group usb
add path 'usb *' mode 0770 group cups
add path 'ugen *' mode 0660 group cups
add path 'usb/0.1. *' mode 0660 group cups
add path 'usb/1.1. *' mode 0660 group cups
add path 'usb/1.2. *' mode 0660 group cups
add path 'cd0' mode 0660 group usb
/etc/devfs.conf
Code:
perm devstat 0444
#Mount
own acd0 root:usb
perm acd0 0660
#Mount USB permissions to usergroup usb
own /dev/da0 root:usb
perm /dev/da00 0660
#Mount CD permissions to usergroup usb
own /dev/cd0 root:usb
perm /dev/cd0 0660
own /dev/ntfs/ root:usb
perm /dev/ntfs 0660
own /dev/pass0 root:usb
perm /dev/pass0 0660
own /dev/xpt0 root:usb
perm /dev/xpt0 0660
own /dev/mdctl root:usb
perm /dev/mdctl 0660
own /dev/md0 root:usb
perm /dev/md0 0660
/etc/sysctl.conf
Code:
vfs.usermount=1
kern.corefile=/tmp/%N.core
/boot/loader.conf
Code:
kern.vty=vt
cuse4bsd_load="YES"
cuse_load="YES"
fuse_load="YES"
$ id hamzan
Code:
uid=1001(hamzan) gid=1001(hamzan) groups=1001(hamzan),0(wheel),44(video),193(cups),145(webcamd),1002(usb)
$ uname -a
Code:
FreeBSD Trinity 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64