[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Window Maker on Solaris
From: |
Andreas Höschler |
Subject: |
Window Maker on Solaris |
Date: |
Mon, 14 Nov 2005 17:06:24 +0100 |
Hello all,
I am tryingto get window maker to work on Solaris 10. I followed the
instructions on http://www.gunfleet.com/solaris/winman.htm and created
the following files (attached to thi smail):
pico /usr/dt/config/C/Xresources.d/Xresources.windowmaker
pico /usr/dt/config/Xinitrc.windowmaker
pico /usr/dt/config/Xsession.windowmaker
pico /usr/dt/config/Xsession2.windowmaker
I then made the scripts executable
chmod a+x /usr/dt/config/Xinitrc.windowmaker
chmod a+x /usr/dt/config/Xsession.windowmaker
chmod a+x /usr/dt/config/Xsession2.windowmaker
and run
/opt/csw/bin/wmaker.inst
for a user account. WindowMakaer appears in the list of sessions. But
when logging in I only get a black screen and a small white terminal
window in the top left corner. Nothing more! What am I missing? I would
love to find a guide with a bunch of steps that lead to a working
Window Maker desktop.
Thanks a lot!
Regards,
Andreas
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++
pico /usr/dt/config/C/Xresources.d/Xresources.windowmaker
------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------
************************************************************************
**
#
# Windowmaker config file
#
# /usr/dt/config/C/Xresources.d/Xresources.windowmaker
#
# used by dtlogin
#
#
************************************************************************
**
Dtlogin*altDtsIncrement: True
Dtlogin*altDtName: Windowmaker
Dtlogin*altDtKey: /opt/csw/bin/wmaker
Dtlogin*altDtStart: /usr/dt/config/Xsession.windowmaker
------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------
pico /usr/dt/config/Xinitrc.windowmaker
------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------
#!/bin/ksh
#####################################################################
### File: Xinitrc.windowmaker
###
### Default Location: /usr/dt/config/Xinitrc.windowaker
###
### Purpose: X session startup script
###
### Invoked by: /usr/dt/bin/Xsession
###
#####################################################################
export PATH="/usr/bin:${PATH}:/usr/dt/bin:/usr/openwin/bin:/opt/csw/bin"
if [ "x$LC_ALL" = x -a "x$LANG" = x -o "x$LANG" = xC ]; then
export LC_ALL="C"
export LC_CTYPE="C"
fi
if [ "x$MANPATH" = x ]; then
export MANPATH=/usr/share/man:/usr/man:/opt/csw/man
else
export MANPATH=$MANPATH:/usr/man:/opt/csw/man
fi
/usr/openwin/bin/xrdb -merge << EOF
! Default CDE resources
!*WindowColor: #8A008A008A00
!*WindowForeground: #FF0000000000
!*DataBackground: #0000FF000000
!*DataForeground: #FF0000000000
!*WorkspaceColor: #8A008A008A00
!*Color.Background: #FF000000FF00
!*Color.Foreground: #0000FF000000
!*foreground: #000000000000
! Hack for Dtmail
*XmText*background: seashell
*XmTextField*background: seashell
*Message_List*background: seashell
*background: #AE00B200C300
Dthello*string: Welcome to the Windowmaker Desktop
EOF
if [ -f $HOME/.Xdefaults ]; then
xrdb -merge $HOME/.Xdefaults # Load Users X11 resource
database
fi
echo "Starting Windowmaker"
if [ "$DTXSERVERLOCATION" != "remote" ]; then
console=False
case "$DISPLAY" in
*:0|*:0.0)
console=True
;;
esac
fi
exec /opt/csw/bin/wmaker
------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------
pico /usr/dt/config/Xsession.windowmaker
------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------
#!/bin/ksh
#####################################################################
### File: Xsession.windowmaker
###
### Default Location: /usr/dt/config/Xsession.windowmaker
###
### Purpose: Windowmaker session start script
###
### Invoked by: Solaris Desktop Login Manager (dtlogin)
###
#####################################################################
DTDSPMSG=/usr/dt/bin/dtdspmsg
export SESSIONTYPE="altDt"
export SDT_ALT_SESSION="/usr/dt/config/Xsession2.windowmaker"
export SDT_ALT_HELLO="/bin/true"
export SDT_NO_APPGATHER="1"
export SDT_NO_TOOLTALK="1"
export SDT_NO_DTDBCACHE="1"
exec /usr/dt/bin/Xsession
------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------
pico /usr/dt/config/Xsession2.windowmaker
------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------
#!/bin/ksh
#####################################################################
### File: Xsession2.windowaker
###
### Default Location: /usr/dt/config/Xsession2.windowmaker
###
### Purpose: Windowmaker Desktop start script
###
### Invoked by: /usr/dt/bin/Xsession
###
#####################################################################
# First a little namespace cleanup of vars associated with this
# (and /usr/dt/bin/Xsession.ow) scripts.
unset SDT_ALT_SESSION
unset SDT_ALT_HELLO
unset SDT_NO_DSDM
#
# Find "xinitrc" file by standard precedence rules and start
# the user's Desktop.
#
DEFAULT_XINITRC="/usr/dt/config/Xinitrc.windowmaker"
HOME_XINITRC="$HOME/.xinitrc"
if [ -f $HOME_XINITRC ]; then
XINITRC=$HOME_XINITRC
else
XINITRC=$DEFAULT_XINITRC
fi
echo 'Windowmaker Desktop'
if [ -x /usr/dt/bin/xmbind ]; then
/usr/dt/bin/xmbind
fi
if [ -f $XINITRC ]; then
echo "using xinitrc file: $XINITRC"
/bin/ksh $XINITRC
else
echo "xinitrc file: $XINITRC not found"
if [ -f $DEFAULT_XINITRC ]; then
echo "using xinitrc: $DEFAULT_XINITRC"
/bin/ksh $DEFAULT_XINITRC
fi
fi
------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------
- Window Maker on Solaris,
Andreas Höschler <=