Using xdm and twm on freebsd 6.2

John L. Utz III john at utzweb.net
Fri Apr 6 16:13:00 UTC 2007


On Apr 5, 2007, at 5:51 PM, Jim Seymour wrote:

> On Thu, 2007-04-05 at 10:39 -0700, David Wolfskill wrote:
>> As I think you know, starting X via xinit uses ~/.xinitrc, while  
>> using
>> xdm uses ~/.xsession.
>>
>> The latter need sto be executable.
>>
>> What's in it?
>>
>> (I use xdm & various window managers -- usually piewm, which is  
>> derived
>> from tvtwm, which resembles twm quite a bit.  I can send you my
>> ~/.xsession if youi like, but it's not especially likely to be all  
>> that
>> close to what you will want.)
>
> After creating yet another .xsession file I get the following:
>
> X connection to :0.0 broken (explicit kill or server shutdown).
> FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc" refcount is 2,  
> should
> be 1; fixinng.
> AUDIT: Thu Apr 5 20:40:04 2007: 726 X: client 2 rejected from local  
> host
>
> In my .xsession (mode 700):
>
> #! /bin/sh
> twm &
>
> When I boot it loads xdm. When I try to log in, the screen goes blank
> and then comes back to the login screen. Ideas....

that return to the main screen means that it's failing - have u  
looked in /var/log/messages?

have you looked to see if xdm has a verbose flag that u can use if u  
started in from the command line?


>
> Thanks,
> -- 
> Jim Seymour <jim at wingbarscafe.com>



More information about the freebsd-mobile mailing list