Hi Florian,
Forgive me, but I don't understand what exactly you are trying to do. I think I can help you as I have what seems to be a similar setup on my own machine, but I can't quite make sense of your request.
First, I have no idea what mythTV is (am I alone in this??
) but I suspect that if we could get your X session(s) working the way you like, then you could take care of the mythTV part, yes?
OK, some things:
1 - I don't use Ubuntu very much.
2 - I do use nVidia stuff, and S-Video for my Television.
3 - I have two serverlayouts configured, but not sure if they are like you want yours or not.
So for comparison:
With my setup, Serverlayout #1 drives two monitors on my desk.
....................... Serverlayout #2 drives one monitor, plus a TV using S-Video. I switch by 'startx -- :1 -layout="television"
Both layouts use Twinview, ie, my main monitor is always used, and the second device (either another monitor OR the TV) is 'Twinviewed' to the right or left of my monitor.
The purpose is this: If it's just me using the computer, I use two monitors.
But if I want to play a DVD movie on the TV, I switch to layout #2 and then start Xine. I put Xine onto the TV screen, Full-Screen it, and start the movie.
While the movie plays, I can still use my computer on my monitor.
That said, can you explain why you need to have a second session & serverlayout started on a different TTY, but need to be able to switch back to the first layout while still having the second one going?? I'm not sure you can do that by this method, but you *Might* get the results you seek by using something like 'tightVNC' or a similar VNC client. With VNC, I can start a second X session inside a console window. Using that method, what I would suggest would be to start your S-Video session, and then open a console window and start another session using your PRIMARY layout. This way, the S-Video continues to run as the default layout, but you have your own session in its own window.
The only problem I can foresee with this, might be that depending on the capabilities of your video card, it may not be able to display the outputs you want simultaneously. My video card for example has 3 outputs, however it will only drive two out of three at any time.
So, umm.. I don't know where this info leaves you, but if you can clarify what exactly you need it to do, perhaps we can figure a solution.