Legenda (oznaczenia używane w postach) czyli lets clean this burdel

Oznaczenia używane w postach

Zwykły tekst Czcionka Georgia

apt-get install -Komenda



-ryzyko uszkodzenia systemu


-skrypt w bashu
-Ważna informacja

=====
wycinek z loga konsoli
====

nano /etc/resolv.conf plik do edycji


środa, 6 października 2021

Somewhat minimal xorg error solution for TRG

 Hey TRG

Make clean text install check only basic server nothing more, when you are asked to chose repos check all but debug.
After installation completes and the system reboots it self log in and edit

1. /etc/zypp/zypp.conf  and add the line
solver.onlyRequires = true 

or in in
/etc/zypp/zypper.conf change the value from installRecommends = yes to installRecommends = no

Choose one or the other 
save file and reboot

2. Finally you can   do it via zypper switch zypper in --no-recommends package. <---  if you want a alighter system points 1,2,3 are recomended


3. install minimal xorg / with yast -->pattens Very basic Desktop  exclude everything but patterns-base-x11
reboot

sudo chmod 4755 /usr/bin/Xorg  <--- this is crucial without this you will see a message that xorg seuid or uid or something is wrong and you should use reconfigure -- something command as root
In the and giving that command takes you no where
https://chmodcommand.com/chmod-4755/ <-- if you are curious what works
reboot

zypper install xinit xdm fluxbox NetworkManager NetworkManager-applet 

without those two you are fucked if you relay on wifi and you use fluxbox or some box WM

 create ~/.xinitrc edit this via vim or whatever cli text editor
exec startfluxbox

then save

Xdm is required for startx to work, without it xinit will shutdown with errors, complaining about .Xauthority and .serverauth not present in /home/user dir.
Crazy but true. Yes i could create them manually but it was 02:15 in the morning after  3 days of fighting with this running a dozen WM's I just don't give a duck.




By unchecking a few +a packages you can shrink installed packages to around 390 and it can be shrinked furthermore. Default patterns are bloat as hell.
That being said this system was not design to be slim but to be solid and effortless during install
Ok we can restart the system
login and use startx
It will fail at first but on second try  it wil work and start your fluxbox
ram consumption 411 to 426 MB on clean vanilla fluxbox.
I will try to trim it further if I fail my sad basement will become even sadder.

it is not perfect but this is a working solution, later i will work on graphical DM login probably by changing systemd target to graphical by
sudo ln -sf /usr/lib/systemd/system/graphical.target /etc/systemd/system/default.target I will investigate this further.
If you install Open suse with any preconfigured DE you will get graphical target in

cat /etc/systemd/system/default.target | grep "Description="

so that maybe a case.

Oh without your link https://forums.opensuse.org/showthread.php/488125-Start-X-server-and-KDE-automaticly
it would took me a weak or two to resolve this not 2-3 days , so thank you mate.

I really considering to starting use suse, maybe do a switch from debian / debian'ish family systems.
Suse tumbleweed advantages

1.Yast2 hands down only thing that can somewhat compare with yast is aptitude. Yet yast interface is way more intuitive to use, and its way better designed then aptitude.
2. rolling
3.solid
4.Simple
5. Funfuckingnastic system

disadventages

1.Patterns are bloated as fuck. Debian low level tools are better if you want create small system from the start

Brak komentarzy:

Prześlij komentarz