On 20/08/2012 11:32, [email protected] wrote:
I see, still why not increase the number in the kernel?

I needed it to be "on-the-fly" because i can't know in advance the number of concurrent users. Because X in not ran as root, its process can't add tty.

I saw a workaround in the Xdummy code <http://www.karlrunge.com/x11vnc/Xdummy>. This hack uses LD_PRELOAD to change standard system "open" function behavior and create a fifo "on-the-fly". This fifo is opened in place of the tty. The fifo is only used to trick X and let some test pass.

In my case, -sharevts worked well so preferred to avoid this acrobatic hack.

_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: [email protected]

Reply via email to