LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Failed to log in while xorg.conf exists in /etc/X11 (https://www.linuxquestions.org/questions/debian-26/failed-to-log-in-while-xorg-conf-exists-in-etc-x11-4175643993/)

VladKonti 12-10-2018 06:34 AM

Failed to log in while xorg.conf exists in /etc/X11
 
Hi all!
Yesterday I have upgraded my Asus U50V from Debian 8 to Debian 9 and found inoperative touchpad ElanTech ETPS/2.
Trying to solve that I have copied /usr/share/X11/xorg.conf.d/70-synaptics.conf to /etc/X11/xorg.conf with copy-pasted output of synclient (afer restoring touchpad operation) and met another problem.

Now after rebooting I'm unable to login in graphic shell (GNOME) - it falls in endless loop prompting me to enter password again and again. The same happens with using "not in list" button.
That can be avoided by loging in from another virtual terminal (Ctrl-Alt-F2) and renaming /etc/X11/xorg.conf. Then Ctrl-Alt-F1 - and normal login is available.

So, three questions in one :-) : can I easy have by default
1) left-handed mouse (well, there are a lot of posts on that, I didn't try yet) 2) with operative touchpad and
3) possibility to login without terminal switching :-),
like it was two days ago under Debian 8?
Thank you!
Vladislav.

ondoho 12-11-2018 01:36 AM

Quote:

Originally Posted by VladKonti (Post 5935456)
Trying to solve that I have copied /usr/share/X11/xorg.conf.d/70-synaptics.conf to /etc/X11/xorg.conf with copy-pasted output of synclient (afer restoring touchpad operation) and met another problem.

sorry for my harsh critique, but that is complete nonsense.
just delete that file and reboot.
does Xorg now start again?

while it is possible to fix a non-operative touchpad through Xorg config files, it can also be fixed with configuration after login.

let's see the oputput of these terminal commands:
Code:

xinput
synclient


VladKonti 12-11-2018 03:34 AM

Quote:

Originally Posted by ondoho (Post 5935731)
while it is possible to fix a non-operative touchpad through Xorg config files, it can also be fixed with configuration after login.

Yes, that is the way how it works now. String
Code:

synclient TapButton1=1 TapButton2=3 HorizTwoFingerScroll=1
is added to ~/.profile

Output of
Code:

xinput
:

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ETPS/2 Elantech Touchpad id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ CKF8156 id=9 [slave keyboard (3)]
↳ Asus Laptop extra buttons id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]

Output of
Code:

synclient
:

Parameter settings:
LeftEdge = 46
RightEdge = 1106
TopEdge = 31
BottomEdge = 545
FingerLow = 1
FingerHigh = 1
MaxTapTime = 180
MaxTapMove = 56
MaxDoubleTapTime = 180
SingleTapTimeout = 180
ClickTime = 100
EmulateMidButtonTime = 75
EmulateTwoFingerMinZ = 282
EmulateTwoFingerMinW = 7
VertScrollDelta = 25
HorizScrollDelta = 25
VertEdgeScroll = 0
HorizEdgeScroll = 0
CornerCoasting = 0
VertTwoFingerScroll = 1
HorizTwoFingerScroll = 1
MinSpeed = 1
MaxSpeed = 1.75
AccelFactor = 0.1554
TouchpadOff = 0
LockedDrags = 0
LockedDragTimeout = 5000
RTCornerButton = 0
RBCornerButton = 0
LTCornerButton = 0
LBCornerButton = 0
TapButton1 = 1
TapButton2 = 3
TapButton3 = 0
ClickFinger1 = 1
ClickFinger2 = 1
ClickFinger3 = 1
CircularScrolling = 0
CircScrollDelta = 0.1
CircScrollTrigger = 0
CircularPad = 0
PalmDetect = 0
PalmMinWidth = 10
PalmMinZ = 200
CoastingSpeed = 20
CoastingFriction = 50
PressureMotionMinZ = 30
PressureMotionMaxZ = 160
PressureMotionMinFactor = 1
PressureMotionMaxFactor = 1
GrabEventDevice = 0
TapAndDragGesture = 1
AreaLeftEdge = 0
AreaRightEdge = 0
AreaTopEdge = 0
AreaBottomEdge = 0
HorizHysteresis = 6
VertHysteresis = 6
ClickPad = 0

