I'm running Ubuntu Server 24 with the XFCE4 GUI, and after a frustrating day of troubleshooting, I'm stuck with an issue. When I try to connect to my server from a Windows machine using RealVNC Viewer, I can log in with my credentials, but all I see is a grayish, pixelated screen. I've attached images for reference, including the code for my xstartup file located in the .vnc folder. I really don't know what else to try at this point—any help would be appreciated!
3 Answers
Have you thought about using NoMachine? It tends to be much easier to set up than traditional VNC solutions. Might save you some headache!
Have you checked out tigervncviewer? I hear it's quite good and might give you a better experience than your current setup.
Interesting! I haven't heard of that one before. I'll add it to my list to check out tomorrow.
I didn’t see the picture of your xstartup file, which might be crucial. A gray screen usually means that the display manager hasn't started for the session properly. Since you mentioned the xstartup file, it's worth checking that code to ensure everything looks good.
Ugh, I realized I messed up with the uploads! I can rewrite it from my phone if that helps. Here's my xstartup code: #!/bin/sh
unset SESSION_MANAGER
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
autocutsel -fork
startxfce4 &

Is NoMachine compatible with a VNC server, though?