From owner-freebsd-questions@FreeBSD.ORG Wed Dec 10 14:57:37 2008 Return-Path: Delivered-To: Questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA8801065672 for ; Wed, 10 Dec 2008 14:57:37 +0000 (UTC) (envelope-from dokpm0@Phideaux.RawFedDogs.net) Received: from Phideaux.RawFedDogs.net (Phideaux.RawFedDogs.net [64.251.15.37]) by mx1.freebsd.org (Postfix) with ESMTP id 989CD8FC13 for ; Wed, 10 Dec 2008 14:57:37 +0000 (UTC) (envelope-from dokpm0@Phideaux.RawFedDogs.net) Received: from [24.167.59.175] (helo=[192.168.93.2]) by Phideaux.RawFedDogs.net with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LAQVL-000PPC-73 for Questions@FreeBSD.org; Wed, 10 Dec 2008 08:57:36 -0600 Date: Wed, 10 Dec 2008 08:57:25 -0600 (CST) From: Kevin Monceaux X-X-Sender: dokpm0@Blaidd-Drwg.RawFedDogs.net To: FreeBSD Questions Mailing List 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 Sender: dokpm0@Phideaux.RawFedDogs.net Cc: Subject: slim(Simple LogIn Manager) problem 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, 10 Dec 2008 14:57:37 -0000 FreeBSD Fans, After a recent install I'm having trouble with slim. The last time I installed FreeBSD on my home desktop box slim worked well. I'm running RELENG_7 with xorg, slim, etc., installed from an up-to-date ports tree. I created my xorg.conf file via xorgconfig, and also tried Xorg -config to see if it made any difference. Does any of the following symptoms sound familiar to anyone? If I start slim via /etc/ttys using: ttyv8 "/usr/local/bin/slim" xterm on secure I can sign on to slim but can't do anything after that. I use dwm as my window manager and when it first starts I normally have just a blank black screen, so I'm not sure if dwm is actually starting or not. pgrep says it's running. My .xinitrc has: xrdb ~/.Xresources xmodmap ~/.Xmodmap xsetroot -cursor_name left_ptr xsetroot -solid black unclutter & exec /home/dokpm0/bin/dwm It's clearing slim's background image, so I know it's at least getting to xsetroot -solid black. I tried setting DISPLAY and starting a urxvt terminal session from a virtual console. pgrep said urxvt was running but it didn't appear in my X session. If I disable slim in /etc/ttys and start it via /usr/local/etc/rc.d/slim I can sign on and everything works except the mouse, and in terminal sessions I start my path is wrong. I failed to make a note of the exact path I'm getting, and I'm working remotely right now, but I think it started with: ./:/bin: ... login.conf has: :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin ~/bin:\ as the default path. One of the the missing paths is ~/bin, and ./ shouldn't be in the path, but is. To make things more interesting, if I stop slim, sign on to a virtual console, and use startx to, well, start X everything works. My mouse works, my path is correct, etc. Has anyone seen a similar slim problem? The path problem is easy enough to work around via an entry in my ~/.zshenv file. With dwm I can do almost everything via the keyboard, but a functional mouse does come in handy occasionally. :-) Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!!