I was working in a Oracle Linux server through XRDP with Xvnc(TigerVNC) and the server crash. After the crash I only can access the server through XRDP with Xorg, but not with Xvnc, when I try to access using VNC I only have a black screen with the mouse pointer.
The file .xstartup was missing, the file vncserver@:1.service located in /etc/systemd/system was missing.
I try to reconfigure the vnc service
- Stop the service xrdp and vncserver
- Delete lock files loacated in /tmp
- Delete .Xauthority from home folder
Create ~/.vnc/xstartup file
vncserver -kill $DISPLAY
Description=Remote desktop service (VNC)
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/usr/sbin/runuser -l vncuser -c "/usr/bin/vncserver %i"
ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
Start xrdp service
execute systemctl daemon--reload
Execute systemctl vncserver@:1.service
The issue persist. I can connect using Xorg, but with Xvnc I only get a black screen with the mouse pointer
The server only have GNOME as GUI
Thanks In advance