On Sun 22 Nov 2015 at 14:03:35 (+0100), berenger.mo...@neutralite.org wrote:
> Le 22.11.2015 10:51, Bert Riding a écrit :
> >On Sun, 22 Nov 2015 00:40:01 +0100, berenger.morel wrote:
> >>There is a behavior change I noticed when I switched to Jessie,
> >>which
> >>have always annoyed me but that I never tried to resolve.
> >>
> >>The change is that now, when I use startx on TTY1, Xorg replaces the
> >>TTY. I understand that it is not a problem for 99% of users, but I
> >>would like to know how to configure Debian to stay with the old
> >>behavior (aka: start Xorg on TTY 7+).
> >>Do someone have any clue about how to do that?
> >>Thanks.
> >>PS: I am not registed on this list, so please CC me.

It might be sensible to set your email and and that of the list in a
reply-to header. I only noticed this request because I tend to clip
excess lines from my quotations.

> >I too am not a fan of the new behavior.  X now runs on the
> >terminal from
> >which it is started, so to run it on tty7 you must run a getty on
> >tty7
> >and log in there first.  Do this by editing /etc/inittab (if using
> >init) or /etc/systemd/logind.conf (if using systemd.)
> >
> >Until the last month or so it was possible to use "startx --
> >tty24" to
> >run X on tty24, accessed by AltGr-F12, for instance.  This also no
> >longer works.  I now have tty24 listed as my ReserveVT in logind.conf
> >so that a getty is run there and I can login and then run startx.
> >
> >There are undoubtedly other ways (like screen, perhaps) to open
> >the tty
> >you prefer.
> 
> I see.
> But this trick won't prevent the me to be able to see what X11 print
> on screen, right? This is the reason I do not like this behavior.
> Like, for example, "/home/foo/.xinitrc: numlockx: not found",
> "failing to find font foo, falling back to bar", etc. Those messages
> that people not using big DEs can wish to access to (again, I know
> this is not the majority).

I'm not sure I fully understand what you can't see. Is it what you
used to see on VC1 (where you ran startx from) when X was running in
VC7? When I noticed jessie's behaviour, I just altered my script for
starting X to

xxx () 
{ 
    local TIMESTAMP=$(date +%Y-%m-%d-%H-%M-%S);
    : >| $HOME/.xsession-errors;
    printf '%s\n' "zzzyyyxxx $HOSTNAME $TIMESTAMP" >> $HOME/.xsession-errors;
    /usr/bin/X11/startx >> $HOME/.xsession-errors 2>&1 &
}

so that everything appears in $HOME/.xsession-errors.
The only mystery to me is why, when I Ctrl-Alt-Backspace out of X,
I sometimes find the VC1 command line looks like this:

$ £££

(from one to three pound characters, usually zero).

Cheers,
David.

Reply via email to