From owner-freebsd-questions@FreeBSD.ORG Fri Sep 2 21:04:19 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 836AA16A41F for ; Fri, 2 Sep 2005 21:04:19 +0000 (GMT) (envelope-from dopplecoder@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 107D243D46 for ; Fri, 2 Sep 2005 21:04:18 +0000 (GMT) (envelope-from dopplecoder@gmail.com) Received: by zproxy.gmail.com with SMTP id z6so340118nzd for ; Fri, 02 Sep 2005 14:04:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gC47KegbmLhLLTGIU54e685ZgVxakLM3QhOAMLjdsvBOsr+OGxASO8ssCim4tfwASa1sME8y6QBHo8SyjajQ+ZpFGyvRknWnijQLbggXGjINoM7pBeLZ+tg2Yq1+YeDiFBsZaXxJYHrNbJ2VN/htAa1glC1h+FcGCfK2bmndxok= Received: by 10.36.221.12 with SMTP id t12mr2503151nzg; Fri, 02 Sep 2005 14:04:18 -0700 (PDT) Received: by 10.36.128.17 with HTTP; Fri, 2 Sep 2005 14:04:18 -0700 (PDT) Message-ID: <45d750d205090214043e835e8a@mail.gmail.com> Date: Fri, 2 Sep 2005 17:04:18 -0400 From: Aaron Peterson To: Chris In-Reply-To: <4318A9B7.70108@childeric.freeserve.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43180315.25e54.16838@bostreammail.net> <4318A9B7.70108@childeric.freeserve.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Four (even five) problems/queries on my FreeBSD installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dopplecoder@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2005 21:04:19 -0000 > 1. I installed KDM to make the computer a little more > userfriendly, but now I can't run things as su. Emacs > refuses to start for instance, and when I am trying to > adjust things in Login Manager (in KControl) it asks me for > the root password, I enter it, and then I bounce back. What > is the problem? I still can run emacs as lars, but not as > superuser. (I can su in a terminal window of course) It is likely that the permissions for your X server deny new windows to be opened except by the user who is running X. So if the problem you are describing is that you start X/KDE as a normal user, then open a shell window and su to root and try to run Emacs as root, it likely will not work. You should however be able to run Emacs fine as the same user you started X/KDE with. You can try something like "xhost +" if you are in a fairly secure environment, or look at the man page for "xhost" to find other options. I don't know why KControl would act that way, but I bet it is unrelated to your problems with Emacs.