News:

SMF - Just Installed!

Main Menu

VNC fail

Started by mahesh, Sep 21, 2023, 05:55 AM

Previous topic - Next topic

mahesh

Hi guys
how to fix this issue
{
root@berbidvps:~# vncserver


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


vncserver: Can't exec '/root/.vnc/xstartup': No such file or directory


=================== tail /root/.vnc/berbidvps.4.2.2.4:5901.log ===================
Can't exec "/root/.vnc/xstartup": No such file or directory at /usr/share/perl5/TigerVNC/Wrapper.pm line 1073.
================================================== ================================


Session startup via '/root/.vnc/xstartup' exited with status 1!


Maybe try something simple first, e.g.,
tigervncserver -xstartup /usr/bin/xterm
The X session exited with status 1!
Killing Xtigervnc process ID 27750... success!
root@berbidvps:~#
}

thanks