Skip site navigation (1)Skip section navigation (2)
Date:      08 Jun 2002 13:08:29 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        ozdemir dogan <ozdemirdgn@yahoo.com>
Cc:        freebsd <freebsd-questions@FreeBSD.ORG>
Subject:   Re: gnome xdm problem
Message-ID:  <1023556109.893.4.camel@gyros.marcuscom.com>
In-Reply-To: <20020608115910.53409.qmail@web14904.mail.yahoo.com>
References:  <20020608115910.53409.qmail@web14904.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1023556109.893.4.camel>