LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Minimal configuration to run XWindows client software? (http://www.linuxquestions.org/questions/slackware-14/minimal-configuration-to-run-xwindows-client-software-932863/)

FeyFre 03-05-2012 02:09 PM

Minimal configuration to run XWindows client software?
 
Hi

I have a few remotely controlled boxes with slackware 13.37 on board. Their typical software consists of fully installed categories: a,ap,d,e,f,k,l,n,t,tcl,y (all except kde* and x*). Now there is appeared requirement to run some XWindow application on them, remotely (ssh X Forwarding).
So question: what set of packages I should install additionally to resolve this task?

For now I'm using next script, but I wonder is that enough or is there any non-required packages
Code:

#!/bin/sh
CWD=$(pwd)
SOURCE_ROOT=/mnt/slackware/slackware13.37
cd $SOURCE_ROOT
grep -l "X11" slackware/x/*.txt |rev |cut -f 1 -d'.' --complement |rev |sed -e /$/.t?z/ |xargs installpkg --terse
cd $CWD

i.e install all packages which contain in their description phrase "is a part of X11" or similar.

weibullguy 03-05-2012 05:03 PM

You'll install more than needed if you use "is part of X11" as your criteria. Looks like everything provided by X.org has that phrase. Most of the applications aren't needed, most of the drivers won't be needed, none of protos will be needed unless you are building against the associated library, not all the fonts are needed, and none of the X development tools should be needed.

It's been awhile since I built X so I really don't remember the minimum required to get the server running. I'd install all the libraries, xorg-server, encodings, font-cursor-misc, font-misc-misc, font-util, mkfontdir, mkfontscale, twm, xcursor-themes, xcursorgen, xf86-input-evdev, xf86-input-keyboard, xf86-input-mouse, xf86-video-vesa, and xinit. I've probably forgotten things. Once you try to configure X and start the server, Xorg.0.log and screen output will direct you to the stuff that is missing.

That being said, installing all of X doesn't take much disk space (relatively speaking).

FeyFre 03-06-2012 03:08 AM

Yeah, I know, it will install a lot of extra stuff(I should not ask it) but I'm sure it will not install required minimum(Qt, Gtk/Gtk+, WxWidgets are quite required nowadays and they are not "is a part of X11").
Yes, size is not a concern, but extra garbage in system is concern.

weibullguy 03-06-2012 08:30 AM

Quote:

Originally Posted by FeyFre (Post 4619688)
Yes, size is not a concern, but extra garbage in system is concern.

Well, if you install everything with "is a part of X", you'll get a lot of extra garbage, but you'll get a working X Windows. As far as which toolkit(s) you'll need depends on what applications you plan to install. Neither Qt, Wx, nor GTK+ are required for a working X Windows.

ottavio 03-06-2012 12:11 PM

I do have a minimal slackware installation (32 bit) that contains the bare minimun to run Firefox. I post the extracts of /var/log/packages. You will not find Firefox itself because I have installed the binary directly from Mozilla.org:
Code:

bash-4.1$ ls /var/log/packages
aaa_base-13.37-i486-3
aaa_elflibs-13.37-i486-7
aaa_terminfo-5.8-i486-1
acl-2.2.50-i486-1
alsa-lib-1.0.25-i486-1
alsa-oss-1.0.25-i486-1
alsa-utils-1.0.25-i486-1
atk-1.32.0-i486-1
attr-2.4.45-i486-1
bash-4.1.010-i486-1
bin-11.1-i486-1
bzip2-1.0.6-i486-1
cairo-1.10.2-i486-2
coreutils-8.15-i486-1
cxxlibs-6.0.14-i486-2
dbus-1.4.1-i486-1
dbus-glib-0.88-i486-1
dbus-python-0.83.1-i486-1
dcron-4.4-i486-1
dejavu-fonts-ttf-2.33-noarch-1
devs-2.3.1-noarch-25
dhcp-4.2.1_P1-i486-1
dhcpcd-5.2.12-i486-1
dialog-1.1_20100428-i486-2
diffstat-1.53-i486-1
diffutils-3.0-i486-1
e2fsprogs-1.41.14-i486-1
ed-1.4-i486-1
etc-13.013-i486-1
ethtool-2.6.36-i486-1
expat-2.0.1-i486-2
file-5.09-i486-1
findutils-4.4.2-i486-1
fluxbox-1.3.1-i486-1
font-bh-ttf-1.0.3-noarch-1
font-util-1.2.0-i486-1
fontconfig-2.8.0-i486-1
freetype-2.4.8-i486-1
gawk-3.1.8-i486-1
gdk-pixbuf2-2.23.3-i486-1
glib2-2.28.6-i486-1
glibc-i18n-2.14.1-i486-4
glibc-solibs-2.14.1-i486-4
gnupg-1.4.11-i486-1
gnupg2-2.0.17-i486-1
gnutls-2.12.7-i486-1
gpa-0.7.5-i486-1
gpm-1.20.1-i486-5
grep-2.7-i486-1
groff-1.21-i486-1
gtk+2-2.24.4-i486-1
gzip-1.4-i486-1
htop-1.0-i486-1
inotify-tools-3.14-i486-1
iputils-s20101006-i486-1
kbd-1.15.2-i486-1
kernel-firmware-20120202git-noarch-1
kernel-huge-3.2.2-i486-1
kernel-modules-3.2.2-i486-1
less-443-i486-1
lftp-4.2.2-i486-1
libICE-1.0.7-i486-1
libSM-1.2.0-i486-1
libX11-1.4.3-i486-2
libXau-1.0.6-i486-1
libXaw-1.0.9-i486-1
libXcomposite-0.4.3-i486-1
libXcursor-1.1.11-i486-1
libXdamage-1.1.3-i486-1
libXdmcp-1.1.0-i486-1
libXext-1.2.0-i486-1
libXfixes-5.0-i486-1
libXlibnotify-0.5.2-i486-1
libpciaccess-0.12.1-i486-1
libpng-1.4.8-i486-1
libxcb-1.7-i486-1
libxkbfile-1.0.7-i486-1
lilo-23.2-i486-1
links-2.3pre1-i486-1
lsof-4.83-i486-1
lvm2-2.02.84-i486-1
man-1.6g-i486-1
man-pages-3.32-noarch-1
mc-4.7.5.2-i486-1
mesa-7.10.2-i486-1
module-init-tools-3.12-i486-2
mpg123-1.13.3-i486-1
nano-2.3.1-i486-1
ncurses-5.9-i486-1
net-tools-1.60-i486-3
network-scripts-13.0-noarch-3
ntp-4.2.6p3-i486-2
openssh-5.9p1-i486-2
openssl-0.9.8t-i486-1
openssl-solibs-0.9.8t-i486-1
pango-1.28.4-i486-1
pciutils-3.1.7-i486-1
pixman-0.20.2-i486-1
pkgtools-13.37-noarch-9
procps-3.2.8-i486-3
screen-4.0.3-i486-3
sed-4.2.1-i486-1
shadow-4.1.4.3-i486-2
sharutils-4.11-i486-1
slackpkg-2.82.0-noarch-5
slocate-3.1-i486-3
stunnel-4.35-i486-1
sudo-1.7.4p6-i486-1
sysklogd-1.5-i486-1
sysvinit-2.86-i486-6
sysvinit-functions-8.53-i486-2
sysvinit-scripts-1.2-noarch-43
tar-1.26-i486-1
telnet-0.17-i486-1
texinfo-4.13a-i486-4
time-1.7-i486-1
traceroute-2.0.17-i486-1
tree-1.5.3-i486-1
udev-165-i486-2
unarj-265-i486-1
usbutils-002-i486-1
utempter-1.1.5-i486-1
util-linux-2.19-i486-1
vim-7.3.154-i486-1
wget-1.13-i486-1
which-2.20-i486-1
whois-5.0.11-i486-1
x11-skel-7.4-i486-2
xauth-1.0.5-i486-1
xdm-1.1.10-i486-1
xf86-input-evdev-2.6.0-i486-1
xf86-input-keyboard-1.6.0-i486-1
xf86-input-mouse-1.7.0-i486-1
xf86-video-cirrus-1.3.2-i486-3
xf86-video-intel-2.15.0-i486-1
xf86-video-vesa-2.3.0-i486-3
xinit-1.3.0-i486-1
xkbcomp-1.2.1-i486-1
xkeyboard-config-2.2.1-noarch-1
xorg-server-1.9.5-i486-1
xrdb-1.0.9-i486-1
xsetroot-1.1.0-i486-1
xterm-267-i486-1
xz-5.0.2-i486-1
zlib-1.2.5-i486-4
font-1.4.3-i486-1



All times are GMT -5. The time now is 03:45 AM.