As per the Handbook, I've always turned XDM on in /etc/ttys, however I've noted that SirDice has mentioned numerous times that it should instead be enabled in /etc/rc.conf. So last night I gave it a go and XDM never loaded after a reboot, I was left with a console login screen.
I've tried it again this morning on my FreeBSD 11.1-RELEASE VirtualBox VM I use for work and had the same effect. What am I doing wrong?
/etc/ttys:
/etc/rc.conf:
I've noted that there is no xdm service file in any of the rc.d directories I can find (in /etc/rc.d and /usr/local/etc/rc.d) on either of the machines I've tried...Is there something additional I need to install?
I've tried it again this morning on my FreeBSD 11.1-RELEASE VirtualBox VM I use for work and had the same effect. What am I doing wrong?
/etc/ttys:
Code:
#
# $FreeBSD: releng/11.1/etc/etc.amd64/ttys 289634 2015-10-20 16:10:46Z gjb $
# @(#)ttys 5.1 (Berkeley) 4/17/89
#
# This file specifies various information about terminals on the system.
# It is used by several different programs. Common entries for the
# various columns include:
#
# name The name of the terminal device.
#
# getty The program to start running on the terminal. Typically a
# getty program, as the name implies. Other common entries
# include none, when no getty is needed, and xdm, to start the
# X Window System.
#
# type The initial terminal type for this port. For hardwired
# terminal lines, this will contain the type of terminal used.
# For virtual consoles, the correct type is typically xterm.
# Other common values include dialup for incoming modem ports, and
# unknown when the terminal type cannot be predetermined.
#
# status Must be on or off. If on, init will run the getty program on
# the specified port. If the word "secure" appears, this tty
# allows root login.
#
# name getty type status comments
#
# If console is marked "insecure", then init will ask for the root password
# when going to single-user mode.
console none unknown off secure
#
ttyv0 "/usr/libexec/getty Pc" xterm on secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" xterm on secure
ttyv2 "/usr/libexec/getty Pc" xterm on secure
ttyv3 "/usr/libexec/getty Pc" xterm on secure
ttyv4 "/usr/libexec/getty Pc" xterm on secure
ttyv5 "/usr/libexec/getty Pc" xterm on secure
ttyv6 "/usr/libexec/getty Pc" xterm on secure
ttyv7 "/usr/libexec/getty Pc" xterm on secure
ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu0 "/usr/libexec/getty 3wire" vt100 onifconsole secure
ttyu1 "/usr/libexec/getty 3wire" vt100 onifconsole secure
ttyu2 "/usr/libexec/getty 3wire" vt100 onifconsole secure
ttyu3 "/usr/libexec/getty 3wire" vt100 onifconsole secure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure
/etc/rc.conf:
Code:
clear_tmp_enable="YES"
syslogd_flags="-ss"
sendmail_enable="NONE"
hostname="fbsd-bil"
keymap="uk"
ifconfig_em0="SYNCDHCP"
ifconfig_em1="192.168.56.9 netmask 255.255.255.0"
sshd_enable="YES"
dumpdev="AUTO"
zfs_enable="YES"
hald_enable="YES"
dbus_enable="YES"
vboxguest_enable="YES"
vboxservice_enable="YES"
ntpd_enable="YES"
bsdstats_enable="YES"
motd_enable="YES"
xdm_enable="YES"
I've noted that there is no xdm service file in any of the rc.d directories I can find (in /etc/rc.d and /usr/local/etc/rc.d) on either of the machines I've tried...Is there something additional I need to install?
Code:
bil@fbsd-bil:~ %>pkg info | grep -i xdm
libXdmcp-1.1.2 X Display Manager Control Protocol library
xdm-1.1.11_8 X.Org X display manager