From owner-freebsd-questions@FreeBSD.ORG Fri May 15 06:47:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AC7D1065693 for ; Fri, 15 May 2009 06:47:52 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (macos.cmi.ua.ac.be [143.129.75.1]) by mx1.freebsd.org (Postfix) with ESMTP id A736C8FC2D for ; Fri, 15 May 2009 06:47:51 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (localhost [127.0.0.1]) by macos.cmi.ua.ac.be (8.14.2/8.14.2) with ESMTP id n4F6lnGW083286 for ; Fri, 15 May 2009 08:47:49 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) Received: from localhost (pdon@localhost) by macos.cmi.ua.ac.be (8.14.2/8.14.2/Submit) with ESMTP id n4F6lnf4083283 for ; Fri, 15 May 2009 08:47:49 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) X-Authentication-Warning: macos.cmi.ua.ac.be: pdon owned process doing -bs Date: Fri, 15 May 2009 08:47:49 +0200 (CEST) From: Pieter Donche X-X-Sender: pdon@macos.cmi.ua.ac.be To: "mail.list freebsd-questions" Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: root user, graphical programs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pieter Donche List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2009 06:47:53 -0000 FreeBSD 7, KDE 3.5 To install Matlab (in linux compat mode), one must execute the matlab install program as root. The installer is graphical. When from a KDE terminal window, I switch to root (# su -) and try a graphical program, e.g. # xpdf, I get Can't open display. The FreeBSD handbook (10.5.1) says in that case type setenv HOME ~USER (USER the username where the su command was given). This doesn't help I still get Can't open display. What's wrong and how to solve it?