Xephyr - startx - Server is already active for display

view story

https://bbs.archlinux.org – If this post is in the wrong category, I apologize. I haven't had much experience posting on fora.I am trying to run a nested X server in xephyr for testing purposes, and I have encountered some issues with startx.My main wm (host) is xmonad, which I spawn manually with startx from a vt, so it is on DISPLAY :0 and uses ~/.xinitrc (default).From there, I go on to create a window for hosting a nested X session with the following command:Xephyr -screen 800x600 -noreset :2 &Afterwards, I try to set the proper environment and start a nested X session using startx, and this is where things (HowTos)