I have installed xdm and modified /etc/ttys/ to enable VT 8, as described in the handbook. BSD now starts with a graphical log-in, but that refuses to accept my name and password, or to let me log in as root. Have I missed some vital stage?
Okay, then I didn't understand what you meant by "refuses to accept my name and password". Are you getting an error or something?DavidMcCann said:According to the Handbook, ~/.xsession is run after log-in, so I don't see how it would affect my ability to log in to start with.
Perfectly normal if you have a valid ~/.xinitrc file, which has nothing to do with ~/.xsession and XDM.DavidMcCann said:The window manager ran perfectly well when I logged in to a console and used startx.
Display managers are just graphical getty/login. They already "know" where to look.DavidMcCann said:There is nothing in the Handbook about having to (or how to) tell XDM where the users and passwords are kept.
If you have the full Xorg installed it should start with TWM by default if there is no .xsession.Beastie said:XDM is supposed to run automatically once FreeBSD has finished booting. You then enter your username/password and once you validate, it executes ~/.xsession. If it's missing, then XDM has nothing to execute and it comes right back to the login screen. Could you at least create a valid (and executable) ~/.xsession file? You'll need it anyway.
Yes, you do need to configure a few things. Best thing to do is to disable XDM and workout any kinks with Xorg first. Once that's done you can enable XDM again.DavidMcCann said:The job of setting up BSD seems endless, compared with Linux — or even DOS or CPM! I don't mind editing configuration files, but I just wish the documentation told me the whole story. Last night I found myself singing "We shall overcome" as I worked on it!
ttyv8 ......
ttyv9 "/usr/local/bin/xdm -nodaemon" xterm on secure