Code: Select all
Installed versions: 1.20.8-r1(0/1.20.8)(kl. 13.06 +0200 25. juli 2020)(elogind ipv6 libglvnd udev xorg xvfb -debug -dmx -doc -kdrive -libressl -minimal -selinux -static-libs -suid -systemd -unwind -wayland -xcsecurity -xephyr -xnest)Code: Select all
startx -- :1




Yes, I think it's the "-suid" that's spoiled my fun. I didn't think much about it and once it had to change I hadn't caught on.flyerone wrote:xorg-serverCode: Select all
Installed versions: 1.20.8-r1(0/1.20.8)(kl. 13.06 +0200 25. juli 2020)(elogind ipv6 libglvnd udev xorg xvfb -debug -dmx -doc -kdrive -libressl -minimal -selinux -static-libs -suid -systemd -unwind -wayland -xcsecurity -xephyr -xnest)
Code: Select all
exec startx -- /etc/X11/xinitThis also worked. I can't figure out why xterm grabs the key input if I try ctrl+alt+F7, I just have to put xterm out of focus and I could switch.Anon-E-moose wrote:[...] do startx -- vt<whatever term # you switched to>
Code: Select all
startx -- :1Code: Select all
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)Code: Select all
startx -- :1 vt8Code: Select all
Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 8 (Permission denied)We had agreed you can't start a new session from "in" KDE. Sorry.account wrote:I have a similar problem. I want to start a second X session (twm) from KDE.
This commandused to work, it gave me a new X on vt8Code: Select all
startx -- :1
Code: Select all
#!/bin/sh
exec startx -- /etc/X11/xinit/xserverrc :1That seems to be a step backward, it used to work and now it doesn't.flyerone wrote: We had agreed you can't start a new session from "in" KDE. Sorry.

1) Non-root Xorg cannot get a new virtual terminal because that requires privileges; it has to use the one its standard input, output or error is redirected to.account wrote:Unfortunately i don't have enough expertise to dig deeper and find out what is the problem. Maybe someone with more knowledge could give a hint?

No, I don't think so.flyerone wrote:GDH-gentoo, did I misstep?
The way you did it seems to me the easiest way that something like this can work with USE=-suid. I just wanted to answer why I believe it is.flyerone wrote:I've put it together to work-around this and it worked here.