From owner-freebsd-questions Mon Sep 21 15:08:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21730 for freebsd-questions-outgoing; Mon, 21 Sep 1998 15:08:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA21539 for ; Mon, 21 Sep 1998 15:07:46 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.04 #1) id 0zLE5c-0001bL-00; Mon, 21 Sep 1998 23:05:48 +0100 Date: Mon, 21 Sep 1998 23:05:48 +0100 From: Ben Smithurst To: Ghulum Dastgir , freebsd-questions@FreeBSD.ORG Subject: Re: shells, users and X Message-ID: <19980921230548.A5875@scientia.demon.co.uk> References: <5060100023679139000002L092*@MHS> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <5060100023679139000002L092*@MHS> User-Agent: Mutt/0.94.3i (FreeBSD 3.0-CURRENT i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ghulum Dastgir wrote: > 1. I've installed X-windows on my FBSD installation then decided to > change my root shell from /bin/csh to /bin/bash. After editing with vipw I > found I couldn't access > X-windows anymore i.e. if I enter startx: it says command not found. > How can I fix this as startx was working previously with csh? Chances are that /usr/X11R6/bin was in your path, but one of csh's initialisation files was setting it. Try putting something like this in ~/.bashrc export PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin adding/removing directories as needed. > Is it actually worth the extra effort working as a user, because only I'll be > working on my FBSD install on my pc at home. As a mere user I guess I can't > acess the cdrom drive, mount my /dos partition etc - so I-ll be constatly > typing "su". I wouldn't like working as root all the time, you could quite easily delete something you didn't mean to. Maybe I'm paranoid, though I think `sensible' would be a better way of describing what I and most others do :-) -- Ben Smithurst : ben@scientia.demon.co.uk : http://www.scientia.demon.co.uk/ PGP: 0x99392F7D - 3D 89 87 42 CE CA 93 4C 68 32 0E D5 36 05 3D 16 http://www.scientia.demon.co.uk/ben/pgp-key.html (or use keyservers) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message