(In reply to Andrew Travneff from comment #15)
> That's it, thanks. Second X session seems launched without root rigths.
> Would it be better to open a separate issue about streams redrection
> breaking this functionality?
Yes please, component xorg-x11-server and please assign the bug to me. Although I'm not sure if / when I'll get around to fixing that. Note you should be able to redirect any 2 streams, as long as you leave one connected to the tty, e.g.:
startx &> logfile
Should work fine, likewise redirecting stdin, but leaving stdout and/or stderr connected to the tty should
work fine. Note redirecting one of the streams to *another tty* will breaks things, but if you redirect to regular files and leave one stream unredirected things should work.
(In reply to Andrew Travneff from comment #15)
> That's it, thanks. Second X session seems launched without root rigths.
> Would it be better to open a separate issue about streams redrection
> breaking this functionality?
Yes please, component xorg-x11-server and please assign the bug to me. Although I'm not sure if / when I'll get around to fixing that. Note you should be able to redirect any 2 streams, as long as you leave one connected to the tty, e.g.:
startx &> logfile
Should work fine, likewise redirecting stdin, but leaving stdout and/or stderr connected to the tty should
work fine. Note redirecting one of the streams to *another tty* will breaks things, but if you redirect to regular files and leave one stream unredirected things should work.