VNC Server config - headless VM

Hello,

I have searched the forum for my issue and found nothing related or helpful
I have checked the Resources category
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata

OpenMandriva Lx version:
OpenMandriva Lx release 6.0 (Vanadium) Rock for x86_64
OpenMandriva Lx release 25.12 (ROME) Rolling for x86_64
(I’ve tried both)

Desktop environment (KDE, LXQT…):
KDE Plasma

Description of the issue (screenshots if relevant):
I’m running OpenMandriva as a headless VM in proxmox. It’s configured to auto-login to my user session, as is the default in the installation process.

I have tigervnc-server installed. In my proxmox setup, I can bring up a window of the GUI, and in it I can open a terminal and run x0vncserver -PasswordFile=/home/$USER/.vnc/passwd (using my actual $USER name). While the terminal program is running, I can connect to the OpenMandriva system over port 5900 for VNC desktop sharing.

What I’d really like to do, though, is set up a VNC server that will run by default when I start up the system. I haven’t been able to get this to work. I’ve played with the tigervnc-server-module X11 config, some systemd service unit files, tried some things in ~/.xprofile and ~/.xinitrc, and various other things. I haven’t been able to get a system that starts up with a VNC listener that I can connect to and see the auto-logged-in graphical session. This seems like it should be simple, but I’ve been working on it for a couple of days and I just can’t make it happen. Any assistance here? Do I need to try something with x11-driver-video-dummy? I’m at a loss, and none of the VNC forums or other distro support sites seem to be getting me closer to a solution.

The problem is most likely with proxmox. You will want to get help there. Moving this to Coffee break

This is not a very secure practice and would require some things you are not including here in order to make it secure.

This is not a very secure practice and would require some things you are not including here in order to make it secure.

Yes, I understand. It would only be exposed within my home network. I may use SSH tunnels to connect from elsewhere, but definitely wouldn’t expose VNC directly over the Internet.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.