-
Search Results
-
Topic: startx fails
I installed xorg-server-xorg-legacy, startx still fails
I edited /etc/X11/Xwrapper.config,
bothneeds_root_rights = yes needs_root_rights=yesgive an error (key not available.
the part from ~/.local/share/xorg/Xorg.0.log
[ 21.387] (EE) modeset(0): drmSetMaster failed: Permission denied [ 21.387] (EE) Fatal server error: [ 21.387] (EE) AddScreen/ScreenInit failed for driver 0 [ 21.387] (EE) [ 21.387] (EE)startx as root works fine.
thanks in advance
Almost done with tests with live CD/DVD (optical media), before proceeding to try testing with live USB.
However there’s one last issue I saw:
If booting *without* the “toram” boot option, X always fails to load. When finishing booting system starts in command line, and typing “startx” results in error that “failed to connect to server”, or something like that.
With the “toram” option, there have been no problems until now.Current rig:
demo@antix1:~ $ inxi -Fxz System: Host: antix1 Kernel: 4.9.0-264-antix.1-amd64-smp x86_64 bits: 64 compiler: gcc v: 8.3.0 Desktop: IceWM 2.3.4 Distro: antiX-19.4_x64-base Grup Yorum 20 May 2021 base: Debian GNU/Linux 10 (buster) Machine: Type: Laptop System: Gateway product: NE-522 v: V2.02 serial: <filter> Mobo: Gateway model: NE-522 v: V2.02 serial: <filter> UEFI: Insyde v: 2.02 date: 05/03/2013 Battery: ID-1: BAT0 charge: 1.6 Wh condition: 23.4/37.0 Wh (63%) model: SANYO AL12A32 status: Charging CPU: Topology: Dual Core model: AMD E1-2500 APU with Radeon HD Graphics bits: 64 type: MCP arch: Jaguar rev: 1 L2 cache: 1024 KiB flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 5589 Speed: 1200 MHz min/max: 800/1400 MHz Core speeds (MHz): 1: 800 2: 1000 Graphics: Device-1: AMD Kabini [Radeon HD 8240 / R3 Series] vendor: Acer Incorporated ALI driver: radeon v: kernel bus ID: 00:01.0 Display: server: X.Org 1.20.4 driver: ati,radeon unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz OpenGL: renderer: AMD KABINI (DRM 2.49.0 4.9.0-264-antix.1-amd64-smp LLVM 7.0.1) v: 4.5 Mesa 18.3.6 direct render: Yes Audio: Device-1: AMD Kabini HDMI/DP Audio vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel bus ID: 00:01.1 Device-2: AMD FCH Azalia vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel bus ID: 00:14.2 Sound Server: ALSA v: k4.9.0-264-antix.1-amd64-smp Network: Device-1: Qualcomm Atheros QCA8171 Gigabit Ethernet vendor: Acer Incorporated ALI driver: alx v: kernel port: 2000 bus ID: 01:00.0 IF: eth0 state: down mac: <filter> Device-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter vendor: Lite-On driver: ath9k v: kernel port: 2000 bus ID: 05:00.0 IF: wlan0 state: up mac: <filter> Device-3: Lite-On Atheros AR3012 Bluetooth type: USB driver: btusb bus ID: 4-2:5 Drives: Local Storage: total: 223.57 GiB used: 591.6 MiB (0.3%) ID-1: /dev/sda vendor: A-Data model: SU650 size: 223.57 GiB Partition: ID-1: / size: 3.63 GiB used: 591.6 MiB (15.9%) fs: overlay source: ERR-102 Sensors: System Temperatures: cpu: 53.5 C mobo: 37.0 C gpu: radeon temp: 53 C Fan Speeds (RPM): N/A Info: Processes: 125 Uptime: 3h 19m Memory: 5.28 GiB used: 336.0 MiB (6.2%) Init: SysVinit runlevel: 5 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3 inxi: 3.0.36 demo@antix1:~ $In other few tested rigs this issue doesn’t happen.
Oh, and on a brief side note, independently of this issue, I tried @Xecure’s past advise regarding usage of the “toram” option. Supposedly one needs to add the “menus=s” boot option in conjunction with it.
However, this did absolutely nothing, and not using the option still boots the system seemingly fine.
Also, this boot option is not mentioned at all in the Antix wiki, and only barely mentioned in the FAQ website. And there, it mentions nothing about “menus” boot option accepting any kind of value…
Was there a reason behind it?Thanks again.
Some users don’t want to use any login manager and prefer startx after logging in at the console (as user).
For this to work, install xserver-xorg-legacy
Then you should be able to startx as user.
If not, edit /etc/X11/Xwrapper file to include these lines:allowed_users = console needs_root_rights = yesApparently, you will not need to edit that file if you first login as user, su to root then
apt install --reinstall xserver-xorg-legacyHowever, this will not give you the same desktop as default antiX with login manager. It will give you the min or minimal options listed below.
Instead of typing startx, you should type something like this:
startx /usr/local/bin/desktop-session icewmAvailable options:
rox-icewm
icewm
zzz-icewm
min-icewm
minimal-icewm
rox-fluxbox
fluxbox
zzz-fluxbox
min-fluxbox
minimal-fluxbox
rox-jwm
jwm
zzz-jwm
min-jwm
minimal-jwm
herbstluftwm- This topic was modified 1 year, 8 months ago by anticapitalista. Reason: Extra options added
- This topic was modified 1 year, 8 months ago by anticapitalista.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
Topic: Xorg fail if not root
I downloaded both antiX-19.4_x64-core.iso and antiX-19.4_386-net.iso .
Then boot them live without persistence, install xorg and fluxbox using cli-aptiX.
Immediately after installation, I login as demo and run startx.
x64-core works fine but 386-net does not, is this a known problem?
If I login as root, both work fine.
Tried install recommended xorg-legacy-suid-wrapper (can’t recall exact package name) but it still fail.
What do I need to get startx to work in 386-net as non-root?Setting up Linux on my “Chromebox”
In a previous document I wondered if I should purchase a Chromebook since I was curious if it would be a good fit for me and they are not very expensive in general. My conclusion in that document was that I would put off buying a Chromebook since I was more likely to use Linux and I didn’t want to be limited by the Google way of computing in “the cloud”.
(Here’s my thread with that document: https://www.antixforum.com/forums/topic/should-i-get-a-chromebook/)
Since I have spent several years experimenting with Linux I was comfortable with experimenting with the Chromium OS, the open source portion of the Google Chrome OS that comes installed on Chromebooks. Chromium OS is not exactly the same as Chrome OS but it is close enough for me to get a good feel for what is possible with a Chromebook. I have several old computers in my collection and I chose one to be my stand in for what I may have purchased had I decided to buy a used Chromebook off of Ebay.
I chose to install CloudReady on my old HP All-in-One desktop, with an AMD Dual Core processor at up to 3.6Ghz and 8GB of RAM. This is now my “Chromebox” in my lab and takes its place alongside several other old computers running various operating systems, mostly Linux and Windows.
When I first started with this experiment I was hoping I could install antiX linux on this same box and have both operating systems dual booting, just like I have done with several other machines that dual boot multiple operating systems. My favorite Linux OS is antiX and I had already installed both antiX and MX on this old box successfully. Now, can I add Chromium OS to the line up?
I quickly found out that ChromiumOS/CloudReady does not support dual booting. In fact, Chrome OS wants to take over the entire hard drive at time of installation. For my first attempt I chose to remove the hard drive and replace it with another hard drive so that I could go back to my antiX/MX dual boot system if this Chrome OS install didn’t work. I booted with the CloudReady USB and ran the installer to the hard drive. It worked. I now had a fully operational ChromeOS/ChromiumOS “Chromebox”. I played around with it and I ended up at the conclusion I mentioned above, that I preferred Linux to ChromeOS.
But now, what about installing Linux as a kind of virtual machine inside ChromiumOS? I had read that the current ChromeOS Chromebooks do support running Linux by using a virtual machine instance. But after some research I found out that this is not a feature of ChromiumOS, it only works on real ChromeOS Chromebooks. However, I did find an alternative called “Crouton” that installs multiple Linux instances using chroots. The results would be similar to what is offered on actual Chromebooks. So, I tried it.
I installed Crouton on my ChromiumOS Chromebox and then installed an instance of Ubuntu linux with the XFCE desktop. It worked. I had a full version of Linux running on the Chromebox. But it was Ubuntu. I had already decided that Xubuntu was my best Ubuntu option for these old machines but Crouton did not offer to install Xubuntu. Crouton is a collection of scripts and it only supports a small number of Linux distros by default, basically only three -Ubuntu, Debian, and Kali. But it does work. I had Ubuntu Linux running and it was not a bad experience. I could switch back and forth between CloudReady and Ubuntu by using a hot-key combination.
But what about antiX or MX? Could I get these installed with crouton and get the same experience as with Ubuntu? No. Crouton is not made to install just any linux distro. And while it may be technically possible for the crouton scripts to be modified to support alternate distros it was well beyond my skill level. I needed something that was already setup and working. I decided that I would be better served by a dual boot installation of ChromiumOS so that I could choose to boot into antiX instead of ChromeOS.
After more research I was able to learn how to dual boot CloudReady with another OS. There are also other alternatives for installing ChromiumOS besides CloudReady that have been reported to work for dual booting. But I decided to stay with CloudReady. The trick to dual booting with CloudReady is to use a separate hard drive for CloudReady and keep the other OS’s on another hard drive. CloudReady will take over one complete hard drive but it will not touch your other hard drive if you enter the commands correctly. I added a removable USB 3.0 hard drive I had available and installed CloudReady to that removable drive and kept the other hard drive with my multi-boot setup of Windows/antiX/MX/Xubuntu.
After installing CloudReady I rebooted the machine and it came up with CloudReady and I continued with my setup of ChromiumOS/CloudReady. But what happened to my Grub boot menu for antiX? I restarted and used the ESC key to get a boot menu and then selected the internal hard drive instead of the external USB hard drive. I was able to get back to my Grub menu. Now I can run antiX instead of CloudReady when I want to. My “Chromebox” is now dual boot. It’s a little clunky at boot time but it works.
Now, back to CloudReady and Crouton to see what I can do with Linux from inside the ChromeOS. I was able to install several versions of Linux as chroots. I also was able to install one instance that allows me to run Linux applications inside a ChromeOS window or tab. It all integrates pretty well. The only problem is that it has to be either Ubuntu, Debian, or Kali.
I managed to modify one of the Ubuntu chroots to simulate Xubuntu. It is not the Xubuntu distribution but it is close and gives me a familiar interface. I started with Ubuntu 16.04 with XFCE. Then I upgraded within the chroot to version 18.04 and then updated the instance using the crouton scripts. Then I modified the theme and added the Whisker Menu. The result is a version of Ubuntu Bionic that approximates Xubuntu Bionic. I will further attempt to update to the 20.04 LTS version. But I think I will leave this Ubuntu 18.04 chroot as is and setup another chroot for the current 20.04 version.
Since I cannot get antiX installed I attempted to install Debian with IceWM and try to approximate the antiX setup. I installed a Debian Sid chroot with only the Xorg/Xiwi target and no desktop environment. Once it was installed I tested running a Linux app from this Debian chroot inside of a ChromeOS window. It worked! This is proof of concept that I can run both ChromeOS apps and Linux apps at the same time in this Chromebox.
Now I continued to try and setup the IceWM windows manager and some other packages that I regularly use in antiX. I installed the icewm package and then read up on how to set up the configuration scripts to launch IceWM using startx. I had trouble at first since I didn’t understand that this Debian chroot had been setup to run inside of ChromeOS but did not yet support a full X server by itself. When I tried to launch IceWM all I got was a long wait followed by error messages. Eventually I figured out that I could launch IceWM from within ChromeOS and it worked to start an instance of Debian in a window inside ChromeOS. Fascinating!
Now I have two types of Linux installed in my Chromebox. The first type is running in a separate full screen instance and I can switch between Linux and ChromeOS using hot-keys. The second type is running inside of a ChromeOS Window/Tab as if it were just another app inside Chrome. In both cases I have to use the Logout/Shutdown options from within the chroot to stop the Linux instance from running.
So, have I changed my mind about Chromebooks? I mean, I can now run both Linux and ChromeOS at the same time on the same machine. That’s pretty cool, right? Yes, it’s cool. And it is a fun experiment. But I have not changed my mind about Chromebooks/Chromeboxes. For me, they are still not necessary. I can do most of the same things using ChromiumOS on one of my old machines. And Linux is a far superior platform for my own computing needs. And the fact that I can’t install just any Linux distro I choose is a deal breaker for me. And I have learned that Crostini has the same limits. The Linux instances inside ChromeOS are limited and restricted to what is supported by these add-ons. But I want antiX dammit! I will stay with my machines that allow dual booting. I will keep ChromiumOS so I can stay in touch with what is happening in the Chromebook universe. But until I can install antiX on a Chromebook I will not be buying a Chromebook – at least not for the Linux features.
Seaken64
P.S. One more thing that annoys me about Chromebooks. No secure local files. ChromeOS really wants us to use cloud storage. The OS is designed to sacrifice local storage. In fact, until recently you could not keep local files on your Chromebook without the threat of losing them to an OS system reset. I prefer to have the choice to store files locally without the threat of the OS deleting them according to their own rules. I’ll set the rules for my own files thank you.
- This topic was modified 1 year, 8 months ago by rokytnji.
I have a problem in live usb in uefi mode: startx don’t launch.
I have tested the boot entry x64-full Failsafe in advanced option menu. Works fine!
So, i have modified my customized entry to keep the persistance:
Key e
Add failsafe and bootsave:
linux /antix/vmlinuz quiet splasht disable=lxF failsafe bootsave …
and F10.
solved.But I have not tested the upgrade of the kernel …
Linux on line
Windows off line