From owner-freebsd-questions Mon Jul 13 19:51:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA04758 for freebsd-questions-outgoing; Mon, 13 Jul 1998 19:51:46 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ix.netcom.com (sil-wa3-18.ix.netcom.com [206.214.137.82]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA04748 for ; Mon, 13 Jul 1998 19:51:42 -0700 (PDT) (envelope-from tomdean@ix.netcom.com) Received: (from tomdean@localhost) by ix.netcom.com (8.8.8/8.8.8) id TAA00793; Mon, 13 Jul 1998 19:51:33 -0700 (PDT) (envelope-from tomdean) Date: Mon, 13 Jul 1998 19:51:33 -0700 (PDT) Message-Id: <199807140251.TAA00793@ix.netcom.com> From: Thomas Dean To: eletech@netrover.com CC: freebsd-questions@FreeBSD.ORG In-reply-to: <35AA83F5.36AD2548@netrover.com> (message from Nicolas Blais on Mon, 13 Jul 1998 18:02:33 -0400) Subject: Re: Problem with .xinitrc Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What are you trying to do? Start X? If so, modify /etc/ttys to start xdm: I use ttyv7 and ttyv7. ====== from /etc/ttys # select one of the following two sets of lines # the ttyv6 + ttyv7 "on" lines for syscons # The ttyv6 "off" + ttyv7 "xterm" pair for X11 # #ttyv6 "/usr/libexec/getty Pc" cons25 on secure #ttyv7 "/usr/libexec/getty Pc" cons25 on secure # ttyv6 "/usr/libexec/getty Pc" cons25 off secure ttyv7 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure from here, you can control X from your .x* files, ====== /home//.xsmstartup ! $XConsortium: system.xsm,v 1.5 94/12/27 17:57:25 mor Exp $ twm smproxy ========= /home//.xsession # .xsession userresources=$HOME/.Xresources userdefaults=$HOME/.Xdefaults usermodmap=$HOME/.Xmodmap sysresources=/usr/X11R6/lib/X11/xinit/.Xresources sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap # merge in defaults and keymaps # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $userresources ]; then xrdb -merge $userresources elif [ -f $userdefaults ]; then xrdb -merge $userdefaults fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi # There is no mwm to run, so, just use twm: select one of these #wmgr=twm wmgr=xsm IFS="${IFS}:" /usr/bin/clear_colormap #xstdcmap -gray >& /dev/console & xsetroot -solid CadetBlue4 & # or some other suitable color xset b 50 500 50 # or some other suitable beep # start some nice programs xterm -iconic -C -n Console -geometry 80x10+0+10 \#+0+25 & iconArgs="-j -sk -sb -sl 255 -fn 9x15 -name `hostname`" xterm $iconArgs -geometry 80x48+90+10 \#+0+45 & xterm -iconic $iconArgs -geometry 80x48+280+10 \#+0+65 & # allow the local lan to connect to X xhost +celebris +tddti +tdd486 #Controlling process: exec $wmgr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message