jtwdyp in viewtopic.php?f=4&t=5427 wrote:I'm a startx user. With systemd that means I set default.target to multi-user.target rather than graphical.target, and when/if I'm ready for X to start I use startx from the tty command line...
Used to be that no mater which one of the 6 tty (virtual consoles) set up by default in most distros I'm using when I initialize X with startx, X's display screen would effectively be on tty7... That is if I used <ctrl>+<alt>+<Fkey> {where <Fkey> was any one of the first six Fkeys} I would find myself in the corresponding tty, IE <ctrl>+<alt>+<F3> would put me in tty3.
Once in one of the tty, I no longer needed to use the <ctrl> key but could switch from one tty to the next with just <alt>+<Fkey>... But if I did an <alt>+<F7> I'd find myself back on the X server's screen.
I's also worthy of note that If I locked up my desktop so bad that I couldn't logout, I could (if the <ctrl>+<alt>+<Fkey> shortcut was still working) switch back to the tty from which I'd run startx and kill the X server with a ^C...
In recent months I've noticed that some distros will sometimes hijack one of the 6 tty's (or at least it's <alt>+<Fkey> shortcut leaving me with just 5 viable tty including the one busy running the startx command...
But Mageia 3 is the first distro that I've seen consistently reuse the SAME tty that I ran startx on for the X server's screen Making it impossible to switch back to it and interrupt the X server with ^C... Though nothing stops me from logging in to one of the other tty as root and using the kill command...
My question is: was this done deliberately? If so why?
doktor5000 wrote:For the other issue, startx is not supported anymore, as systemd is used for login session control.
Then you would have X server on tty1, by the way.
systemd may not support runlevel methods of starting with a console login... But as I mentioned above, "I set default.target to multi-user.target rather than graphical.target" This means that since the default.target symlink points to the multi-user.target, no display manager is started.
It may well be that the decision has been made to not support startx anymore. But using systemd isn't, in my opinion, a good reason...
Still you probably hit on the cause of the difference. {Though I note that with Mageia, it's only tty1 if I was using tty1 when I ran startx. If I remember right, when I ran startx on tty4, X used tty4...} However the tendency to reuse an configured tty rather than adding a virtual tty7 for X on so many recent Linux systems could well be due to the phasing in of systemd.
Before I learned to avoid display managers, Whenever I was looking at a gui login I could still log into any of the 6 configured virtual consoles including, with <crtl>+<alt>+<F1>, tty1...
Though it's true that was certainly before I'd ever heard of Mageia. So perhaps mageia always used tty1 for that{even before systemd???
doktor5000 wrote: But please start a separate thread for that, as advised already by isadora.
Lesson learned... new thread...