On 25/09/2016 12:20 πμ, Rob wrote:
Thanos Baloukas <baloukast...@sch.gr> wrote:
Please disregard what I said about systemd setting the tty variable,
it's not true. Does startx work if you specify the vt number?


the startx command said that
-vt
was an unrecognized option.

Yes, the hyphen should not be there, sorry. the correct is
startx -- vt<tty number>

Putting a line in
~/.xserverrc
didn't work either; it still tried to open
/dev/tty0
and said permission denied.
Contents of ~/.xserverrc
#!/bin/bash
exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNR

Is XDG_VTNR set? As I said systemd sets that if it's compiled with pam.

I'm glad X finally worked for you. Good luck.

--
Thanos
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to