X on Xterminals but not on console

David Brodbeck gull at gull.us
Wed Oct 5 21:37:30 UTC 2011


On Wed, Oct 5, 2011 at 10:59 AM, Matthias Apitz <guru at unixarea.de> wrote:
> El día Wednesday, October 05, 2011 a las 12:10:47PM -0400, Lowell Gilbert escribió:
>
>> n dhert <ndhertbsd at gmail.com> writes:
>>
>> > FreeBSD-8.2 with Xorg:
>> > Is there a way one can specify that your never have X on the console (just
>> > the login: prompt)
>> > but still have X on any other X-windows termnal (an KDM login window) and
>> > graphical environment
>>
>> Sure.  It's all in how you configure KDM.
>>
>> In xdm it's set up in the access file;
>> I wouldn't be surprised if kdm were the same.
>
> You have login: on console, login, create a file ~/.xinitrc with the
> lines:
>
> twm &
> xterm
>
> and then you just say: startx and X11 will come up; ofc you could remove
> software or create some dirty xorg.conf file which X11 will not let come up;

Couldn't you just remove execute permission for the X server binaries?
 People using X terminals will only be running X clients, since the
server will be their terminal.  In fact, i think you only need a
server installed at all in this situation for dependency reasons.


More information about the freebsd-questions mailing list