Subject: Re: XFree server wont start
To: Steven M. Bellovin <smb@research.att.com>
From: Fernando y Yohara <fvillalo@sinfo.net>
List: netbsd-users
Date: 02/22/2002 23:33:31
Here is my .xinitrc file.  I dont know xauth commands.  Could you shed some
light?
NOTE: I checked and there are no .Xresources nor .Xmodmap files.


!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld 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

# start some nice programs

twm &
xclock -geometry 150x150-1+1 &
xterm -geometry 80x50+0+0 &
exec xterm -geometry 80x40+0+0 -name login


"Steven M. Bellovin" wrote:
> 
> In message <3C770D9C.339CAAE9@sinfo.net>, Fernando y Yohara writes:
> >Hello,
> >
> >When I run the startx command, the graphical environment background appears bu
> >t
> >no window opens.
> >
> >I did a capture of the XServer messages:
> >
> >xauth: (argv):1:  bad display name ":0" in "list" command
> >xauth: (argv):1:  bad display name ":0" in "add" command
> >xauth: (argv):1:  bad display name ":0" in "list" command
> >xauth: (argv):1:  bad display name ":0" in "add" command
> 
> You have some xauth commands in your .xinitrc file, it would seem, and
> there's something not right about them.  What do they say?  (Minus any
> real keys, of course.)
> 
>                 --Steve Bellovin, http://www.research.att.com/~smb
>                 Full text of "Firewalls" book now at http://www.wilyhacker.com

-- 
A lot of people approach risk as if it's the enemy when it's really fortune's
accomplice. (Sting)
Choose well. Your choice is brief, and yet endless. (Goethe)