Carlos Felipe Leon wrote:
Hello all,

I hope Im not asking something too stupid out of my ignorance but I would like to know how can I run programs normally distributed by redhat (OpenOffice, mozilla, etc) in a system without the X window system.

I decided not to install X because it is a small old computer which becomes extremely slow when running X. Besides I want to get rid of the mouse for some time :-). Everytime I try to run a program from the command line, I got an error message related with the display.

Thanks for any ideas!
Some programs may run without X - a program that uses X will normally (ie virtually always) link to one or several X libraries. The most fundamental of those are called something like libX* etc. and there is a command that can tell you which libraries a program wants to use: ldd. See the man page for more information. Eg:

# ldd /usr/bin/X11/xclock
        libXaw.so.7 => /usr/X11R6/lib/libXaw.so.7 (0x4002a000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4007f000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40095000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x400e2000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400eb000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40103000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40112000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40120000)
        libc.so.6 => /lib/libc.so.6 (0x401ff000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

This is supposing that the program is dynamically linked, of course. Some - like some versions of OpenOffice and Mozilla - come as statically linked and then you'll simply have to try to run it.

/jan



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to