Other Debian GNU/Linux tips

# apt-get install sudo xserver-titchy xfonts-base xauth xinit x11-xserver-utils eterm ratpoison xfonts-75dpi xfonts-100dpi
# echo "sudo /etc/X11/X" > /usr/bin/X
# chmod 755 /usr/bin/X

This will enable you to start X as a non-root user and not have to use a desktop manager like xdm, using up spare system resources on the Universal.

==================================

There is also this, older, method utilizing xdm, however xdm takes system resources and running it on the slow Universal significantly hinders the system, therefore it's deprecated.

Download Titchy X server to the Universal:

<blackcodesu>wget http://sumou.com/uni/xserver-titchy-0.1.deb</blackcode>

Install the server, then instal xdm and icewm:

<blackcodesu>dpkg -i xserver-titchy-0.1.deb<br> # aptitude install xdm icewm-experimental</blackcodesu>

==================================

This is an alternate way to install X on the Universal, however it's very complicated and not as clean as the above, therefore it's deprecated.

Based on Yonggun's Debian armel install page, originally found here, install X window manager necessary stuff: <blackcodesu>apt-get install xfonts-base rxvt ratpoison icewm icewm-experimental menu icewm-gnome-support xbase-clients libxft2 libfontconfig1 xbindkeys</blackcodesu>

Download the following packages, originally from Yonggun's site, they are Ångström packages, repackaged for Debian: libts-1.0-0_1.0-r17_armel.deb tslib-calibrate_1.0-r17_armel.deb tslib-conf_1.0-r17_armel.deb xserver-kdrive_1.3.0.0-r19_armel.deb xserver-kdrive-fbdev_1.3.0.0-r19_armel.deb x-yonggun_0.0_armel.deb and install them: <blackcodesu>wget http://sumou.com/uni/libts-1.0-0_1.0-r17_armel.deb<br> # wget http://sumou.com/uni/tslib-calibrate_1.0-r17_armel.deb<br> # wget http://sumou.com/uni/tslib-conf_1.0-r17_armel.deb<br> # wget http://sumou.com/uni/xserver-kdrive_1.3.0.0-r19_armel.deb<br> # wget http://sumou.com/uni/xserver-kdrive-fbdev_1.3.0.0-r19_armel.deb<br> # wget http://sumou.com/uni/x-yonggun_0.0_armel.deb<br> # dpkg -i *ts*deb xserver*deb x-yonggun*deb</blackcodesu>

Following the OESF-wiki X as regular user guide originally found http://www.oesf.org/index.php?title=1-For_Debian_EABI apply the following hack to enable logging into X as a regular user and not root: <blackcodesu>aptitude install xdm<br> # cd /usr/bin<br> # mv X X.bak<br> # ln -s Xfbdev X<br> # chmod 2755 Xfbdev<br> # echo "xlogin*geometry: 520x400+60+40" >> /etc/X11/xdm/Xresources<br> # echo "xrandr -o right" >> /etc/X11/xdm/Xsetup<br> # mv /etc/X11/xdm/Xsession /etc/X11/xdm/Xsession.bak<br> # sed 's/. /etc/X11/Xsession/export/TSLIB_TSDEVICE=/dev/input/event0. /etc/X11/Xsession/' < /etc/X11/xdm/Xsession.bak > /etc/X11/xdm/Xsession<br> # mv /etc/X11/xdm/Xservers /etc/X11/xdm/Xservers.bak<br> # sed 's/:0 local /usr/bin/X :0 vt7 -nolisten tcp/:0 local /usr/bin/X :0 vt7 -dpi 100 -nolisten tcp -fp /usr/share/fonts/X11/misc/' < /etc/X11/xdm/Xservers.bak > /etc/X11/xdm/Xservers</blackcodesu>

Fix xdm auto-start, so it doesn't start automatically on boot, since then it will not be started properly with all the permissions and you will not be able to use the touchscreen: <blackcodesu>mv /etc/rc2.d/S99xdm /etc/rc2.d/K01xdm<br> # mv /etc/rc3.d/S99xdm /etc/rc3.d/K01xdm<br> # mv /etc/rc4.d/S99xdm /etc/rc4.d/K01xdm<br> # mv /etc/rc5.d/S99xdm /etc/rc5.d/K01xdm</blackcodesu>

Log out of the system and log in again as root.

Calibrate the display: <blackcodesu>ts_calibrate</blackcode>


.