LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-10-2018, 06:34 AM   #1
VladKonti
LQ Newbie
 
Registered: Dec 2018
Location: Kiev, Ukraine
Posts: 4

Rep: Reputation: Disabled
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.
 
Old 12-11-2018, 01:36 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by VladKonti View Post
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

Last edited by ondoho; 12-11-2018 at 01:39 AM.
 
Old 12-11-2018, 03:34 AM   #3
VladKonti
LQ Newbie
 
Registered: Dec 2018
Location: Kiev, Ukraine
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
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.
 
Old 12-12-2018, 01:22 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by VladKonti View Post
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).
 
1 members found this post helpful.
Old 12-12-2018, 08:28 AM   #5
VladKonti
LQ Newbie
 
Registered: Dec 2018
Location: Kiev, Ukraine
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
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.

Last edited by VladKonti; 12-12-2018 at 01:49 PM.
 
Old 12-12-2018, 03:24 PM   #6
VladKonti
LQ Newbie
 
Registered: Dec 2018
Location: Kiev, Ukraine
Posts: 4

Original Poster
Rep: Reputation: Disabled
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".
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
keyboard not work after create /etc/X11/xorg.conf.d/50-synaptics.conf file mshlinux Gentoo 2 07-27-2015 03:13 AM
Missing xorg.conf file in /etc/X11/xorg.conf Altiris Linux - Newbie 2 08-23-2013 11:46 PM
xorg-x11-devel dependant on old version of xorg-x11-libs thetawaverider Linux - Software 1 11-09-2006 07:22 AM
xorg-x11-libs required by xorg-x11-devel darknails Fedora 1 01-13-2005 02:34 PM
SIOCADDRT: File exists SIOCCADDRT: File Exists Failed to bring up eth0. opsraja Linux - Networking 0 01-10-2005 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration