Why am I getting a gray screen when connecting to my Ubuntu VNC Server with RealVNC Viewer?

0
17
Asked By CuriousChipmunk42 On

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

Answered By TechieTommy On

Have you thought about using NoMachine? It tends to be much easier to set up than traditional VNC solutions. Might save you some headache!

GiantPeach -

Is NoMachine compatible with a VNC server, though?

Answered By RookieRider On

Have you checked out tigervncviewer? I hear it's quite good and might give you a better experience than your current setup.

CuriousChipmunk42 -

Interesting! I haven't heard of that one before. I'll add it to my list to check out tomorrow.

Answered By FixerFrog On

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.

CuriousChipmunk42 -

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 &

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.