How to use IceWM instead of KDE at Startup

Note: I will not be held responsible for any damages that may occur. You are taking a risk. If you are stuck on any part of this, please refer to the references on the bottom of the page. Thank you for reading and good luck!

Note from ShALLaX: Warning, this WILL break functionality with the following commands:

magic no-kde, magic on-kde, magic wmaker, magic kde. DO NOT run any of these commands whilst you are using ICEWM or problems may arise. To restore full functionality you should go back to your xinitrc backup (mv /home/gentoox/.xinitrc.old /home/gentoox/.xinitrc) which you are instructed to make in this guide.

What was used:
Modified XBox w/ Gentoox Linux Distro
Cygwin/XFree86 SSH Client (Any SSH Clients Will Do)
IceWM Window Manager

This guide is for those of you who would want to run IceWM instead of KDE at startup. Why would we want to do this? The reason is because IceWM uses less ram then KDE. Haven't you noticed how slow KDE goes? Well this tutorial is your answer to a fast windows manager unlike any other. This guide also allows you to run Icewm without having to go through a GUI Login such as GDM (Gnome Desktop Manager), which makes it possible or those without a keyboard to use IceWM.

Installing IceWM:
First, we would want to install IceWM ( Ice Windows Manager). To do this, create a ssh session to the XBox. Login as root. When you are logged on, first type emerge sync. When this is done, type emerge icewm. Your KDE will not be erased, it will still be intact.

Configuring Linux to Run IceWM at Startup:
Once it is finished, run the command locate .xinitrc at command prompt and it should find the file. The file .xinitrc should be located within your home directory. If you havent touched your KDE startup, it should be in /home/gentoox/.xinitrc. When you get the location of the file, you must now edit it. FIRST MAKE A BACKUP (cp /home/gentoox/.xinitrc /home/gentoox/.xinitrc.old). Heres an example: nano /home/gentoox/.xinitrc , where nano is the editing program and the rest is the location of the file. You should now see something like this:

/usr/bin/X11/xvkbd -geometry 800x130-0-75 &

Now, erase the startkde but don't touch the first line as this is the onscreen keyboard. Make the file look like the something like this:

/usr/bin/X11/xvkbd -geometry 800x130-0-75 &
export LANG=en_EN
exec icewm

Now restart your Linux, by typing reboot Go back to Linux and now it will be in Icewm!!

Do you want to view your IceWM on your computer screen? First go here Read the documentation and how to install TightVNC on your client machine. Next, go to command prompt and type emerge tightvnc After this is down, Go and locate xstartup It was at /root/.vnc/xstartup for me. Now nano the location, for example nano /root/.vnc/xstartup You should see a line that has twm on it. Erase the twm and replace with icewm This should also work for any other windows manager, all you have to do is replace the twm with your windows manager. After you finish this, type vncserver into the command prompt. It should say something like "New X Desktop is xbox:1". Next type vncpasswd. Enter a minimum of 8 characters for your password. When done, run the TightVNC on your client machine with Fast Compression. Enter the required fields.

When you want to start your server again, just type vncserver at command prompt and open TightVNC on your client machine. Enter the required fields.

Thank you for reading this guide and I hope that this was helpful and informational to you as it was for me.

References: (How to run IceWM at startup)
(Help with VNC)
403ea22b9c31d61a20fdb7c6de7f8b11 (Col. Havocs great tutorial on installing IceWM) (The Best VNC ever!!)

This article comes from Gentoox

The URL for this story is: