Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Dec 2002 00:52:00 CET
From:      socketd <db@traceroute.dk>
To:        questions@freebsd.org
Subject:   Re: Gnome login
Message-ID:  <200212232349.gBNNn6Sp025213@smtp040.tiscali.dk>

index | next in thread | raw e-mail


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



help

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