From owner-freebsd-gnome@FreeBSD.ORG Sun Jan 3 00:53:45 2010 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AE2E106566B for ; Sun, 3 Jan 2010 00:53:45 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id E942C8FC08 for ; Sun, 3 Jan 2010 00:53:44 +0000 (UTC) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id o030sIaK003274; Sat, 2 Jan 2010 19:54:19 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: hartzell@alerce.com In-Reply-To: <19263.55120.677489.798324@gargle.gargle.HOWL> References: <19263.55120.677489.798324@gargle.gargle.HOWL> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-ogHtIeMGqEAC/LZqVAFw" Organization: MarcusCom, Inc. Date: Sat, 02 Jan 2010 19:53:46 -0500 Message-ID: <1262480026.16768.47.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,FH_DATE_PAST_20XX, NO_RELAYS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: freebsd-gnome@freebsd.org Subject: Re: getting xscreensaver to run. X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 00:53:45 -0000 --=-ogHtIeMGqEAC/LZqVAFw Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable On Sat, 2010-01-02 at 15:31 -0800, George Hartzell wrote: > I rebuilt my desktop machine over the holidays (Mac Pro, running > RELENG_8 with MBR based ZFS mirrored drives, etc...) using the current > version of ports. >=20 > I chose to install xscreensaver instead of the gnome screen saver > (which is how I usually do things), but I can't seem to get it to > start. This is how I used to run and I don't know what I've done > differently. >=20 > I launch gnome using startx, with an .xinitrc that exec's > gnome-session. >=20 > If I go to System->Preferences->Screensaver it warns me that the > screensaver isn't running and gives me the chance to start it. If I > start it then it works as expected. But after logging out and then > restarting an gnome session I find that it is again not running. >=20 > I've tried starting it via the Preferences route, then running >=20 > gnome-save-session --gui >=20 > but it still doesn't get started when I create a session. >=20 > If I capture the output from startx I find some messages from > xscreensaver about >=20 > initial effective uid/gid was root/hartzell (0/1001) > running as hartzell/hartzell (1001/1001) > =20 > Can't open display: :0.0 > initial effective uid/gid was root/hartzell (0/1001) > running as hartzell/hartzell (1001/1001) >=20 > This is probably because you're logging in as root. You > shouldn't log in as root: you should log in as a normal user, > and then `su' as needed. If you insist on logging in as root, you > will have to turn off X's security features before xscreensaver will > work. >=20 > Please read the manual and FAQ for more information: >=20 > http://www.jwz.org/xscreensaver/faq.html > http://www.jwz.org/xscreensaver/man.html >=20 > I'm running as myself, but /usr/local/bin/Xorg is setuid and owned by > root. >=20 > What's the correct way to get xscreensaver to run automagically under > gnome? I'm not sure if this option is still valid. You might try simply adding xscreensaver to the list of Startup Programs in the Startup Applications capplet. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-ogHtIeMGqEAC/LZqVAFw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEABECAAYFAks/6pgACgkQb2iPiv4Uz4fbVQCffGvmrBjKI3TW1PQv3pad8H5r xYAAnA+qaPQhMrX2TL7onrj6dteP6/RN =9hBP -----END PGP SIGNATURE----- --=-ogHtIeMGqEAC/LZqVAFw--