LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 01-21-2019, 06:41 AM   #1
walker
Member
 
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193

Rep: Reputation: 38
Xorg connection refused to server for normal users antiX 17.3_386-core


I'd want a bare minimal system to revive an IBM ThinkPad T41 especially to use as TV with a dvbsky usb DVB-T card.

To me also the base iso is too bloated of unuseful softwares and it's a waste of time with the risk to break the system getting rid of everything else than JWM, mpv, xmms and a browser, after 17 years on GNU/Linux systems it would be enough to me runlevel 2 but the pc is for my child so I installed bare JWM and personalized it editing jwmrc with xfwrite part of xfe file manager.

The trouble is really weird.

I installed Xorg but the system let me "startx" only as root from TTY, for the normal user created during installation system says "connection to server refused" but it's possible to circumvent trouble installing xdm, with it also with the normal user created during installation with cli-installer it's possible to login in runlevel 5 in JWM.

So I created my child user with adduser and tried to login in xdm.
Every time it says "login incorrect or forbidden by policy" even if the newly created user can login in TTY (ctrl+alt+F1) despite the TTY used.

I think it's a problem related to pam permission but why it doesn't happen with the user created during installation?

All the file are present in new user's home .Xauthority aso and with su -l itsusername i log in his home and created with w_scan the channel.conf file for mpv.

I know there are vid on how to customize antiX core but i don't like vids cause I need only to know if I missed some package to have a fully functional JWM enviroment considering that antiX base is fully functional on the same machine.

I din't install and I will never install gksu and sudo is disabled, to avoid any possibility of privileges escalation, I log out from JMW than Ctrl+Alt+F1 and Ctrl+Allt+Canc to shutdown the system properly.

Any hint?

Many thanks!

Walker
 
Old 01-21-2019, 09:59 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,837
Blog Entries: 1

Rep: Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071
I've only installed AntiX twice, both 16beta, when it was based on Debian 8 Jessie. On it I only used TDE, the mature fork of KDE3, which I use on Debian, Fedora, Kubuntu, Mageia and openSUSE. I wonder if maybe installing TDM would fix whatever is broken (presumably logind?) to cause your trouble. This is the file I used to configure it: /etc/apt/sources.list.d/tde.list:
Code:
deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian jessie main
#deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian jessie main
deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian jessie main
#deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian jessie main
Whether there is a current TDE repo for Stretch-based AntiX I have no idea. It's not easy to determine all the distros TDE is actually built for. https://www.trinitydesktop.org/releases/R14.0.5/ definitely does not include them all.
 
1 members found this post helpful.
Old 01-24-2019, 11:41 AM   #3
walker
Member
 
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193

Original Poster
Rep: Reputation: 38
[SOLVED Xorg connection refused to server for normal users antiX 17.3_386-core

Quote:
Originally Posted by mrmazda View Post
I ... (presumably logind?)
Thank a lot indeed!
You turned the light on.

The trouble was ... logind! package login was not installed instead of it, and I wonder why due to antiX claims to be systemd free, was installed elogind (systemd substitute of logind) and libelogind.

I got rid of them, installed login and all work without changing DM.

I realized what I would, a system with a fully functional desktop that work wit 46MB of ram so memory could be used to play DVB-T card stream and DVD with fluency.

By the way, I discovered that the trouble using "startx" are due to the fact that XDM (learned from their wiki) is a litte bit intrusive and divert xinit auth cookie directory to it's own.

I have still some adjustment to do but ... it works!
 
Old 01-25-2019, 12:06 PM   #4
anticapitalista
antiX
 
Registered: May 2005
Location: Greece
Distribution: antiX using herbstluftwm, fluxbox, IceWM and jwm.
Posts: 631

Rep: Reputation: 190Reputation: 190
elogind is a systemd-free option
 
1 members found this post helpful.
Old 01-25-2019, 01:57 PM   #5
walker
Member
 
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193

Original Poster
Rep: Reputation: 38
Wink

Quote:
Originally Posted by anticapitalista View Post
elogind is a systemd-free option
Hi Anticapitalista!

First of all thank indeed for your efforts.

It's hard to me to understand why but in my case uninstalling elogind and libelogind and using only login let me login with the user created in after installation with cli-installer via xdm as display manager.

You are a lot more experienced than me, have you any idea about why it happened?

Every way I did it. My system now run bare jwm with 46MB as I would thank to your core.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Conky display gets corrupted since updating Antix-16 to Antix-17 hazel Linux - Distributions 3 12-18-2017 08:55 AM
Squid server " proxy server connection refused " kirthanshetty Linux - Newbie 1 09-30-2013 04:50 AM
AntiX m8 Wireless Connection Ragnarok Warrior Linux - Wireless Networking 2 04-02-2009 08:41 PM
Only root can use X, while normal users can't (FreeBSD 6.2 with Xorg-7.2). Seph64 *BSD 1 06-23-2007 12:01 PM
rndc: connection refused - fedora core 2 granny Linux - Networking 11 10-28-2004 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 07: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
Open Source Consulting | Domain Registration