From owner-freebsd-questions@FreeBSD.ORG Thu Nov 4 05:00:39 2010 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 4F9D1106564A for ; Thu, 4 Nov 2010 05:00:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 122FC8FC16 for ; Thu, 4 Nov 2010 05:00:38 +0000 (UTC) Received: from r55.edvax.de (port-92-195-8-222.dynamic.qsc.de [92.195.8.222]) by mx02.qsc.de (Postfix) with ESMTP id 8E75B1DF0B for ; Thu, 4 Nov 2010 06:00:37 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oA450aMD001539 for ; Thu, 4 Nov 2010 06:00:36 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 4 Nov 2010 06:00:36 +0100 From: Polytropon To: freebsd-questions@freebsd.org Message-Id: <20101104060036.d3d6e8af.freebsd@edvax.de> In-Reply-To: <4CD185A0.1060805@nagual.nl> References: <4CD185A0.1060805@nagual.nl> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: installing a window manager X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 05:00:39 -0000 On Wed, 03 Nov 2010 16:54:08 +0100, Dick Hoogendijk wrote: > Up 'till now I had a server without X. I've a need however to be able to > graphically work on that server so I thought: I install > x11-servers/xorg.server and after that I build windowmaker (nice and > light). Good choice - here on a long-running regular workstation. > However, this does not seem to be enough to get X working. Three steps: 1. Get X (itself) working 2. Install WindowMaker and its dependencies 3. Make your user account a .xinitrc or .xsession (depends on if you use xdm or startx command) See: http://www.freebsd.org/doc/handbook/x-config.html Example for ~/.xinitrc: #!/bin/sh # $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $ [ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc xrandr --fb 1400x1050 xrandr --size 1400x1050 xsetroot -solid rgb:3b/4c/7a xset b 100 1000 15 & xset r rate 250 30 & xset s off & xset -dpms & exec wmaker The last line will "transfer control" to the WindowMaker program. Then, configure WindowMaker to your needs. > Can somebody tell me what to build (with portmaster) to get a minimal X > server station with windowmaker. Any dependencies should be recursively by portmaster (as it does per portmanager, port's make install, and even pkg_add -r). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...