[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    How to start X without a terminal device
From:       Bud Bundy <budric () gmail ! com>
Date:       2017-06-30 14:14:00
Message-ID: 09a0abc7-72ed-b61d-ab79-539c0a37715c () gmail ! com
[Download RAW message or body]

Hi,

I have a headless rendering application.  I'd like to start it in a 
container (LXD in this case, but I had same issue with mesos native 
containerizer) which do not map /dev/ttyX.

Is it possible to start X without a terminal?  I can specify dummy video 
driver, void keyboard/mouse drivers, a virtual/non-existent monitors, 
but I can't seem to figure out a dummy /dev/tty device for X.  Or 
perhaps someone can point to how i could create a dummy virtual terminal.

If it has any bearing, I'm using Ubuntu 16.04, Xorg 1.18.4.  I tried 
this Xdummy xorg.conf configuration: http://xpra.org/xorg.conf.  I was 
starting the server as root to sidestep permission issues if any.  The 
error when running "xinit glewinfo" or even "X :1" was

(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)

Thank you.

_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic