Skip site navigation (1)Skip section navigation (2)
Date:      27 Jul 2002 17:49:16 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        sroberts@dsl.pipex.com
Cc:        Maxime Romano <verbophobe@hotmail.com>, freebsd-gnome@FreeBSD.ORG
Subject:   Re: Recompiled Sawfish, now startx works only for root WAS [Re: Newly installed
Message-ID:  <1027806556.48261.32.camel@shumai.marcuscom.com>
In-Reply-To: <1027808993.32700.35.camel@Demon.vickiandstacey.com>
References:  <F125OpoUyE6ZnFDenr30002671c@hotmail.com>  <1027780596.76796.9.camel@Demon.vickiandstacey.com>  <1027790105.46963.3.camel@shumai.marcuscom.com>  <1027798187.32700.3.camel@Demon.vickiandstacey.com>  <1027802981.48261.3.camel@shumai.marcuscom.com>  <1027807293.32700.25.camel@Demon.vickiandstacey.com>  <1027804772.48261.23.camel@shumai.marcuscom.com>  <1027808993.32700.35.camel@Demon.vickiandstacey.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-8AWTVtLzszyxMElxFV8n
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Sat, 2002-07-27 at 18:29, Stacey Roberts wrote:
> Hi Joe,
>    I'm looking into the correct options to include in XF86Config in
> order to enable copy/paste for the mouse at the moment.
>=20
> /tmp/.sawfish-stacey/ *does* exist with the permissions of drwx------.
> Its empty as well, so I can't see how sawfish-ui is supposed to refer to
> <host>.mydomainname.com if it should be in there.
>=20
> Just in case you'd need to know. I also can't "ls -l" on that dir as
> non-root, I had to "su" to root in order to examine the dir.

Uh, that's probably because it's owned by root.  You need to delete the
directory as root, then have it be recreated when you start X as
stacey.  Make sure you're using the Xwrapper to start X, and not some
other hack.  Only when the sawfish socket is created will you be able to
configure sawfish.=20

Also you should _never_ run X as root (in my opinion).

Joe

>=20
> I'll try to get the mouse functions working.
>=20
> Stacey
>=20
> On Sat, 2002-07-27 at 22:19, Joe Marcus Clarke wrote:
> > On Sat, 2002-07-27 at 18:01, Stacey Roberts wrote:
> > > Hi Joe,
> > >    I've not got copy paste working with my mouse here at the moment
> > > working on that as well :-( but I'll type the output here:
> >=20
> > Make sure you're using moused, and have your protocol in your XF86Confi=
g
> > file set to Auto.  If the button is only a two-button mouse, make sure
> > you're starting moused with the -3 flag, and you have the correct
> > Emulate3Buttons option set for your mouse in XF86Config.
> >=20
> > >=20
> > > As non-root user:
> > > bash-2.05a$ /usr/X11R6/bin/sawfish-ui
> > > error: can't connect to socket
> > > /tmp/.sawfish-stacey/<host>.mydomainname.com:0.0
> > > *** Error: can't connect to sawfish on display, :0
> >=20
> > Does /tmp/.sawfish-stacey/ exist?  What are the permissions?  How about
> > the <host>.mydomainname.com:0.0 socket?
> >=20
> > >=20
> > > As root after the above failure:
> > > # /usr/X11R6/bin/sawfish-ui
> > > GnomeUI-WARNING **: While connecting to session manager:
> > > Authentication Rejected, reason : None of the authentication protocol=
s
> > > specified are supported and host-based authentication failed.
> > > error: can't connect to socket
> > > /tmp/.sawfish-stacey/<host>.mydomainname.com:0.0
> > > *** Error: can't connect to sawfish on display, :0
> > >=20
> > > Hope this proves helpful.
> > >=20
> > > About your other e-mail concerning the contents of ~/.xinitrc, what I
> > > have in the file is only what's written in the FBSD Handbook 2nd Ed P=
g
> > > 137
> >=20
> > The handbook could use an update.  Starting gnome-session with exec
> > greatly speeds things up when closing X.
> >=20
> > Joe
> >=20
> > >=20
> > > Stacey
> > >=20
> > > On Sat, 2002-07-27 at 21:49, Joe Marcus Clarke wrote:
> > > > On Sat, 2002-07-27 at 15:29, Stacey Roberts wrote:
> > > > > Hi Joe,
> > > > >    I ran the cmds you suggested as prescribed. One thing to menti=
on:
> > > > >=20
> > > > > For the two commands:
> > > > > killall gconfd-1
> > > > > killall gconfd-2
> > > > >=20
> > > > > I got "no matching process found" returned.
> > > > >=20
> > > > > On typing startx, sound now appears to be working, but I am still=
 unable
> > > > > to configure Sawfish: Same "beep", nothing happens.
> > > > >=20
> > > > > Some progress though., whatdya think?
> > > >=20
> > > > Run /usr/X11R6/bin/sawfish-ui, and send me the output.
> > > >=20
> > > > Joe
> > > >=20
> > > > >=20
> > > > > Thanks.
> > > > >=20
> > > > > Stacey
> > > > >=20
> > > > > On Sat, 2002-07-27 at 18:15, Joe Marcus Clarke wrote:
> > > > > > On Sat, 2002-07-27 at 10:36, Stacey Roberts wrote:
> > > > > > > Hi Maxime
> > > > > > >    Thanks for getting back to me.
> > > > > > >=20
> > > > > > > I got your message and advise about configuring Sawfish, but =
its really
> > > > > > > strange here.
> > > > > > >=20
> > > > > > > When I installed gnome, I didn't select any other window mana=
ger (as I
> > > > > > > knew that Sawfish is installed as the default window manager =
anyways. I
> > > > > > > was able to run the "Configure Sawfish Window Manager" tool a=
s root
> > > > > > > after recompiling Sawfish (as per Joe Marcus Clarke's advisor=
y), but I
> > > > > > > am not able to do so as a non-root user.
> > > > > > >=20
> > > > > > > I get the same "beep" noise and nothing happens.
> > > > > > >=20
> > > > > > > Sawfish is selected as "current" in the gnomecontrolcenter pa=
nel when I
> > > > > > > start it, so its already running!
> > > > > > >=20
> > > > > > > If there is any log / or config files that would assist you, =
do ask and
> > > > > > > I'll get that off to you.
> > > > > >=20
> > > > > > Shut all X things down.  Then run the following as root:
> > > > > >=20
> > > > > > killall esd
> > > > > > killall oafd
> > > > > > killall gconfd-1
> > > > > > killall gconfd-2
> > > > > >=20
> > > > > > rm -rf /tmp/.sawfish*
> > > > > >=20
> > > > > > Then start up X again as a non-root user.  Things should work f=
or you.
> > > > > >=20
> > > > > > Joe
> > > > > >=20
> > > > > > >=20
> > > > > > > Thanks again for the reply.
> > > > > > >=20
> > > > > > > Stacey
> > > > > > >=20
> > > > > > > On Sat, 2002-07-27 at 14:23, Maxime Romano wrote:
> > > > > > > > >From: <sroberts@dsl.pipex.com>
> > > > > > > > >To: Maxime Romano <verbophobe@hotmail.com>
> > > > > > > > >CC: <sroberts@dsl.pipex.com>, <freebsd-gnome@freebsd.org>
> > > > > > > > >Subject: Re: Recompiled Sawfish, now startx works only for=
 root WAS [Re:=20
> > > > > > > > >Newly installed
> > > > > > > > >Date: Sat, 27 Jul 2002 11:39:35 +0100
> > > > > > > > >
> > > > > > > > >Hi Maxime,
> > > > > > > > >    That's worked for!
> > > > > > > > >
> > > > > > > > >However, I'm back to my original problem:
> > > > > > > > >
> > > > > > > > >"Sawfish not running", when trying to configure Sawfish as=
 ordinary user.
> > > > > > > >=20
> > > > > > > > Sawfish must be running *before* you can configure it.
> > > > > > > >=20
> > > > > > > > >
> > > > > > > > >Running "sawfish" at cli returns: "You can only run one wi=
ndow manager"
> > > > > > > > You have to kill your current window manager, and start saw=
fish quickly, or=20
> > > > > > > > else the old window manager might kick in and try to take o=
ver again.
> > > > > > > >=20
> > > > > > > > Try something like "killall metacity;killall enlightenment;=
killall=20
> > > > > > > > sawfish;killall twm;sawfish 1&- 2&- 3&- &"  That oughta fix=
 everthing up.
> > > > > > > >=20
> > > > > > > > -Maxime Romano
> > > > > > > >=20
> > > > > > > > >
> > > > > > > > >Stacey
> > > > > > > > >
> > > > > > > > >Quoting Maxime Romano <verbophobe@hotmail.com>:
> > > > > > > > >
> > > > > > > > > > No, no!  To use startx, your X server must be SUID root=
!  Do to that,
> > > > > > > > > > just
> > > > > > > > > > chmod +s /usr/X11R6/bin/XFree86 as root and you're set.
> > > > > > > > > >
> > > > > > > > > > (Oh, and try to set the permissions on XFree86.0.log to=
 what they were.
> > > > > > > > > >
> > > > > > > > > > Something might break.)
> > > > > > > > > >
> > > > > > > > > > -Maxime Romano
> > > > > > > > > >
> > > > > > > > > > >From: <sroberts@dsl.pipex.com>
> > > > > > > > > > >To: robert Backhaus <robbakfreebsd@yahoo.co.uk>
> > > > > > > > > > >CC: Joe Marcus Clarke <marcus@marcuscom.com>,FreeBSD U=
ser Questions
> > > > > > > > > > List
> > > > > > > > > > ><freebsd-questions@FreeBSD.ORG>,<freebsd-gnome@FreeBSD=
.ORG>
> > > > > > > > > > >Subject: Re: Recompiled Sawfish, now startx works only=
 for root WAS
> > > > > > > > > > [Re:
> > > > > > > > > > >Newly installed 4.6Stable+gnome1.4x =3D Broken Sawfish=
]
> > > > > > > > > > >Date: Sat, 27 Jul 2002 10:53:27 +0100
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >Hi Robert,
> > > > > > > > > > >    I did as you suggested, but that only gives me a n=
ew error:
> > > > > > > > > > >
> > > > > > > > > > >Fatal server error:
> > > > > > > > > > >xf86OpenConsole: server must be suid root
> > > > > > > > > > >
> > > > > > > > > > >Silly question, how do I get the permissions to revert=
 back to what
> > > > > > > > > > they
> > > > > > > > > > >were:
> > > > > > > > > > >
> > > > > > > > > > >"rw r r root wheel"
> > > > > > > > > > >
> > > > > > > > > > >????
> > > > > > > > > > >
> > > > > > > > > > >Stacey
> > > > > > > > > > >
> > > > > > > > > > >Quoting robert Backhaus <robbakfreebsd@yahoo.co.uk>:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --- sroberts@dsl.pipex.com wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi Joe,
> > > > > > > > > > > > >    I recompiled Sawfish, but now startx only work=
s
> > > > > > > > > > > > > for root.
> > > > > > > > > > > > >
> > > > > > > > > > > > > For each user, there already exists the .xinitrc
> > > > > > > > > > > > > file
> > > > > > > > > > > > > with: /usr/X11R6/bin/gnome-session being the only
> > > > > > > > > > > > > line in there.
> > > > > > > > > > > > >
> > > > > > > > > > > > > The error I get is:
> > > > > > > > > > > > > Fatal Server Error:
> > > > > > > > > > > > > Cannnot open log file /var/log/XFree86.0.log
> > > > > > > > > > > > >
> > > > > > > > > > > > > Please help me with this.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Stacey
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > Check the ownership of /var/log/Free86.0.log
> > > > > > > > > > > > ls /var/log/XFree86.0.log
> > > > > > > > > > > > it should be something like rwx_w__w_
> > > > > > > > > > > > do chmod a+w /var/log//XFree86.0.log
> > > > > > > > > > > > I hope.
> > > > > > > > > > > >
> > > > > > > > > > > > Robert Backhaus
> > > > > > > > > > > >
> > > > > > > > > > > > __________________________________________________
> > > > > > > > > > > > Do You Yahoo!?
> > > > > > > > > > > > Yahoo! Health - Feel better, live better
> > > > > > > > > > > > http://health.yahoo.com
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > > > > > > > > >with "unsubscribe freebsd-gnome" in the body of the me=
ssage
> > > > > > > > > >
> > > > > > > > > > _______________________________________________________=
__________
> > > > > > > > > > Join the world=92s largest e-mail service with MSN Hotm=
ail.
> > > > > > > > > > http://www.hotmail.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > > > > > > >with "unsubscribe freebsd-gnome" in the body of the messag=
e
> > > > > > > >=20
> > > > > > > >=20
> > > > > > > > ___________________________________________________________=
______
> > > > > > > > Chat with friends online, try MSN Messenger: http://messeng=
er.msn.com
> > > > > > > >=20
> > > > > > >=20
> > > > > > >=20
> > > > > > >=20
> > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > > > > > with "unsubscribe freebsd-gnome" in the body of the message
> > > > > > >=20
> > > > > > >=20
> > > > > >=20
> > > > >=20
> > > > >=20
> > > > >=20
> > > > >=20
> > > >=20
> > >=20
> > >=20
> > >=20
> > >=20
> >=20
>=20
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
>=20
>=20


--=-8AWTVtLzszyxMElxFV8n
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQA9QxVcb2iPiv4Uz4cRArytAJwNKNz0eVyGJG6M4j5AGZrMdSIE2ACfX2XL
ZO3n2FW4y+kB3jh8ZjHYXVQ=
=Ob9F
-----END PGP SIGNATURE-----

--=-8AWTVtLzszyxMElxFV8n--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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