当前位置:网站首页>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
边栏推荐
猜你喜欢

Pytorch quantitative practice (1)

吴恩达的机器学习适合入门吗?

Neurotransmetteurs excitateurs - glutamate et santé cérébrale

A comprehensive understanding of gout: symptoms, risk factors, pathogenesis and management

The Jenkins download Plug-in can't be downloaded. Solution

谈谈数字化转型的几个关键问题

漫谈Clickhouse Join

Stinky tofu made by Grandma

《ClickHouse原理解析与应用实践》读书笔记(2)

Deployment and use of Nacos
随机推荐
Go Web 编程入门: 一探优秀测试库 GoConvey
Ml & DL: Introduction à l’optimisation des hyperparamètres, indice d’évaluation, phénomène de surajustement et introduction détaillée aux méthodes d’optimisation des paramètres couramment utilisées da
Clickhouse distributed table engine
Zhoushaojian, rare
Analysis of doctor Aifen's incident
Look at the top 10 capabilities of alicloud cipu
请问,启牛证券开户,可以开户吗?安全吗?你想要的答案全在这里
Some problems when SSH default port is not 22
ssh 默认端口不是22时的一些问题
Encryption and decryption and the application of OpenSSL
Which direction should college students choose to find jobs after graduation?
布隆过滤器
牛逼|珍藏多年的工具让我实现了带薪摸鱼自由
Notes [introduction to JUC package and future]
《ClickHouse原理解析与应用实践》读书笔记(2)
Sqlserver string type converted to decimal or integer type
Prediction and regression of stacking integrated model
Jupyterbook clear console output
It is urgent for enterprises to protect API security
Reading notes of Clickhouse principle analysis and Application Practice (1)