You are not logged in.

#1 2014-08-30 21:31:57

ThePacman
Member
From: Classified
Registered: 2013-09-19
Posts: 127

ecryptfs Private folder not automounted with Xfce/LXDM

Title says it all - my ~/.xinitrc has the regular things from /etc/skel/.xinitrc with the xfce4-launching line uncommented.
I've got LXDM set up as my display manager.

gnome-keyring *is* installed.

What do I need to do to get my login keyring unlocked automatically (and my ecryptfs Private folder mounted)? I only care about it being unlocked when I log in via DM - I don't need it unlocked by SSH or Getty/console logins.

I'm guessing that since LXDM doesn't automatically unlock the keyring that it's equivalent to setting it up without a DM? (If so, how would I do this? Via the PAM setup?)

Last edited by ThePacman (2014-08-30 21:32:21)


Fedora believes in "software freedom" - that is, restricting user software choices to those deemed appropriately licensed by The Powers That Be.
Arch believes in "freedom", as well - the user has control over his or her system and can do what he wants with it.
https://fedoraproject.org/wiki/Forbidden_items | https://wiki.archlinux.org/index.php/The_Arch_Way

Offline

#2 2014-08-31 19:18:33

ThePacman
Member
From: Classified
Registered: 2013-09-19
Posts: 127

Re: ecryptfs Private folder not automounted with Xfce/LXDM

My ~/.xinitrc is:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

export VISUAL=leafpad

# exec gnome-session
# exec startkde
exec startxfce4
# ...or the Window Manager of your choice

and my /etc/lxdm/lxdm.conf: (It's the default config slightly modified to use VT7 as the minimum terminal, but I thought I'd post it anyway for completeness' sake)

[base]
## uncomment and set autologin username to enable autologin
# autologin=dgod

## uncomment and set timeout to enable timeout autologin,
## the value should >=5
# timeout=10

## default session or desktop used when no systemwide config
# session=/usr/bin/startlxde

## uncomment and set to set numlock on your keyboard
numlock=1

## set this if you don't want to put xauth file at ~/.Xauthority
# xauth_path=/tmp

# not ask password for users who have empty password
# skip_password=1

## greeter used to welcome the user
greeter=/usr/lib/lxdm/lxdm-greeter-gtk

[server]
## arg used to start xserver, not fully function
arg=/usr/bin/X -background vt7
# uncomment this if you really want xserver listen to tcp
# tcp_listen=1
# uncoment this if you want reset the xserver after logou
# reset=1

[display]
## gtk theme used by greeter
gtk_theme=Clearlooks

## background of the greeter
# bg=/usr/share/backgrounds/default.png

## if show bottom pane
bottom_pane=1

## if show language select control
lang=0

## if show keyboard layout select control
keyboard=0

## the theme of greeter
theme=Industrial

[input]

[userlist]
## if disable the user list control at greeter
disable=0

## whitelist user
white=

## blacklist user
black=root

Fedora believes in "software freedom" - that is, restricting user software choices to those deemed appropriately licensed by The Powers That Be.
Arch believes in "freedom", as well - the user has control over his or her system and can do what he wants with it.
https://fedoraproject.org/wiki/Forbidden_items | https://wiki.archlinux.org/index.php/The_Arch_Way

Offline

Board footer

Powered by FluxBB