When I run sudo python ./bin/startx.py,I will meet that
Starting X on DISPLAY=:0
Traceback (most recent call last):
File "./bin/startx.py", line 108, in
main()
File "./bin/startx.py", line 104, in main
startx(display)
File "./bin/startx.py", line 78, in startx
for r in pci_records():
File "./bin/startx.py", line 19, in pci_records
output = subprocess.check_output(command).decode()
File "/root/miniconda3/lib/python3.8/subprocess.py", line 415, in check_output
return run(popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/root/miniconda3/lib/python3.8/subprocess.py", line 493, in run
with Popen(popenargs, **kwargs) as process:
File "/root/miniconda3/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/root/miniconda3/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'lspci'
So I try to install pciutils,and then it will report that
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
Build Operating System: linux Ubuntu
Current Operating System: Linux autodl-container-b5c14e88ea-6759e3ee 5.4.0-162-generic #179-Ubuntu SMP Mon Aug 14 08:51:31 UTC 2023 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-5.4.0-162-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro cgroup_enable=memory swapaccount=1
Build Date: 15 January 2024 03:45:41PM
xorg-server 2:1.20.13-1ubuntu1~20.04.14 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.38.4
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: Wed Jan 24 16:37:25 2024
(++) Using config file: "/tmp/tmpvxc79oan"
(==) 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.
I try many methods,but I can't solve this problem,and when I try other baseline models that based on TEACh dataset,I also meet similar problems.So I ask you for help.Thanks very much!
When I run sudo python ./bin/startx.py,I will meet that
So I try to install pciutils,and then it will report that
I try many methods,but I can't solve this problem,and when I try other baseline models that based on TEACh dataset,I also meet similar problems.So I ask you for help.Thanks very much!