[blfs-support] startx failes to work

Thanos Baloukas baloukasthan at sch.gr
Sun Sep 25 00:13:22 PDT 2016


On 25/09/2016 12:20 πμ, Rob wrote:
> Thanos Baloukas <baloukasthan at 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


More information about the blfs-support mailing list