[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#792859: /etc/X11/Xsession: XFCE session does not start from lightdm; Xsession found not executable



Package: x11-common
Version: 1:7.7+7
Severity: important
File: /etc/X11/Xsession

Dear Maintainer,

encountered an insidious problem on a fresh install of Debian/Stable.

 * did a fresh install, wiping out and reformatting my old system partition
(booted from the official XFCE image for amd64)
 * worked for half a day, started integrating customisations from my old
system, like aliasses, profile, mounts
 * changed the hostname (edit /etc/hostname and all other places I found with
grep in /etc, then used hostnamectrl to set it, reboot)
 * unable to start desktop from ligthdm greeter

Symptoms:
 * after entering the password, X stops (screen gets black). Then lightdm
restarts
 * the journal shows nothing special (some warings and errors I see always).
 * Just that X terminates immediately when executing Xsession

Remedy:
Found Bug 748944 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748944
The symptoms reported there are identical (also, my .xsession-errors was empty)

Indeed, my Xsession was not executable.
chmod a+x
Problem solved, XFCE starts normal


Relevant observations
 * now the problem is reproducible: remove x-flag for 'others' -> won't start
 * XFCE session still starts when logging in on a VT and invoking startx

 * BUT NOTE: it did work from the installation until the moment I changed the
hostname
 * I did a full backup, after I re-integrated my profile and bashrc.
   This Backup positively shows that Xsession was not executable

-rw-r--r-- root/root      3517 2013-09-26 01:24 etc/X11/Xsession
-rw-r--r-- root/root       265 2013-09-26 01:24 etc/X11/Xsession.options

   yet still the launch from lightdm worked, after the backup, until changing
the hostname


So my conclusion is, either Xsession was installed not executable, or something
in the scripting changed the permissions
(I for sure won't do such a thing). And, more important, even while not
executable, the launch worked and then
ceased to work for no obvious reason.



-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages x11-common depends on:
ii  debconf [debconf-2.0]  1.5.56
ii  lsb-base               4.1+Debian13+nmu1

x11-common recommends no packages.

x11-common suggests no packages.

-- debconf information:
  x11-common/xwrapper/allowed_users: Console Users Only
  x11-common/xwrapper/actual_allowed_users: console


Reply to: