01-19-2009
After getting gnome2 by pkg_add -r or through ports, all you have to do to enable it is add the line:
gnome_enable="YES"
to /etc/rc.conf.
Your hostname issue can be resolved by adding your machine's name to /etc/rc.conf:
hostname="your machine's name"
and to /etc/hosts by adding your machine's name to the local host line, such as:
::1 yourmachine yourmachine.local locallhost localhost.my.domain
127.0.0.1 yourmachine yourmachine.local localhost localhost.my.domain
You can also set up gnome to start only for specific users, in case some users might wish to use other windows managers, by creating the file ~/.xinitrc in the user's home directory and adding the line
start gnome-session
Then the user types "startx" (or is it "xstart"?) at login to start the gnome session.
I think that will do what you need. I think you can also go back to the FreeBSD installer by typing the command "sysinstall" and use the options there for setting up your Internet connections. The wizard asks you to set your machine's name and automatically sets up the hostname and /etc/hosts file. Maybe that would do it.
Tony
8 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
I was finally able to get FreeBSD working with X-windows and KDE. I installed Gnome also. However am not given the chance to run Gnome when I type: startx at the command line. KDE seems to be default
How can I run Gnome too? (1 Reply)
Discussion started by: lancest
1 Replies
2. UNIX for Dummies Questions & Answers
Hey all :)
I finally got around to installing FreeBSD 4.4, which considering it's my first attempt with *nix, didn't go too badly. I've managed to configure X and everything else, but I've got a bit of a problem, lol.
I installed KDE and GNOME. I had a rough idea as to what they were, but I... (5 Replies)
Discussion started by: hellz
5 Replies
3. UNIX for Dummies Questions & Answers
Hi guys,
I still have "microsoft windows" eyes so this unix freebsd stuff still looks very alien to me.
Yesterday I managed to install freebsd 5.1 on my dell notebook. And today I got Gnome 2.2 working. I have this problem I can only login to Gnome with my normal user account, and not with... (1 Reply)
Discussion started by: Dalma
1 Replies
4. UNIX Desktop Questions & Answers
ps. i posted this first on UNIX for Dummies Questions & Answers , Sorry about the double post
Hi guys,
I still have "microsoft windows" eyes so this unix freebsd stuff still looks very alien to me.
Yesterday I managed to install freebsd 5.1 on my dell notebook. And today I got Gnome 2.2... (2 Replies)
Discussion started by: Dalma
2 Replies
5. BSD
Recently, i have installed FreeBSD 5.3 on my computer. I then proceeded to install the latest version of Gnome. I went to the FreeBSD handbook and looked up how to set Gnome as my default window manager, and for some reason it did not work. I was wondering what exactly the command is to do set... (4 Replies)
Discussion started by: jgmyshko
4 Replies
6. BSD
at root command line
# pkg_add -r gnome2
This will download the latest GNOME 2.22 packages from the FreeBSD FTP site, and proceed to install them on your system.
Up-to-date GNOME packages for i386 and amd64 for all supported versions of FreeBSD are also available from the GNOME Tinderbox.... (0 Replies)
Discussion started by: very9music
0 Replies
7. BSD
I have a fresh 64-bits install of FreeBSD 8.1 on a machine, but having issues with getting gnome to work.
I have followed the guidelines on FreeBSD GNOME Project: GNOME 2.32 FAQ
In summary that is:
pkg_add -r gnome2
Add gnome_enable="YES" to /etc/rc.conf
After a reboot and logging in, there... (8 Replies)
Discussion started by: figaro
8 Replies
8. Shell Programming and Scripting
Hi
I'm looking for scripts to backup & restore Gnome Desktop and all settings in Gnome. (0 Replies)
Discussion started by: ccc
0 Replies
LEARN ABOUT DEBIAN
gnome-session-save
gnome-session-save(1) User Commands gnome-session-save(1)
NAME
gnome-session-save - saves or terminates the current GNOME session
SYNOPSIS
gnome-session-save [--kill] [--gui] [gnome-std-options]
DESCRIPTION
gnome-session-save can be used from a GNOME session to save a snapshot of the currently running applications. This session will be restored
at your next GNOME startup session.
OPTIONS
The following options are supported:
--gui Shows a dialog when the session is saved, and reports errors in dialog boxes instead of printing to stderr.
--kill Terminates the GNOME session.
gnome-std-optionStandard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
EXAMPLES
Example 1: Saving the user's current session
example% gnome-session-save
Example 2: Terminating the user's current session
example% gnome-session-save --kill
Example 3: Using the GUI to terminate the user's current session
example% gnome-session-save --kill --gui
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-session-sThe command-line executable for the application.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-session |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
gnome-std-options(5), default.session(5), gnome-smproxy(1), gnome-session(1)
NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003.
SunOS 5.10 13 Jan 2003 gnome-session-save(1)