Date: 12 Jun 2002 10:39:33 +0100 From: Paul Richards <paul@freebsd-services.com> To: eric@hollar.com Cc: newbies@FreeBSD.ORG Subject: Re: Starting Gnome Message-ID: <1023874773.10393.93.camel@lobster.originative.co.uk> In-Reply-To: <20020611180620.12271.h010.c000.wm@mail.hollar.com.criticalpath.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Wed, 2002-06-12 at 02:06, eric@hollar.com wrote: > Hello, > > I have done a fresh install of 4.5 RELEASE and successfully configured the X > server, switched resolutions, played some games in X, etc. I installed Gnome > from the package supplied on the installation ISO, and am wondering now how to > get it started. > > From some articles I found on the internet, I found a few instructions. I > created a "xinitrc" file in the home directory of my non-root user account. I > tried a "gnome-session" line in this file as well as a "exec > /usr/X11R6/bin/gnome-session" line and neither one seemed to kick off Gnome > after a "startx". There are a few ways to start gnome. A nice way is to use gdm (or xdm*), which presents you with a "windows" style login screen. You need to add this line to /etc/ttys ttyvb "/usr/X11R6/bin/gdm -nodaemon" xterm on secure then do `kill -1 1`, which will start up gdm on ttyvb (you can choose a different tty, I put mine on F12). If you then do ctrl-alt-F12, you'll see a graphical login screen. Before you login you need to setup your session init script. In your home directory create a file .xsession that looks like this -------- #!/bin/sh gnome-session --------- If you now try and login using gdm, it should start your gnome session. If things don't work then look at the file ~/.xsession-errors, it should provide some clues. *gdm has had some security issues, if the box is connected to a network then you might be better off using xdm, which does the same job but isn't as exciting :-) -- Paul Richards | FreeBSD DVD distributions FreeBSD Services Ltd | http://www.freebsd-services.com | Pre-order your FreeBSD 4.6 DVD now!. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQEVAwUAPQcW1H/5PEK9QuA3AQJ0YQgAtUGZDhs0wPW11otjQs9IKI54ziY3DsAG dRcg0kyEqVTGoucOmj25Dfd7XSbkHxBk8qHSOGX5+0n6gBn8gAjHkMjFaX0ucvAn Ecqz9FfbwLo8iUXLvvsa1z1LpYn0xhcgDYxbU09+tXWUe3Da8WUr9NZqfEAi1Cho WqbpRO/U4sosxB3W68tExhOoZJ2cH9n4vjAQuAHxIFt2GqyUFSC9ttEyE2Kpyqgy tseU+33SABYzLq3P3qpIElASGcVFbpQAcy/sVMCtyanquB4L1Mbb32IlVWNDM8ho cl+smhUmywwlqjFHRsob6CCOdvFySMsHrVxceR9M1XGDHbrIRn4MaA== =QEwL -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1023874773.10393.93.camel>
