I'll admit to being stubborn. But I insist on booting to runlevel 3 and then, when/if I'm ready for the GUI, I run startx as a user. OK I'll also admit to the fact that nine times out of ten, startx is the first thing I run after logging in.
That said, it used to work properly with my new antiX-15.1 installation.
I disabled slim so that I'd boot to runlevel 3.
Then after making Xorg setuid, my regular user could get openbox running via startx. I was about to start installing my usual applications when I realized that anything I installed BEFORE I switched my sources lists to the testing repos was likely going to need to be reinstalled by the apt-get dist-upgrade.
So I edited my sources... and ran
Code: Select all
apt-get update
apt-get dist-upgrade
Code: Select all
deb http://antix.daveserver.info/testing testing main nosystemd
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.deb-multimedia.org testing main non-free
deb http://deb.opera.com/opera/ stable non-free
But that's for a different thread...
I wasn't surprised that I needed to make Xorg setuid again. But I was disappointed that even after I did so, I got:
So I quickly checked that root could startx. Root had no problem starting up openbox with startx. Then I tried again with my user account, only this time I used:user startx run wrote: X.Org X Server 1.18.3
Release Date: 2016-04-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.2-gnu-antix-sid.1-amd64-smp x86_64 antiX
Current Operating System: Linux MyAntix-5 4.3.0-antix.3-amd64-smp #3 SMP PREEMPT Thu Feb 4 17:50:57 EET 2016 x86_64
Kernel command line: root=LABEL=MyAntix-5 nosplash vga=normal
Build Date: 05 April 2016 05:00:18PM
xorg-server 2:1.18.3-1.0nosystemd1 (
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.debian.org/support"
linktext was:"http://www.debian.org/support"
====================================
)
Current version of pixman: 0.33.6
Before reporting problems, check
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://wiki.x.org"
linktext was:"http://wiki.x.org"
====================================
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file:"/home/jtwdyp/.local/share/xorg/Xorg.0.log", Time: Sun Jun 26 15:33:03 2016
(==) Using config directory:"/etc/X11/xorg.conf.d"
(==) Using system config directory"/usr/share/X11/xorg.conf.d"
ional information.(EE) (EE) Server terminated with error (1). Closing log file./xorg/Xorg.0.log" for additxinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Code: Select all
sudo startx
Which I tested by opening a regular roxterm, going to /root where my regular user was able to chown root's .bashrc to belong to another user. Of course I chowned it right back. But if the sudo permissions are going to apply to everything I do, it's unsafe to run X that way...
Does anybody know what (besides Xorg) could be refusing ordinary users to connect to the X server with testing repos configured, that doesn't care when using stable????