allenai / ai2thor

An open-source platform for Visual AI.
http://ai2thor.allenai.org
Apache License 2.0
1.09k stars 210 forks source link

Docker erro: parse_vt_settings: Cannot open /dev/tty0 (No such file or directory) #1201

Open Chinartist opened 3 months ago

Chinartist commented 3 months ago

when I try sudo python3 startx.py 1 &, inside the docker environment, it tells me that:

X.Org X Server 1.19.6   
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.4.0-139-generic x86_64 Ubuntu
Current Operating System: Linux 2cf8eb669126 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-169-generic root=UUID=dbef928d-4144-4d00-b86a-71af3acad75f ro
Build Date: 29 March 2023  03:16:03PM
xorg-server 2:1.19.6-1ubuntu4.15 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 25 14:45:48 2024
(++) Using config file: "/tmp/tmptbm03zwa"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.