[SOLVED] Xorg connection refused to server for normal users antiX 17.3_386-core
antiX / MX LinuxThis forum is for the discussion of antiX and MX Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
[SOLVED Xorg connection refused to server for normal users antiX 17.3_386-core
Quote:
Originally Posted by mrmazda
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.