Bug 273111

Summary: 13.2-RELEASE - not able to switch between virtual terminals
Product: Base System Reporter: Slawomir Wojciech Wojtczak <vermaden>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Not A Bug    
Severity: Affects Only Me CC: emaste
Priority: ---    
Version: 13.2-RELEASE   
Hardware: Any   
OS: Any   

Description Slawomir Wojciech Wojtczak 2023-08-13 16:29:43 UTC
Hi,

I use xdm(1) as display manager.

After its loaded I am not able to switch to virtual consoles with [CTRL]+[ALT]+[Fx] anymore.

That was possible with 13.1, 13.0, 12.3, 12.2 and earlier versions - not its not possible.

I use drm-kmod for the Intel 3000 HD GPU which is from Sandy Bridge Intel CPUs.

Regards,
vermaden
Comment 1 Ed Maste freebsd_committer freebsd_triage 2023-08-15 16:58:05 UTC
Can you reproduce this without xdm? I.e., if you start X from a virtual console can you switch?
Comment 2 Slawomir Wojciech Wojtczak 2023-08-15 21:32:41 UTC
(In reply to Ed Maste from comment #1)

Seems it was *ME* again :(

This was the problematic configuration:

# grep'^ttyv' /etc/ttys
ttyv0   "/usr/libexec/getty Pc"         xterm   onifexists secure
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   off secure

# grep xdm /etc/rc.conf
  xdm_enable=YES
  xdm_tty=ttyv4

This configuration solved the problem:

# grep'^ttyv' /etc/ttys
ttyv0   "/usr/libexec/getty Pc"         xterm   onifexists secure
ttyv1   "/usr/libexec/getty Pc"         xterm   onifexists secure
ttyv2   "/usr/libexec/getty Pc"         xterm   onifexists secure
ttyv3   "/usr/libexec/getty Pc"         xterm   onifexists secure

# grep xdm /etc/rc.conf
  xdm_enable=YES
  xdm_tty=ttyv4


There was conflict for *ttyv4* that was causing it.

I just closed it as 'not a bug'.

Regards,
vermaden