-
Search Results
-
antiX Core Plus Just Enough X – a recipe
A step-by-step tutorial of my way of building an antiX system from a core-ISO install with just the programs I find “essential” — including the X Window System. I thought it would be good to compile a complete basic setup “recipe” in one post. (Note that many of these directions were gleaned from others on this forum.) If desired, one can use this as a guide to begin a similar project. My entire used hard disk space is 2.12 GB.
1. Preparation:
I chose an antiX 17.4.1 core-ISO installation (the latest core version as of this writing), because my target computer is a quite old 32-bit netbook, and I wanted to squeeze every little bit of performance out of it. After installing, I set up the WIFI through Ceni, then upgraded the software through apt-get upgrade. If you are playing with core, I assume you know how to do this. (If not, then please check out the fantastic antiX FAQs. đ )2. Installing the software:
The list, and the “why:”xserver-xorg-legacy
# base x package for antiXxserver-xorg-video-intel
# my netbook’s specific video serverxserver-xorg-video-vesa
# generic fall-back video serverxserver-xorg-input-all
# input for all mouse, keyboard, etcconky-legacy-all
# I need conky to enjoy my system!pmount
# mounts usb drives, etc by normal userjwm
# minimalistic window managerfile-roller
# handles compressed archive filesrox-filer
# file manager & launcher panelxinit
# starts X window systemlxterminal
# terminal for Xgeany
# text editorufw
# firewall – set it & forget itgexec gksu
# easy way to start apps as rootlxappearance
# change the desktop themefirefox-esr
# my favorite web browserqpdfview
# pdf reader for my booksdosbox pysolfc
# my bare-essential gamessmtube mpv
# view you tube videos without adsvolumeicon-alsa-legacy
# tray icon to easily control sound volumeblackbird-gtk-theme
# the only theme I want, to make my system enjoyablemirage
# simple image viewer, to chose icons & wallpaperSo run the following command (with a space separating each package):
sudo apt install xserver-xorg-legacy xserver-xorg-video-intel xserver-xorg-video-vesa xserver-xorg-input-all conky-legacy-all pmount jwm file-roller rox-filer xinit lxterminal geany ufw gexec gksu lxappearance firefox-esr qpdfview dosbox pysolfc smtube mpv blackbird-gtk-theme volumeicon-alsa-legacy mirageThis takes about 1 GB of space.
3. Editing the configuration (text) files, preparing the system:
For each of these first two files, start up the nano editor as root.a. This gives your normal user privilages to run X:
sudo nano /etc/X11/Xwrapper.config
1. Add the following line at the bottom of the file:
needs_root_rights=yes
2. Save (Ctrl+O),then exit (Ctrl+X)b. This logs you in automatically (without any desktop manager), so bootup to your X desktop is hassle-free, light & quick:
sudo nano /etc/inittab
1. find this line & comment it out (put a # in front of the line):
1:2345:respawn:/sbin/getty --noclear 38400 tty1
2. add this line directly after it (substituting “demo” with your user name):
1:2345:respawn:/bin/login -f demo tty1 </dev/tty1 >/dev/tty1 2>&1
3. Save (Ctrl+O),then exit (Ctrl+X)For each of these last two files, start up the nano editor as your regular user.
c. This starts X automatically
nano ~/.profile
1. at the bottom of file, add a new line with this command:
startx
2. Save (Ctrl+O),then exit (Ctrl+X)
(NOTE: doing this does not allow for loging into a different virtual terminal without running X if you use ctl+alt+Fx, unless you first comment-out this addition.)d. Copy the window manager configuration file to your home directory for editing:
cp /etc/jwm/system.jwmrc ~/.jwmrc
Edit the ~/.jwmrc file:
nano ~/.jwmrc
NOTE: The .jwmrc file is kind of hard to follow, but hopefully this will serve the purpose if I mention the editing highlights:1. Comment-out this line with the “arrows”
<!--&-->like this:<!-- <Include>/etc/jwm/debian-menu</Include> -->2. Fix the terminal launcher by changing xterm to lxterminal:
<Program icon="terminal.png" label="Terminal">lxterminal</Program>3. I erased the other default launchers but added shutdown options after the logout command. I’ll use the
ROX panel to launch my apps:<Program label="Reboot">sudo reboot</Program> <Program label="Poweroff">sudo poweroff</Program>4. Add startup commands – these start automatically with Jwm: the ROX panel to launch programs, conky
system monitor, and the volume icon to adjust sound volume:<!-- StartupCommands --> <StartupCommand>rox --top=PANEL</StartupCommand> <StartupCommand>conky</StartupCommand> <StartupCommand>volumeicon</StartupCommand>5. Backgrounds & desktops – different background for each desktop
example:<Desktops width="2" height="1"> <Desktop><Background type="image">/home/demo/wallpaper/black.jpg</Background> 1</Desktop> <Desktop><Background type="image">/home/demo/wallpaper/blue.jpg</Background> 2</Desktop> </Desktops>6. Save (Ctrl+O),then exit (Ctrl+X)
[You’ll have to add your wallpaper files later; you’ll have a plain black background until you do.]4. Reboot the system (ctrl+alt+del) or type at the console: sudo reboot. This will bring up the system directly to your X Window Jwm desktop. Ready for tweaking.
5. Further steps – playing with your desktop environment:
1. Set up ROX panel — drag & drop files ending in .desktop from /usr/share/applications to the panel.2. Set up geany to open text files by default — in rox, right click “Set Run Action…” & drag a “.txt” file to the window that opens – or type geany in at the beginning of the bottom text field.
3. Edit conky to display what you like to see on your desktop (use geany to edit ~/.conkyrc — remember that files starting with “.” are hidden).
4. Make “.desktop” files (for the ROX panel) for apps that don’t already have them — copy a file ending in .desktop from /usr/share/applications to ~/.local/share/applications – & edit it with geany to make launchers for them — that is, edit & save-as gexec.desktop, pmrp.desktop, etc.
5. To give certain folders their own distinctive icon, copy your choice of icon (& rename) to “.DirIcon” in a rox folder to change the display icon in ROX panel & rox-filer for that folder.
6. Mount removeable devices with pmount – mounts removable drives to /media – to add your documents, media files, wallpapers, etc.
Use terminal (or gexec.dektop from ROX panel) as your normal user:
a.pmount /dev/sdb1#mounts drive to /media/sdb1
b.pumount /dev/sdb1#unmounts drive from /media/sdb1 (& removes /media/sdb1 folder)7. Execute lxappearance.desktop in /usr/share/applications to use that blackbird theme. đ
Enjoy the adventure!
- This topic was modified 3 years, 7 months ago by christophe.
- This topic was modified 3 years, 7 months ago by christophe.
- This topic was modified 3 years, 7 months ago by christophe. Reason: added code notations
confirmed antiX frugaler, since 2019
After changing a monitor and removing a unused video card that was giving me problems, I cannot start Xwindows.
As root user, startx gives the following:/etc/X11/xinit/xserverrc: 3: exec: /usr/bin/X: not found
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server errorI cannot see a X in /usr/bin
If I edit /etc/X11/xinit/xserverrc file to show /usr/bin/X11
I get Permission denied.
Is there a less drastic way of correcting this, without re-installing xserver and xorg?
- This topic was modified 3 years, 9 months ago by oldman.
Hi,
I had to install AntiX 17.4 in failsafe mode because when installing AntiX in normal mode, the first prompt that is shown during the installation on my computer (with the instructions how to login for an installation with the credentials root/root) is cut horizontally through the first line at the bottom of the screen, so one does not see what one has to do and what to enter to properly execute the installation.
Now AntiX starts, and I can login into AntiX, but no window manager is shown. I am not able to start X, neither with the command “startx”, nor with “init 5”.
During one installation attempt I also manually activated X11 as a service for runlevel 5, but X11 is not automatically started at the end of the boot process, only the console prompt is shown.
So among other things I thought “let me install a window manager using the programme cli-aptiX, maybe with the installation of such a window manager my system gets changed in a way that AntiX automatically starts that window manager at the end of the boot process”, but this also failed. I think I installed icewm using cli-aptiX, I cannot exactly remember. The boot process ends with giving me the possibility to login to AntiX on the console.
So how do I make AntiX boot with the effect that a window manager automatically gets displayed at the end of the boot process?
Regards,
prox
PS: I am running an old NVIDIA card in my machine (machine not this one which I used to create this forum post).
Hey everyone,
A feel days ago I posted this: https://www.antixforum.com/forums/topic/trying-to-use-i3wm/
After some more investigation, I’ve discovered that the problem is related to dbus. Found this error at slim log:slim: open_session: Unable to open session: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directoryLooking at htop I’ve noted that dbus isn’t running when I enter “sudo slim” to start slim (it crash in this way). When I run “sudo /etc/init.d/dbus start” before starting slim, it shows up this message:
Failed to execute login commandI tried “sudo startx” and it opens the i3wm, but dbus still not running.
And all this happens after the “apt upgrade” in which dbus is updated to version 1.10.28. Before this it worked fine.
Is this a misconfiguration? Is this problem related to the minimalism of core version?
- This topic was modified 3 years, 10 months ago by aledosim.
Topic: antiX-Core Installation
After having tried the Net install, the Core install was wonderful, with the exception of a couple of ambiguous questions, “Core” was a pleasant surprise, I installed it in one of my 3 ssd and booted fine, when I got to startx, I could not get in as user, only as Root.
Gave me the following error:
[code]
xauth: file /home/bobo/.Xauthority does not exist. server error
[/code]Been ddg’ing and checking the irc…
any ideas?
antiX Core 64 Bit Runit IceWM
"Sometimes a man finds his destiny on the road he took to avoid it."
