© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Andronix AppAA
Andronix App•2y ago•
1 reply
SaacJr

`vncserver-start` exits with status 127 - Kali LXQT

When running command
vncserver-start
vncserver-start
on my newly installed Kali LXQT, I get the following stderr:

root@localhost:~# vncserver-start                    
New Xtigervnc server 'remote-desktop' on port 5901 for display :1.                                        Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /tmp/tigervnc.HTt9rN/passwd localhost:1 to connect to the VNC server.
                                                     
=================== tail /root/.vnc/localhost:1.log ===================
[mi] mieq: warning: overriding existing handler (nil) with 0x30001dd168 for event 2
[mi] mieq: warning: overriding existing handler (nil) with 0x30001dd168 for event 3
xrdb: No such file or directory                      xrdb: can't open file '/root/.Xresources'
/root/.vnc/xstartup: line 3: startlxqt: command not found
=======================================================================                                   
Session startup via '/root/.vnc/xstartup' exited with status 127!

Maybe try something simple first, e.g.,
        tigervncserver -xstartup /usr/bin/xterm
The X session exited with status 127!
Killing Xtigervnc process ID 22979... success!
root@localhost:~# vncserver-start                    
New Xtigervnc server 'remote-desktop' on port 5901 for display :1.                                        Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /tmp/tigervnc.HTt9rN/passwd localhost:1 to connect to the VNC server.
                                                     
=================== tail /root/.vnc/localhost:1.log ===================
[mi] mieq: warning: overriding existing handler (nil) with 0x30001dd168 for event 2
[mi] mieq: warning: overriding existing handler (nil) with 0x30001dd168 for event 3
xrdb: No such file or directory                      xrdb: can't open file '/root/.Xresources'
/root/.vnc/xstartup: line 3: startlxqt: command not found
=======================================================================                                   
Session startup via '/root/.vnc/xstartup' exited with status 127!

Maybe try something simple first, e.g.,
        tigervncserver -xstartup /usr/bin/xterm
The X session exited with status 127!
Killing Xtigervnc process ID 22979... success!

I have tried running the command
tigervncserver -xstartup /usr/bin/xterm
tigervncserver -xstartup /usr/bin/xterm
as recommended, and I could access a CLI via RealVNC. Other than that, I don't know what to do.

I'm currently testing Kali and could do a complete reinstall, but would like to know what's happening.
Andronix AppJoin
Welcome to the Andronix Discord server, where we talk about Andronix, Linux and other fun stuff. We are here to help you
17,995Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

KALI LINUX vncserver-start not working
Andronix AppAAAndronix App / support-forum
3y ago
Vncserver-start
Andronix AppAAAndronix App / support-forum
5mo ago
when running vncserver-start command vncserver doesn't start
Andronix AppAAAndronix App / support-forum
2y ago
vncserver-start not working
Andronix AppAAAndronix App / support-forum
2y ago