From owner-freebsd-questions Mon Dec 23 18:13:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DBAF37B401 for ; Mon, 23 Dec 2002 18:13:53 -0800 (PST) Received: from smtp040.tiscali.dk (smtp040.tiscali.dk [212.54.64.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC4B943ED8 for ; Mon, 23 Dec 2002 18:13:51 -0800 (PST) (envelope-from db@traceroute.dk) Received: from main (213.237.112.252.adsl.arsy.worldonline.dk [213.237.112.252]) by smtp040.tiscali.dk (8.12.5/8.12.5) with ESMTP id gBNNn6Sp025213 for ; Tue, 24 Dec 2002 00:49:06 +0100 (MET) Message-Id: <200212232349.gBNNn6Sp025213@smtp040.tiscali.dk> Date: Tue, 24 Dec 2002 00:52:00 CET From: socketd To: questions@freebsd.org Subject: Re: Gnome login Reply-To: db@traceroute.dk X-Mailer: Spruce 0.6.5 for X11 w/smtpio 0.7.9 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit 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 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 :-) br socketd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message