当前位置:网站首页>vncserver: Failed command ‘/etc/X11/Xvnc-session‘: 256!
vncserver: Failed command ‘/etc/X11/Xvnc-session‘: 256!
2022-06-30 21:56:00 【Blue feather bird】
install vncserver The following error occurs during startup :
Starting applications specified in /etc/X11/Xvnc-session
Log file is /root/.vnc/XXXX:1.log
Use xtigervncviewer -SecurityTypes VncAuth -passwd /root/.vnc/passwd :1 to connect to the VNC server.
vncserver: Failed command '/etc/X11/Xvnc-session': 256!
=================== tail -15 /root/.vnc/XXXX:1.log ===================
Copyright (C) 1999-2019 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12008000, The X.Org Foundation
Thu Jun 30 09:08:25 2022
vncext: VNC extension running!
vncext: Listening for VNC connections on local interface(s), port 5901
vncext: created VNC server for screen 0
X connection to :1 broken (explicit kill or server shutdown).
Thu Jun 30 09:08:26 2022
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:-nan ratio)
Killing Xtigervnc process ID 2451... which seems to be deadlocked. Using SIGKILL!
==========================================================================================
Starting applications specified in /etc/X11/Xvnc-session has failed.
Maybe try something simple first, e.g.,
tigervncserver -xstartup /usr/bin/xterm
Then I run the following command according to the prompt :
tigervncserver -xstartup /usr/bin/xterm
The following errors will be reported :tigervncserver: Can't start '/usr/bin/xterm': No such file or directory!
Then install xterm
sudo apt install xterm
Run again tigervncserver -xstartup /usr/bin/xterm It still reports an error , But this time the mistake is different :
X connection to :2 broken (explicit kill or server shutdown).
Thu Jun 30 09:19:55 2022
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:-nan ratio)
Killing Xtigervnc process ID 5929... which seems to be deadlocked. Using SIGKILL!
When I can't figure it out , I see the following prompt in the error message :
Starting applications specified in /etc/X11/Xvnc-session
Log file is /root/.vnc/XXXX:2.log
Use xtigervncviewer -SecurityTypes VncAuth -passwd /root/.vnc/passwd :2 to connect to the VNC server.
function :
xtigervncviewer -SecurityTypes VncAuth -passwd /root/.vnc/passwd :2
Successful connection
边栏推荐
猜你喜欢

机器学习中如何使用数据集?

Go Web 编程入门: 一探优秀测试库 GoConvey

1-2 install and configure MySQL related software

Summary of errors reported when using YML file to migrate CONDA environment

Introduction to go web programming: a probe into the excellent test library gocovey

Clickhouse Native Monitoring item, System table Description

Zhoushaojian, rare

PyTorch量化实践(1)

clickhouse原生監控項,系統錶描述

AKK菌——下一代有益菌
随机推荐
1-20 预检请求
Export El table as is to excel table
1-20 pre inspection request
1-2 install and configure MySQL related software
国产数据库乱象
Inventory the six second level capabilities of Huawei cloud gaussdb (for redis)
Reading notes of Clickhouse principle analysis and Application Practice (3)
1-10 respond to client content according to different URLs
1-19 利用CORS解决接口跨域问题
Arcmap|assign values to different categories of IDS with the field calculator
PyTorch量化实践(1)
【MySQL入门】第一话 · 初入“数据库”大陆
1-12 初步认识Express
1-18 create the most basic express server & API module for creating routes
1-14 express托管静态资源
Document layout analysis: a comprehensive survey 2019 paper learning summary
1-10 根据不同的url响应客户端的内容
pytorch geometric torch-scatter和torch-sparse安装报错问题解决
Deployment and use of Nacos
1-15 nodemon