当前位置:网站首页>vncserver: Failed command ‘/etc/X11/Xvnc-session‘: 256!
vncserver: Failed command ‘/etc/X11/Xvnc-session‘: 256!
2022-06-30 20:20:00 【蓝羽飞鸟】
安装vncserver启动时出现如下报错:
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
然后根据提示运行了如下命令:
tigervncserver -xstartup /usr/bin/xterm
又会有如下报错:tigervncserver: Can't start '/usr/bin/xterm': No such file or directory!
然后安装xterm
sudo apt install xterm
再运行tigervncserver -xstartup /usr/bin/xterm还是会报错,但是这次错又不一样:
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!
正百思不得其解时,看到了报错信息中其实有如下提示:
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.
运行:
xtigervncviewer -SecurityTypes VncAuth -passwd /root/.vnc/passwd :2
连接成功
边栏推荐
- NLP skill tree learning route - (I) route overview
- Jerry's determination of detection sensitivity level [chapter]
- Peking University ACM problems 1004:financial management
- 北京大学ACM Problems 1000:A+B Problem
- 北京大学ACM Problems 1004:Financial Management
- Summary of PHP file upload (garbled code, move failure, permission, display picture)
- 1. Introduction to generating countermeasures network
- 哈夫曼樹(一)基本概念與C語言實現
- B_QuRT_User_Guide(32)
- Peking University ACM problems 1006:biorhythms
猜你喜欢

SQL优化

Based on the open source stream batch integrated data synchronization engine Chunjun data restore DDL parsing module actual combat sharing

Maya House Modeling

Lumiprobe protein quantitation - qudye Protein Quantitation Kit

基于开源流批一体数据同步引擎ChunJun数据还原—DDL解析模块的实战分享

Is the project manager a leader? Can you criticize and blame members?

B_QuRT_User_Guide(31)
![Jerry's touch key recognition process [chapter]](/img/cf/8dacbb7f80e427276df6201dddd377.png)
Jerry's touch key recognition process [chapter]

Lumiprobe核酸定量丨QuDye dsDNA BR 检测试剂盒

左值引用和右值引用
随机推荐
MySQL:SQL概述及数据库系统介绍 | 黑马程序员
MFC界面库BCGControlBar v33.0 - 桌面警报窗口、网格控件升级等
maya房子建模
BioVendor sRAGE Elisa试剂盒测试原理和注意事项
大神详解开源 BUFF 增益攻略丨直播
Wechat applet development practice cloud music
On the charm of code language
杰理之触摸按键识别流程【篇】
Study on PEGylation of lumiprobe and PEG linker - iodine-peg3-acid
北京大学ACM Problems 1000:A+B Problem
Go语学习笔记 - gorm使用 - 数据库配置、表新增 | Web框架Gin(七)
maya房子建模
Jerry's long press reset [chapter]
Openfire在使用MySQL数据库后的中文乱码问题解决
Jerry's question about long press boot detection [chapter]
Big God explains open source buff gain strategy live broadcast
Lvalue reference and lvalue reference
数据库 OLAP、OLTP是什么?相同和不同?适用场景
Document contains & conditional competition
偏向锁/轻量锁/重级锁锁锁更健康,上锁解锁到底是怎么完成实现的