From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 16:53:57 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 CC3B01065675 for ; Wed, 17 Jun 2009 16:53:57 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f211.google.com (mail-bw0-f211.google.com [209.85.218.211]) by mx1.freebsd.org (Postfix) with ESMTP id 5714E8FC0A for ; Wed, 17 Jun 2009 16:53:57 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz7 with SMTP id 7so467255bwz.43 for ; Wed, 17 Jun 2009 09:53:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=AYHHdN1BFwXB4E/0F9QafhdZpkvIUQmq4eNAeHpVNBo=; b=aF6FBZ5wpVoMAhVoNruv9DX4IZASEdKjRQfwoyqujpx66A8pJhhIuS/5x2ML6SIDaa rOAwDCJvcp9zmfx9MYf+FXssIgP3g+d++PckMHW/YfS6pEs42ptEKhPnUZSqTuH7N7d1 6+W4KuH6eb3ao9UlOngoMI3k3xwxvsgIKdSN0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Zczc/leWGjhL061jvQ6A4CkRwhKozJ1ZzQoICceNZHZQhsQcnjRFB2pAab6d4crmUA 5N8n3sQTZ5YJJcsHxWax7Ql8iiy4rsRNkWUi5N1vmUgEXT6ZKW/iPJOKyFiUxlS27lG+ Hy6Ypc3Tkm7TukpwcdE6dK5K/IU5jbLdHXMas= MIME-Version: 1.0 Received: by 10.204.51.210 with SMTP id e18mr328385bkg.69.1245257636153; Wed, 17 Jun 2009 09:53:56 -0700 (PDT) In-Reply-To: <4A39197D.6000501@eskk.nu> References: <4A39197D.6000501@eskk.nu> Date: Wed, 17 Jun 2009 12:53:55 -0400 Message-ID: <4ad871310906170953r56827e13wb4fac8473ac58dd5@mail.gmail.com> From: Glen Barber To: Leslie Jensen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: startx does not work, startxfce4 does! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 16:53:58 -0000 On Wed, Jun 17, 2009 at 12:27 PM, Leslie Jensen wrote: > On a newly installed 7.2-RELEASE system with all ports upgraded and cvsup'ed > I have a problem. > > Both root and user has > > .xsession linked to .xinitrc > > and contains > > #!/bin/sh > exec /usr/local/bin/startxfce4 > > > If I execute startx as root TWM is started! > > If I execute startxfce4 as root XFCE4 is started > > > > If I execute startx as user I get a black screen that after some minutes > returns to the prompt. > > If I execute startxfce4 as user XFCE4 is started > > I've checked the rights on startx and startxfce4 plus .xsession and .xinitrc > and they are the same as I have on another 7.2 system that works. > > I could need some help to find the problem. > Hi, Leslie Try this. Create a file: $HOME/.xinitrc containing: /usr/local/bin/startxfce4 Then give 'startx' another shot. -- Glen Barber