Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2002 04:10:41 -0500 (EST)
From:      Joe Clarke <marcus@marcuscom.com>
To:        Mike Stacy <mstacy@angstrom.net>
Cc:        FreeBSD-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: GNOME
Message-ID:  <20020315040531.I81782-100000@shumai.marcuscom.com>
In-Reply-To: <001401c1cbd2$dec97580$0301a8c0@480mhz>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 14 Mar 2002, Mike Stacy wrote:

> I just finished installing GNOME on my FreeBSD box, then when I startx
> everything is the same.....I followed the handbook, and also typed this in
> "echo "/usr/X11R6/bin/gnome-session" > ~/.xinitrc" how can I make GNOME come
> up or make it come up........
>

If you use startx to get X going, adding the following to ~/.xinitrc will
work:

#!/bin/sh

exec /usr/X11R6/bin/gnome-session

Make sure you chmod +x this file to get it working.

If you're like me, and you use gdm, then I recommend you create a startup
script in /usr/X11R6/etc/rc.d called xserver.sh:

#!/bin/sh

PREFIX=/usr/X11R6

case "$1" in

start)
    ${PREFIX}/bin/gdm
    ;;
stop)
    /usr/bin/killall gdm 2>/dev/null
    ;;
*)
    echo "$0 start | stop"
    ;;

esac

Yes, you can also modify /etc/ttys to accomplish the same thing, but I
prefer this method.

Joe


>
>
>
>                     -Mike
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
>


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?20020315040531.I81782-100000>