Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!howland.reston.ans.net!usenet.ins.cwru.edu!wariat.org!news.nask.org.pl!news.free.net!mgulvt.mgul.ac.ru!mgulvt!and
From: and@mgulvt.mgul.ac.ru (Andrey A. Perminov)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Stupid Newbie XFree86 Question...
Date: 15 Sep 1995 15:08:42 GMT
Organization: Moscow State University of Forestry (Russia)
Lines: 59
Message-ID: <43c4tq$3da@mgulvt.mgul.ac.ru>
References: <431ofm$d89@solaris.cc.vt.edu>
NNTP-Posting-Host: mgulvt.mgul.ac.ru
X-Newsreader: TIN [version 1.2 PL2]
Brian Maloney (brmalon2@vt.edu) wrote:
: Hey, I finally re-compiled my kernel so my PS/2 mouse would work with
: XWindows, but I just have one question. WHAT DO YOU DO WHEN YOU GET
: XFree86 running? All I get is An "X" mouse cursor, and the system
: seems to hang after that. Do I need to be running some other propgram
: first or what?
Try 'startx'. It will read /usr/X11R6/lib/X11/xinit/xinitrc and execute it.
Or you can create file .xinitrc in your home directory.
There is example of my .xinitrc file
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
# 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
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
xset s on
# start some nice programs
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x20+494+51 -fn koi6x13 &
xterm -geometry 80x20+494-0 -fn koi6x13 &
exec xterm -geometry 80x25+0+0 -fn koi6x13 -name login
Hope this help you.
Regards,
Andrey
--
Andrey A Perminov e-mail: and@mgul.ac.ru
System Administrator
Moscow State University of Forestry (Russia)