Bug#758810: [gdm3] gdm3: fails to start gnome

2014-08-25 Thread Josep M. Perez Cancer

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



Bug#758810: [gdm3] gdm3: fails to start gnome

2014-08-21 Thread Josep M. Perez Cancer

Package: gdm3
Version: 3.12.2-2.1
Severity: grave

--- Please enter the report below this line. ---

Since upgrading from gdm to gdm3, it fails to start both the gnome-shell 
session and the classic gnome session. KDM launches them correctly, 
however it is not a good solution since kdm does not work correctly with 
screen locking in gnome 3.


The following lines show the logs that I get since entering the password 
until it is about to restart the X server to show the greeter again:


Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: (II) AIGLX: Resuming AIGLX 
clients after VT switch
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: (II) NOUVEAU(0): NVEnterVT 
is called.
Aug 21 13:28:31 bsccs243 console-kit-daemon[10808]: (process:21365): 
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: (II) NOUVEAU(0): EDID 
vendor LGD, prod id 747
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: (II) NOUVEAU(0): Printing 
DDC gathered Modelines:
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: (II) NOUVEAU(0): Modeline 
1366x768x0.0   70.00  1366 1402 1450 1492  768 771 776 782 -hsync 
-vsync (46.9 kHz eP)
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: (II) NOUVEAU(0): Modeline 
1366x768x0.0   48.30  1366 1402 1450 1524  768 771 776 792 -hsync 
-vsync (31.7 kHz e)
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: (--) synaptics: AlpsPS/2 
ALPS DualPoint TouchPad: touchpad found
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap 
compiler (xkbcomp) reports:
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]:  Warning: Type ONE_LEVEL 
has 1 levels, but RALT has 2 symbols

Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]:  Ignoring extra symbols
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not 
fatal to the X server
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap 
compiler (xkbcomp) reports:
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]:  Warning: Compat map for 
group 2 redefined

Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]:  Using new definition
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]:  Warning: Compat map for 
group 3 redefined

Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]:  Using new definition
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]:  Warning: Compat map for 
group 4 redefined

Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]:  Using new definition
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not 
fatal to the X server
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap 
compiler (xkbcomp) reports:
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]:  Warning: Type ONE_LEVEL 
has 1 levels, but RALT has 2 symbols

Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]:  Ignoring extra symbols
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not 
fatal to the X server
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap 
compiler (xkbcomp) reports:
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]:  Warning: Type ONE_LEVEL 
has 1 levels, but RALT has 2 symbols

Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]:  Ignoring extra symbols
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not 
fatal to the X server
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap 
compiler (xkbcomp) reports:
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]:  Warning: Type ONE_LEVEL 
has 1 levels, but RALT has 2 symbols

Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]:  Ignoring extra symbols
Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not 
fatal to the X server
Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap 
compiler (xkbcomp) reports:
Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]:  Warning: Type ONE_LEVEL 
has 1 levels, but RALT has 2 symbols

Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]:  Ignoring extra symbols
Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not 
fatal to the X server
Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap 
compiler (xkbcomp) reports:
Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]:  Warning: Compat map for 
group 2 redefined

Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]:  Using new definition
Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]:  Warning: Compat map for 
group 3 redefined

Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]:  Using new definition
Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]:  Warning: Compat map for 
group 4 redefined

Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]:  Using new definition
Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not 
fatal to the X server
Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap 
compiler (xkbcomp) reports:
Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]:  Warning: Type ONE_LEVEL 
has 1 levels, but RALT has 2 symbols

Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]:  Ignoring extra symbols
Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not 
fatal to the X server
Aug 21 13:28:32 

Bug#758810: [gdm3] gdm3: fails to start gnome

2014-08-21 Thread Simon McVittie
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


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