Maybe my xorg.conf is wrong? I have inside:

Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
LeftEdge=46
RightEdge=1106
TopEdge=31
BottomEdge=545
FingerLow=1
FingerHigh=1
MaxTapTime=180
MaxTapMove=56
MaxDoubleTapTime=180
SingleTapTimeout=180
ClickTime=100
EmulateMidButtonTime=75
EmulateTwoFingerMinZ=282
EmulateTwoFingerMinW=7
VertScrollDelta=25
HorizScrollDelta=25
VertEdgeScroll=0
HorizEdgeScroll=0
CornerCoasting=0
VertTwoFingerScroll=1
HorizTwoFingerScroll=1
MinSpeed=1
MaxSpeed=1.75
AccelFactor=0.1554
TouchpadOff=0
LockedDrags=0
LockedDragTimeout=5000
RTCornerButton=0
RBCornerButton=0
LTCornerButton=0
LBCornerButton=0
TapButton1=1
TapButton2=3
TapButton3=3
ClickFinger1=1
ClickFinger2=3
ClickFinger3=3
CircularScrolling=0
CircScrollDelta=0.1
CircScrollTrigger=0
CircularPad=0
PalmDetect=0
PalmMinWidth=10
PalmMinZ=200
CoastingSpeed=20
CoastingFriction=50
PressureMotionMinZ=30
PressureMotionMaxZ=160
PressureMotionMinFactor=1
PressureMotionMaxFactor=1
GrabEventDevice=0
TapAndDragGesture=1
AreaLeftEdge=0
AreaRightEdge=0
AreaTopEdge=0
AreaBottomEdge=0
HorizHysteresis=6
VertHysteresis=6
ClickPad=0

# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/ho...on-errors.html
# MatchDevicePath "/dev/input/event*"
EndSection

Sorry, I am newbie here, I don't know how to roll up such long pastes.

Thank you!
Vladislav.

ondoho 12-12-2018 01:22 AM

Quote:

Originally Posted by VladKonti (Post 5935764)
Yes, that is the way how it works now. String
Code:

synclient TapButton1=1 TapButton2=3 HorizTwoFingerScroll=1
is added to ~/.profile

so it works like this?
then copy /usr/share/X11/xorg.conf.d/70-synaptics.conf to /etc/X11/xorg.conf.d/70-synaptics.conf, and add those options to it (the syntax might differ slightly, check that beforehand).

VladKonti 12-12-2018 08:28 AM

Quote:

Originally Posted by ondoho (Post 5936161)
then copy /usr/share/X11/xorg.conf.d/70-synaptics.conf to /etc/X11/xorg.conf.d/70-synaptics.conf.

ondoho thank you! (Really thank you!) You have given me two hours of fascinating investigation. The result is: suggested /usr/share/X11/xorg.conf.d/70-synaptics.conf can work (I mean do nothing) only in it's original untouched state in both /etc/X11/xorg.conf.d/70-synaptics.conf and /etc/X11/xorg.conf places. Any added string like in code below results in endless login.

Code:

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
#        LeftEdge=46
#        RightEdge=1106
#        TopEdge=31
#        BottomEdge=545
#        FingerLow=1
#        FingerHigh=1
#        MaxTapTime=180
#        MaxTapMove=56
#        MaxDoubleTapTime=180
#        SingleTapTimeout=180
#        ClickTime=100
#        EmulateMidButtonTime=75
#        EmulateTwoFingerMinZ=282
#        EmulateTwoFingerMinW=7
#        VertScrollDelta=25
#        HorizScrollDelta=25
#        VertEdgeScroll=0
#        HorizEdgeScroll=0
#        CornerCoasting=0
#        VertTwoFingerScroll=1
#        HorizTwoFingerScroll=1
#        MinSpeed=1
#        MaxSpeed=1.75
#        AccelFactor=0.1554
#        TouchpadOff=0
#        LockedDrags=0
#        LockedDragTimeout=5000
#        RTCornerButton=0
#        RBCornerButton=0
#        LTCornerButton=0
#        LBCornerButton=0
        TapButton1=1
#        TapButton2=3
#        TapButton3=3
#        ClickFinger1=1
#        ClickFinger2=3
#        ClickFinger3=3
#        CircularScrolling=0
#        CircScrollDelta=0.1
#        CircScrollTrigger=0
#        CircularPad=0
#        PalmDetect=0
#        PalmMinWidth=10
#        PalmMinZ=200
#        CoastingSpeed=20
#        CoastingFriction=50
#        PressureMotionMinZ=30
#        PressureMotionMaxZ=160
#        PressureMotionMinFactor=1
#        PressureMotionMaxFactor=1
#        GrabEventDevice=0
#        TapAndDragGesture=1
#        AreaLeftEdge=0
#        AreaRightEdge=0
#        AreaTopEdge=0
#        AreaBottomEdge=0
#        HorizHysteresis=6
#        VertHysteresis=6
#        ClickPad=0

# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
#      MatchDevicePath "/dev/input/event*"
EndSection

At least I have understood that it is far beyond of my knowledge of Debian.

Thank you!
Vladislav.

VladKonti 12-12-2018 03:24 PM

A lot of thanks to everybody. I have got it. xorg.conf does not accept raw output of synclient. It should be
Code:

Option "TapButton1" "1"
instead of
Code:

TapButton1=1
Now everything works. I'm marking this thread as "Solved".


All times are GMT -5. The time now is 06:09 PM.