Hi All,
I don't know if this is the right area to post this question but not sure where else I would post it, I am new to this forum, this is my first post
When using the default /etc/ttys config and trying to change to the nonexistent ttyv9 (Ctrl+Alt+F10) It gives me a black screen with a blinking prompt, I can no longer change to a different tty including the ttyv8 used for xdm, but can still reboot FreeBSD by pressing Ctrl+Alt+Del
After editing /etc/ttys I found this happens with any amount of ttys set and always when trying to select any nonexistent tty after the tty used for xdm.
Just wondering why this happens and if I have not configured FreeBSD right to use a GUI, I found a work around as well which I posted at the bottom.
Any help would be much appreciated, below is some info on my current machine where the issue is happening -
FreeBSD
12.0-RELEASE-p10
Generic Kernel
Using ZFS
/etc/ttys -
Installed on the machine (using pkg install) -
openbox-3.6_5
obconf-2.0.4_2
obmenu-1.0.8
xorg-minimal-7.5.2_2
xdm-1.1.12
The only config file I made was a .xsession ASCII text file inside the users home directory which is used to log in using a GUI, /home/user/.xsession -
/usr/local/bin/openbox-session
/etc/rc.conf -
xdm_enable="YES"
moused_enable="NO"
The work around I did was in /etc/ttys by setting ttyv7 to use xdm. Alternatively setting ttyv9 seems to work as well. This seemed to stop the issue.
/etc/ttys -
Thanks for taking the time to read my post
I don't know if this is the right area to post this question but not sure where else I would post it, I am new to this forum, this is my first post
When using the default /etc/ttys config and trying to change to the nonexistent ttyv9 (Ctrl+Alt+F10) It gives me a black screen with a blinking prompt, I can no longer change to a different tty including the ttyv8 used for xdm, but can still reboot FreeBSD by pressing Ctrl+Alt+Del
After editing /etc/ttys I found this happens with any amount of ttys set and always when trying to select any nonexistent tty after the tty used for xdm.
Just wondering why this happens and if I have not configured FreeBSD right to use a GUI, I found a work around as well which I posted at the bottom.
Any help would be much appreciated, below is some info on my current machine where the issue is happening -
FreeBSD
12.0-RELEASE-p10
Generic Kernel
Using ZFS
/etc/ttys -
Code:
ttyv0 "/usr/libexec/getty Pc" xterm onifexists secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv2 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv3 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv4 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv5 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv6 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv7 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv8 "/usr/local/bin/xdm -nodaemon" xterm onifexists secure
Installed on the machine (using pkg install) -
openbox-3.6_5
obconf-2.0.4_2
obmenu-1.0.8
xorg-minimal-7.5.2_2
xdm-1.1.12
The only config file I made was a .xsession ASCII text file inside the users home directory which is used to log in using a GUI, /home/user/.xsession -
/usr/local/bin/openbox-session
/etc/rc.conf -
xdm_enable="YES"
moused_enable="NO"
The work around I did was in /etc/ttys by setting ttyv7 to use xdm. Alternatively setting ttyv9 seems to work as well. This seemed to stop the issue.
/etc/ttys -
Code:
ttyv0 "/usr/libexec/getty Pc" xterm onifexists secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv2 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv3 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv4 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv5 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv6 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv7 "/usr/local/bin/xdm -nodaemon" xterm onifexists secure
ttyv8 "/usr/libexec/getty Pc" xterm onifexists secure
Thanks for taking the time to read my post
Last edited by a moderator: