From owner-freebsd-questions Mon Jun 10 8:47:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from gyros.marcuscom.com (dhcp-64-102-60-60.cisco.com [64.102.60.60]) by hub.freebsd.org (Postfix) with ESMTP id 2F19A37B407 for ; Mon, 10 Jun 2002 08:47:17 -0700 (PDT) Received: from gyros.marcuscom.com (localhost [127.0.0.1]) by gyros.marcuscom.com (8.12.3/8.12.3) with ESMTP id g5AFl9HY000464; Mon, 10 Jun 2002 11:47:09 -0400 (EDT) (envelope-from marcus@marcuscom.com) Received: (from marcus@localhost) by gyros.marcuscom.com (8.12.3/8.12.3/Submit) id g58H8Tii000966; Sat, 8 Jun 2002 13:08:29 -0400 (EDT) X-Authentication-Warning: gyros.marcuscom.com: marcus set sender to marcus@marcuscom.com using -f Subject: Re: gnome xdm problem From: Joe Marcus Clarke To: ozdemir dogan Cc: freebsd In-Reply-To: <20020608115910.53409.qmail@web14904.mail.yahoo.com> References: <20020608115910.53409.qmail@web14904.mail.yahoo.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 08 Jun 2002 13:08:29 -0400 Message-Id: <1023556109.893.4.camel@gyros.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 2002-06-08 at 07:59, ozdemir dogan wrote: > I am using Freebsd 4.5 stable.And I am new in > Freebsd, unix.My problem is I couldn't used xdm,that > is I couldn' configure xdm.As in the handbook it says: > > % echo "#!/bin/sh" > ~/.xsession > % echo "/usr/X11R6/bin/gnome-session" >> ~/.xsession > % chmod +x ~/.xsession > when I wrote % echo "#!/bin/sh" > ~/.xsession ( when > there is no .xsession file in the /root) in the shell > command line it says: > /bin/sh: Event not found > Am I doing something wrong. No, you must be using the C shell which sees '!', and thinks it's you're trying to run a command from your shell history. You can either do: % echo "#\!/bin/sh" > ~/.xsession or edit ~/.xsession, and type the commands in yourself. Joe > Thank you. > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message