Thanks for your quick response. Indeed that was the problem.

My shell configuration files were quite old. I have updated them with the changes in /etc/skel. In addition, for some reason I had .bash_profile instead of .profile, and the later was a symlink to the former. The symlink dated back to October 2008. I fixed this too, and now it is working correctly.

Thanks for your help!

Cheers,
Josep M. Perez


On 21/08/14 17:22, Simon McVittie wrote:
On 21/08/14 15:51, Josep M. Perez Cancer wrote:
Aug 21 13:28:37 bsccs243 /etc/gdm3/Xsession[21442]:
/etc/gdm3/Xsession: Beginning session setup...
Aug 21 13:28:37 bsccs243 /etc/gdm3/Xsession[21442]:
/etc/bash_completion.d/pulseaudio-bash-completion.sh: line 6: syntax
error near unexpected token `<'
Aug 21 13:28:37 bsccs243 /etc/gdm3/Xsession[21442]:
/etc/bash_completion.d/pulseaudio-bash-completion.sh: line 6: ` done <
<(pactl list cards short 2> /dev/null)'

I think this might be the error that is terminating your X session.
/etc/gdm3/Xsession is a /bin/sh script and sources ~/.profile.

Please try removing bash-specific things from your ~/.profile, moving
them to ~/.bashrc, or guarding them with:

     if [ "z$BASH_VERSION" != z ]
     then
         ... enable bash completion or source .bashrc or whatever ...
     fi

It might also be useful to guard things that are specific to an
interactive shell with

     if [ -n "$PS1" ]
     then
         ... things that only make sense in an interactive shell ...
     fi

If that is indeed the cause of this error, I'll leave it to the gdm
maintainers to decide whether this is a gdm bug or not. According to the
changelog, it has sourced ~/.profile since gdm/2.20.2-1 in 2007, so this
isn't a recent thing (but /etc/X11/Xsession doesn't, which explains why
you don't see this in non-gdm).

     S



WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to