Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 2002 23:31:29 -0500 (EST)
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        socketd <db@traceroute.dk>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Gnome login
Message-ID:  <20021223232949.X81680@shumai.marcuscom.com>
In-Reply-To: <200212232349.gBNNn6Sp025213@smtp040.tiscali.dk>
References:  <200212232349.gBNNn6Sp025213@smtp040.tiscali.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Dec 2002, socketd wrote:

>
> On 23 Dec 2002, Joe Marcus Clarke wrote:
>
> > > So my question is "How do I start gnome without that window popping
> > up?"
> >
> > All you need in ~/.xinitrc to start GNOME is:
> >
> > exec /usr/X11R6/bin/gnome-session
>
> Like I said, if I delete the "login" line I get:
>
> main# startx
>
> Free86 Version 4.2.1 / X Window System
> (protocol Version 11, revision 0, vendor release 6600)
> Release Date: 3 September 2002
>         If the server is older than 6-12 months, or if your card is
>         newer than the above date, look for a newer version before
>         reporting problems.  (See http://www.XFree86.Org/)
> Build Operating System: FreeBSD 4.7-RELEASE i386 [ELF]
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
>          (++) from command line, (!!) notice, (II) informational,
>          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/XFree86.0.log", Time: Tue Dec 24 00:46:57 2002
> (==) Using config file: "/etc/X11/XF86Config"
>
> waiting for X server to shut down Gdk-ERROR **: X connection to :0 broken
> (explicit kill or server shutdown).
>
> xinitrc look like this:
> main# more .xinitrc
> #!/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
> gaim &
>
> exec gnome-session &
> #xclock -geometry 50x50-1+1 &
> #xterm -geometry 80x50+494+51 &
> #xterm -geometry 80x20+494-0 &
> exec xterm -geometry 80x66+0+0 -name login
>
> Hope this helps :-)

Maybe you should listen to me.

ALL YOU NEED IS THE FOLLOWING LINE...PERIOD!

exec /usr/X11R6/bin/gnome-session

If you add a '&' to the end, IT WILL NOT WORK!  If you want to add other
stuff to the file, the gnome-session line should be the last line in the
file.

Joe

>
> br
> socketd
>
>
> 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?20021223232949.X81680>