LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Xfce 4.8 (https://www.linuxquestions.org/questions/slackware-14/xfce-4-8-a-843467/)

rmjohnso 02-19-2011 12:16 PM

Quote:

Originally Posted by cwizardone (Post 4263381)
For the first time in many months, this morning I had the opportunity to use a Floppy disk and an external USB drive.
Neither were recognized by Xfce 4.8. I was able to get to the USB drive by opening a terminal and, as root, mounting
it "by hand," but was never able to get it to see the floppy.
Just FYI.

Can you mount the USB drive with your normal user from a terminal using udisks?

rmjohnso 02-19-2011 06:49 PM

I just found these instructions from the archlinux team, and they seem to fix my USB mounting problems.

https://wiki.archlinux.org/index.php...ovable_devices

rworkman 02-19-2011 08:27 PM

Quote:

Originally Posted by rmjohnso (Post 4264311)
I just found these instructions from the archlinux team, and they seem to fix my USB mounting problems.

https://wiki.archlinux.org/index.php...ovable_devices

I don't know what's different on your system, but none of that should be necessary.

rmjohnso 02-19-2011 08:37 PM

Are there any settings I can double-check to see what is causing the problem?

rworkman 02-19-2011 08:49 PM

The only thing that comes to mind is to make sure the xinitrc file in your $HOME matches the one installed on the system.

How are you starting Xfce? (e.g. runlevel 3 then startx, runlevel 3 then startxfce4, runlevel 4 via gdm, runlevel 4 via slim, etcetera)

After starting Xfce, what is the output of "ck-list-sessions" from an xterm?

rmjohnso 02-19-2011 09:16 PM

I don't have an xinitrc in my $HOME, and I start xfce from runlevel 3 with startx.

This is the output of 'ck-list-sessions':

Code:

Session1:
        unix-user = '1000'
        realname = ''
        seat = 'Seat1'
        session-type = ''
        active = TRUE
        x11-display = ':0'
        x11-display-device = '/dev/tty7'
        display-device = '/dev/tty1'
        remote-host-name = ''
        is-local = TRUE
        on-since = '2011-02-20T00:48:05.864606Z'
        login-session-id = '4294967295'


cwizardone 02-19-2011 09:31 PM

When using Xfce 4.6.1 or 2 there were always 3 to 4, sometimes more, Thunar related icons on the desktop. There was
one for the "file system," one for my "Home" directory, one for the floppy drive regardless if whether or not there was a floppy in the drive, and others if there was a disk in one of the CD/DVD drives or a external USB drive was plugged in.
With 4.8 there are only two icons, one for the "file system" and one for "home." The floppy drive, as far as Xfce is concerned, doesn't exist. It doesn't matter what I plug-in to a USB port or insert into a CD/DVD drive, they are not recognized.

rworkman 02-19-2011 11:01 PM

Quote:

Originally Posted by rmjohnso (Post 4264386)
I don't have an xinitrc in my $HOME, and I start xfce from runlevel 3 with startx.

ConsoleKit session info looks fine. Re xinitrc, I wasn't clear on what I meant - it's actually $HOME/.xinitrc, which is copied into place by xwmconfig

---------- Post added Feb 19th, 2011 at 23:01 ----------

Quote:

Originally Posted by cwizardone (Post 4264394)
When using Xfce 4.6.1 or 2 there were always 3 to 4, sometimes more, Thunar related icons on the desktop. There was
one for the "file system," one for my "Home" directory, one for the floppy drive regardless if whether or not there was a floppy in the drive, and others if there was a disk in one of the CD/DVD drives or a external USB drive was plugged in.
With 4.8 there are only two icons, one for the "file system" and one for "home." The floppy drive, as far as Xfce is concerned, doesn't exist. It doesn't matter what I plug-in to a USB port or insert into a CD/DVD drive, they are not recognized.

I don't have any way of testing the floppy stuff - I don't have one :/

rmjohnso 02-20-2011 09:30 AM

I ran xwmconfig, but it did not copy an xinitrc to my $HOME directory.

sycamorex 02-20-2011 09:34 AM

Quote:

Originally Posted by rmjohnso (Post 4264770)
I ran xwmconfig, but it did not copy an xinitrc to my $HOME directory.

Have you chosen a desktop environment in xwmconfig?
Also please note that it's .xinitrc not xinitrc

cwizardone 02-20-2011 11:18 AM

Quote:

Originally Posted by rworkman (Post 4264418)
....I don't have any way of testing the floppy stuff - I don't have one :/

Just for chuckles I re-installed Xfce 4.6.2 (from current) and voilą, the floppy drive icon re-appeared.
I think I'll stay with 4.6.2 for a while (yeah, I know, I've said that before :) )

rmjohnso 02-20-2011 11:23 AM

Quote:

Originally Posted by sycamorex (Post 4264773)
Have you chosen a desktop environment in xwmconfig?
Also please note that it's .xinitrc not xinitrc

I realized I only ever ran xwmconfig as root and not using my normal account. I never ran it as my normal user because I wanted the system-wide setting to be xfce. I reran xwmconfig using my normal account, and now I have the .xinitrc file in my $HOME directory. However, it does not solve the USB mounting issue, so I've added back the polkit-1 rule and the storage group as the Arch Linux team suggested.

disturbed1 02-20-2011 12:35 PM

Quote:

Originally Posted by rmjohnso (Post 4264865)
I realized I only ever ran xwmconfig as root and not using my normal account. I never ran it as my normal user because I wanted the system-wide setting to be xfce. I reran xwmconfig using my normal account, and now I have the .xinitrc file in my $HOME directory. However, it does not solve the USB mounting issue, so I've added back the polkit-1 rule and the storage group as the Arch Linux team suggested.

Are you using PAM?
Arch is using a hack to bypass a bug in PAM.
Quote:

The changes doesn't need any restart or reload. Please note that this is a temporary solution as Ionut and other core dev prefer to fix the pam + ck issues
USB/CD/DVD mounting works flawlessly here (init 4 from KDM). Even when Thunar is not opened, if I insert a flash drive, Thunar will auto open to the mounted drive. I suspect you double checked your group permissions, and do not have conflicting entries in fstab.

What happens if you launch xfce from KDM? I wonder if this is another issue with their xinitrc?

rmjohnso 02-20-2011 01:02 PM

I'm not using PAM.

I don't have anything KDE installed. If there aren't any other options, I might install it to see how things go with KDM.

Here is my fstab:
Code:

/dev/sda2        /                  ext4              defaults        1  1
/dev/sda1        /media/c          ntfs-3g    umask=000              1  0
/dev/sda3        /media/d        ntfs-3g    umask=000        1  0
#/dev/cdrom      /mnt/cdrom      auto        noauto,owner,ro  0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0
tmpfs            /dev/shm        tmpfs      defaults        0  0

My normal user account is a member of the following groups:
root, wheel, floppy, audio, video, cdrom, messagebus, users, console, vboxusers, and storage (added storage per Arch Linux suggestion)

disturbed1 02-20-2011 01:14 PM

Why aren't you a member of plugdev power? ;)


All times are GMT -5. The time now is 01:03 AM.