Comment 21 for bug 1211892

Revision history for this message
Ian Abbott (ian-abbott) wrote :

This is the patch I submitted to the gentoo bug. It applies to lightdm-1.7.15.

The issue was that session_set_tty() was being set to the correct value "/dev/tty%d",vt by x_server_connect_session() if the vt value is valid, but then knobbled with an incorrect value later in the same function using the xdisplay value.

The patch removes the extra call to session_set_tty() that knobbles the tty value.

I guess it would be easy enough to apply to the trunk as it's just a one-line change.