小编jxw*_*jxw的帖子

vncserver 退出太早

我有一个 Ubuntu 21.10 headless,我需要使用远程桌面连接到它。当我尝试开始使用vncserver命令时,我得到以下过早退出代码

hd2900@hd2900:~/.vnc$ vncserver

New Xtigervnc server 'hd2900:1 (hd2900)' on port 5901 for display :1.
Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/hd2900/.vnc/passwd :1 to connect to the VNC server.


=================== tail /home/hd2900/.vnc/hd2900:5901.log ===================
==============================================================================

Session startup via '/home/hd2900/.vnc/xstartup' cleanly exited too early (< 3 seconds)!

Maybe try something simple first, e.g.,
    tigervncserver -xstartup /usr/bin/xterm
The X session cleanly exited!
Killing Xtigervnc process ID 10156... success!
hd2900@hd2900:~/.vnc$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: …
Run Code Online (Sandbox Code Playgroud)

vnc remote-desktop

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

remote-desktop ×1

vnc ×1