autologin does not source $HOME/.Xresources

Bug #1130329 reported by Paul Jolly
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Light Display Manager
Incomplete
Medium
Unassigned

Bug Description

With the following /etc/lightdm/lightdm.conf, my $HOME/.Xresources is sourced at login:

[SeatDefaults]
user-session=ubuntu
greeter-session=unity-greeter

But if I set auto-login, it is not sourced:

[SeatDefaults]
autologin-guest=false
autologin-user=myitcv
autologin-user-timeout=0
autologin-session=lightdm-autologin
user-session=ubuntu
greeter-session=unity-greeter

My test for detecting whether it has been sourced is fairly rudimentary. In my Xresources I have the following:

xterm*selectToClipBoard: true
xterm*trimSelection: true
XTerm*VT100.Translations: #override \
    Mod1 <KeyPress> V : insert-selection(CLIPBOARD,PRIMARY,CUT_BUFFER1)

So if Xresources has been correctly sourced I can Alt-v to paste text in my Xterm. If it hasn't, I need to resort to middle-mouse click.

There is probably a simpler test but this is how I detected the problem.

Is this a bug or am I missing something?

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Is this still occurring? What version of LightDM?

Changed in lightdm:
status: New → Incomplete
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.