Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 2015 20:26:27 +0530
From:      Avinash Sonawane <>
To:        Rolf Nielsen <>
Subject:   Re: Unable to login to FreeBSD + xorg + xdm system
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, May 8, 2015 at 7:28 PM, Rolf Nielsen <> wrote:
> Hash: SHA256
> On 2015-05-08 15:10, Avinash Sonawane wrote:
>> Hello!
>> I am using FreeBSD 10.1-RELEASE. Today I installed x11/xorg and
>> also x11/xdm and them made changes to /etc/ttys as instructed in
>> the Handbook
>> (
>> But now I am unable to login in the system. When I boot the system
>> a big rectangle (xdm) pops up as a login screen and when I enter
>> my credentials (username and password) it simply returns back (like
>> the box got refreshed) and again asks for the credentials.
>> No matter how many time I provide the credentials it simply pops
>> up again and again.
>> I tried with normal user account as well as root account.
>> And now I am not able to login in the system at all. Please help.
> Hit Ctrl + Alt + F1 to get to a console.

I can't access any of the virtual terminals as well.

> Log in as root, and check
> /var/log/Xorg.0.log, /var/log/xdm.log and .xsession-errors in the home
> directory of the user you are trying to log in to X as. Somewhere in
> one of those files (probably .xsession-errors) there should be
> something that tells you what is wrong.

~/.xsession-errors of both the users contains a single line saying
"exec: /usr/local/bin/xsm: not found"

And about /var/log/xdm.log and /var/log/Xorg.0.log to be honest I have
no idea what I'm looking at.

Here is my /var/log/xdm.log
and /var/log/Xorg.0.log

Avinash Sonawane (RootKea)
PICT, Pune

Want to link to this message? Use this URL: <>