BrlAPI should only use XDG_VTNR when within an X session. (dm)