* Re: starting CDE
2001-05-07 9:29 starting CDE Nachiket
@ 2001-05-18 20:45 ` !!Tonnere de Brest
0 siblings, 0 replies; 2+ messages in thread
From: !!Tonnere de Brest @ 2001-05-18 20:45 UTC (permalink / raw)
Nachiket wrote:
>
> Hello everybody
>
> Can start CDE manually on tru64?If yes,How?
> In linux we can set some Window Manager and then say startx.
>
> thanks in advance
check
http://www-inst.eecs.berkeley.edu/cgi-bin/usr_pub.cgi?file=/usr/pub/XWindows.help
-------- --------------- -------------------------------------------------
DEC UNIX CDE remove "SESSIONTYPE=xdm" from your .dtprofile *
DEC UNIX twm "SESSIONTYPE=xdm" in .dtprofile; use .xsession *
DEC UNIX mwm,piewm, etc "SESSIONTYPE=xdm" in .dtprofile; edit .xsession *
* Note to sys admins:
# The way CDE decides to run the user's .xsession file is determined in
# /usr/dt/bin/Xsession. In DEC UNIX, the default behavior is different
# from the others (it would run the .xsession file if the file exists).
# We have modified /usr/dt/bin/Xsession on the DEC UNIX systems so that
# it conforms with the other UNIX systems. The modification is to change
# the line
# if [ "$SESSIONTYPE" = "xdm" -o "$SESSIONTYPE" = "dx" ]; then
# to
# if [ "$SESSIONTYPE" = "xdm" ]; then
# Only "root" can do this.
/usr/dt/bin/Xsession should be modified in several places on the DEC UNIX
systems. Here is an output of the difference:
7 Rot@congo /usr/dt/bin#diff -b -i -w Xsession.ori Xsession
161c161,162
< if [ "$SESSIONTYPE" = "xdm" -o "$SESSIONTYPE" = "dx" ]; then
---
> # if [ "$SESSIONTYPE" = "xdm" -o "$SESSIONTYPE" = "dx" ]; then
> if [ "$SESSIONTYPE" = "xdm" ]; then
413,420c414,429
< if [ -x $HOME/.xsession ]; then
< SESSIONTYPE=xdm
< export SESSIONTYPE
< if [ "$LANG" = "C" ]; then
< unset LANG
< fi
< fi
< if [ "$SESSIONTYPE" = "xdm" -o "$SESSIONTYPE" = "dx" ]; then
---
>
> # This makes the existence of one's xsession take precedence over a
> # user's .dtprofile setting of the SESSIONTYPE variable, and is hence
> # removed, brg, Fri Feb 5 11:39:56 PST 1999
> #if [ -x $HOME/.xsession ]; then
> # SESSIONTYPE=xdm
> # export SESSIONTYPE
> # if [ "$LANG" = "C" ]; then
> # unset LANG
> # fi
> #fi
> # if [ "$SESSIONTYPE" = "xdm" -o "$SESSIONTYPE" = "dx" ]; then
> # EECS modification
> # We have modified /usr/dt/bin/Xsession on the DEC UNIX systems so that
> # it conforms with the other UNIX systems. The modification is to change
> if [ "$SESSIONTYPE" = "xdm" ]; then
Thank you very much.
If you have any questions, please don't hesitate to contact me.
Thanks, G Camij Toschian,
gct@cory.eecs.berkeley.edu, EECS Instructional & Electronics Support Group
/ 386 Cory Hall / 643-6138
gct@domainmart.net,
gchiht@2xtreme.net, 510 6436138, 510 5408013, 2500 Durant # 310,
Bk, CA 94704, Rotating Outage Block 02
^ permalink raw reply [flat|nested] 2+ messages in thread