#!/bin/sh
# Reassign ownership of the console to root, this should disallow
# assignment of console output to any random users's xterm
# $OpenBSD: TakeConsole.in,v 1.4 2026/11/07 09:12:55 robert Exp $
#
prefix="/usr/X11R6"
exec_prefix="${prefix}"

${exec_prefix}/bin/sessreg -d -l $DISPLAY -u none $USER
