LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-03-2019, 04:35 AM   #1
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit, on libreboot
Posts: 149

Rep: Reputation: Disabled
Entered 'startx' instead of password for SUin terminal. X-org server authorization problems


Posting from another windows laptop
Feel like banging my head. Below are the messages
1. xauth: file /home/san2ban/.serverauth.1188 does not exist
2. xauth: timeout in locking authority file /home/san2ban/.Xauthority

Does this mean I have to re-install xorg-server?

For SU, if I type 'startx' as password, it should have just said wrong password. Is it not?Is this behaviour OK?
 
Old 10-03-2019, 05:39 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,012

Rep: Reputation: Disabled
You have .Xsomething files in /home/san2ban owned by root. Remove all files owned by root in /home/san2ban including the hidden ones. Then type startx but as regular user.
 
Old 10-03-2019, 07:19 AM   #3
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit, on libreboot
Posts: 149

Original Poster
Rep: Reputation: Disabled
Didier
Thanks. Problem solved. It was hidden files (.Xauthority-c, .Xauthority-l) After removing both, startx worked

But, what about the response that should have been to a 'wrong' password typed?
I had already started X. Was trying to login as SU, to update the system
By mistake, I had typed 'startx' instead of password for SU. This lead to all these issues. Thanks

I will see your comment and then mark this as 'solved'
 
Old 10-03-2019, 09:20 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,012

Rep: Reputation: Disabled
I can't tell you what happened exactly. if from a console I type su then startx the output is:
Code:
su: Authentification failure
which is indeed correct. Additionally my advice is to always type
Code:
su -
instead of
Code:
su
to avoid that root inadvertently write some file (that it then will own) in a directory belonging to a regular user.

Last edited by Didier Spaier; 10-03-2019 at 09:49 AM.
 
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
Unable to find Administrators password does not recognize my login password the only password I entered at setup of Linux scholarsgold Linux - Newbie 6 01-23-2018 03:58 PM
[SOLVED] terminal not allowing password to be entered mertsatic4u Linux - Newbie 10 12-17-2015 09:24 PM
script fails but works fine when entered line-by-line in terminal misterjones Linux - General 3 11-14-2013 10:30 PM
passwd prompts for new password only once when a short password is entered powah Linux - Security 0 09-19-2007 04:20 PM
MD5 password changes checksum when entered into database. Pcghost Programming 9 10-21-2003 12:31 PM

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

All times are GMT -5. The time now is 04:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration