KasmVNC icon indicating copy to clipboard operation
KasmVNC copied to clipboard

Black Screen Ubuntu GNOME on Vultr

Open twicer-is-coder opened this issue 2 years ago • 8 comments

Describe the bug I installed KasmVNC and when I open the URL its loaded but gives black screen I can just see its left sidebar. I think GNOME is not loading or desktop environment.

System Description image

KasmVNC Details kasmvncserver_jammy_1.1.0_amd64.deb

Provide the output of this command. 1.1.0

Additional context I am launching on :2 and SSL disabled.

My .xstartup file looks like this and I selected gnome when kasmvnc was installed as desktop environment. image

twicer-is-coder avatar Apr 30 '23 17:04 twicer-is-coder

same issue on linode and azure

analogpvt avatar May 01 '23 04:05 analogpvt

Can you provide the output of the log file under ~/.vnc/*.log

mmcclaskey avatar May 01 '23 10:05 mmcclaskey

@twicer-is-coder @analogpvt you need to install dbus-x11 and restart KasmVNC. sudo apt install dbus-x11.

ledestin avatar May 01 '23 14:05 ledestin

Same issue. I have dbus-x11 installed.

BasToTheMax avatar May 27 '23 15:05 BasToTheMax

Can confirm same issue. Image here: image

LilData777 avatar Jun 02 '23 23:06 LilData777

Had the same issue also using Vultr and Ubuntu 22.04 desktop version.

Got it to work by disabling Wayland by editing: sudo nano /etc/gdm3/custom.conf and uncommenting the line: WaylandEnable=false

Plus I also had to enter: sudo apt install dbus-x11

Restart the machine, and finally VNC works!

RSupreme4 avatar Aug 20 '23 02:08 RSupreme4

@RSupreme4 could you please describe the whole process you went through?

I was able to make it work on Vultr without touching GDM config.

I did the following:

  • Create a GNOME Ubuntu Jammy VM
  • Login via ssh as a non-root user via ssh
  • Install dbus-x11 with sudo apt install dbus-x11
  • Run vncserver, choose GNOME
  • Run ssh -L 8444:localhost:8444 <vm_ip>, and connect to KasmVNC on https://localhost:8444.

I did encounter an issue with error message "dbus[55223]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/0" is owned by uid 0, not our uid 1001", and it was caused by me logging to Vultr vps as root via ssh and then running su <non-root-user>, and running vncserver. XDG_RUNTIME_DIR is properly set by systemd, when you actually login, not just su <user>.

ledestin avatar Sep 03 '23 04:09 ledestin

@friendlygabe777 Can you provide the output of the log file under ~/.vnc/*.log

ledestin avatar Sep 03 '23 08:09 ledestin