#!/bin/sh
# Xsetup for Red Hat Linux
# Copyright (c) 1999, 2000 Red Hat, Inc.

xhost +localhost

/usr/X11R6/bin/xsetroot -solid "#356390"


/sbin/pidof -s kdm &> /dev/null && [ $? -eq 0 -a -x /usr/bin/kdmdesktop ] && /usr/bin/kdmdesktop && sleep 1s

# only set the background if the xsri program is installed
if [ -x /usr/bin/xsri ]; then
    /usr/bin/xsri  -geometry +5+5 -avoid 300x250 -keep-aspect \
	/usr/share/pixmaps/redhat/redhat-transparent.png
fi
