IRIX tricks

From WTFwiki
Revision as of 13:16, 31 July 2007 by Andrew (talk | contribs) (Added some IRIX tricks)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Preventing rld library location errors when using sudo

sudo strips all variables beginning with LD_ which hoses the runtime linker (because it relies on environment variables, not on a config file like ldconfig). To rectify this, add these lines to your sudoers file:

 Defaults env_reset
 Defaults env_keep=LD_LIBRARYN32_PATH

Making xterm work

If you install xterm, remember to rename the xterm shipped with IRIX (because it's old and it sucks) that lives in /usr/bin/X11. Also, the default 'fixed' font included with IRIX is ugly. I added these to my ~/.Xdefaults:

 XTerm*font: -sgi-screen-medium-r-normal--16-160-72-72-m-80-iso8859-1
 XTerm*scrollBar: false

Enabling 24 bit color

Add -class TrueColor -depth 24 to /usr/lib/X11/xdm/Xservers

Enabling xauth

You need to enable the security extension for the X server. Edit /usr/lib/X11/xdm/Xservers and add -securityExt to the end of the line. Then touch .Xauthority and run 'xauth generate :0 . trusted to generate a key.