From owner-freebsd-questions Thu Apr 25 15:44:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from scanmail2.cableone.net (scanmail2.cableone.net [24.116.0.122]) by hub.freebsd.org (Postfix) with ESMTP id E90E537B41B for ; Thu, 25 Apr 2002 15:44:08 -0700 (PDT) Received: from scanmail2.cableone.net ([10.116.0.122]) by scanmail2.cableone.net with Microsoft SMTPSVC(5.5.1877.687.68); Thu, 25 Apr 2002 15:41:53 -0700 Received: from scanmail2.cableone.net [24.116.0.122] by scanmail2.cableone.net (SMTPD32-7.04) id A6312A101AE; Thu, 25 Apr 2002 15:41:53 -0700 Received: from (19-236.bilcpe.cableone.net [24.117.19.236]) by mail.cableone.net with SMTP (MailShield v2.04 - WIN32 Jul 17 2001 17:12:42); Thu, 25 Apr 2002 15:41:53 -0600 Date: Thu, 25 Apr 2002 17:44:01 -0500 (CDT) From: Denny White To: "Galella, Anthony" Cc: freebsd-questions@freebsd.org Subject: RE: xwindows trouble In-Reply-To: <59F55CE047A6D51196360002A534A4AC370431@pysmsx102.py.intel.com> Message-ID: <20020425173626.W1295-100000@hal.cableone.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SMTP-HELO: hal.cableone.net X-SMTP-MAIL-FROM: dennyboy@cableone.net X-SMTP-RCPT-TO: anthony.galella@intel.com,freebsd-questions@freebsd.org X-SMTP-PEER-INFO: 19-236.bilcpe.cableone.net [24.117.19.236] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ok, sure appreciate it! :-) Did the proper chmod on /dev/null & can get into everything now (that is, icewm, blackbox, kde, & afterstep) except gnome. Wish to hell I'd have written down the error when I tried it the 1st time after following your help instructions! Now it goes into it with the control center always open & that's it, nothing else. But, thanks to your help, all the rest of the wm's are working, so, I'm not left "x-less". I'll try gnome a few more times when I have time & try to recreate the error message & repost. Again, thanks much for the help. Denny On Thu, 25 Apr 2002, Galella, Anthony wrote: > Date: Thu, 25 Apr 2002 14:37:14 -0400 > From: "Galella, Anthony" > To: 'Denny White' > Subject: RE: xwindows trouble > > Hhmmmm.... > > Was the sticky bit set already, or did you just correct it? If you just > corrected it, make sure there are no files opened by X. Especially any > files in the /usr/tmp directory. (remove them manually if you need to.) > Also check /dev/null's permissions for the heck of it. > should look like: > crw-rw-rw- 1 root root 1, 3 Aug 30 2001 /dev/null > > > > Anthony J. Galella > anthony.galella@intel.com > > > -----Original Message----- > From: Denny White [mailto:dennyboy@cableone.net] > Sent: Thursday, April 25, 2002 2:04 PM > To: Galella, Anthony > Subject: Re: xwindows trouble > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Okay, sticky bit's set, but still can't really > do anything in xwindows as a user, only root. > Really strange. Can get in far enough on the > desktop to activate menu's, but nothing happens. > After getting out, error messages say permission > denied for access to /dev/null. Still trying & > hoping. Everything else, that is, mail, apache, > gnupg, ssh & so forth are working fine. > > On Thu, 25 Apr 2002, Galella, Anthony wrote: > > > Date: Thu, 25 Apr 2002 11:59:24 -0400 > > From: "Galella, Anthony" > > To: "'dennyboy@cableone.net'" > > Subject: Re: xwindows trouble > > > > Denny, > > > > Check to see if your permissions are correct in the new directory. > > I run /tmp and /var symlinked to /usr on my machines as well, and seem to > > always forgetting to set the "sticky bit" on the new directory. > > > > You set this with chmod. see chmod(1) in the man pages for more. > > > > if I do an ls -la on my /usr/tmp dir, see the letter "t" set: > > drwxrwxrwt 9 root wheel 512 Apr 25 03:02 . > > > > That's the stick bit. I also had to set it in /usr/var/tmp or vi wouldn't > > work. > > I set it by: chmod 1777 /usr/tmp > > > > Hope it helps... > > > > Anthony J. Galella > > anthony.galella@intel.com > > > > > > Date: Wed, 24 Apr 2002 22:49:52 -0500 (CDT) > > From: Denny White > > Subject: xwindows trouble > > > > - -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > running 4.5 stable. x was working for all. > > then, since i wanted to use some apps that > > i'd used before for benchmarking that had > > filled /tmp i tried doing the following > > taken from a fbsd book: > > > > mkdir /usr/tmp > > mv /tmp/* /usr/tmp > > (following commands supposed to be used too, > > but never got this far. got errors about > > some files not being able to be moved. was > > doing all this as root) > > cd / > > rmdir tmp > > ln -s /usr/tmp tmp > > > > Copied everything back to /tmp that had > > been moved & checked ownerships & groups. > > Everything looked like it had before. But, > > now users can get into Gnome & the guide > > loads & that's all. Zilch! Root can still > > use X (but shouldn't, I know). Anyway to > > fix this mess? > > > > > > > > "Windows is the Virus, > > Linux is the Vaccine, > > FreeBSD is the Cure!" > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (FreeBSD) > Comment: For info see http://www.gnupg.org > > iD8DBQE8yEUwy0Ty5RZE55oRAk6/AJ9wuYPt2AjYXpKq3A4CDrqqJEo+VACfcLMS > TRTi+AnHeS/Nee1omf7S97w= > =bzLh > -----END PGP SIGNATURE----- > > "Windows is the Virus, Linux is the Vaccine, FreeBSD is the Cure!" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8yIa8y0Ty5RZE55oRAt5gAJ0fv8kgjKzn/vQHdK6V1W0+JLhGegCeNgjC DG8JTVDWValZWZ/op2sS8ko= =wPER -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message