VNC grey screen (Ubuntu 16.04, TightVNC, Xfce4)

Chan Kim

I've been using VNC for many years but I don't know why this happens sometimes. With a new Ubuntu 16.04 machine, I first tried using Vino. It worked well, but I decided it is rather slow, so I decided to use TightVNC with the Xfce4 window manger. However I get this "grey screen" (I have experienced it before couple of times..) again.
My xstartup is :

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
startxfce4 &

and the log file is :

24/08/18 09:47:09 Xvnc version TightVNC-1.3.10
24/08/18 09:47:09 Copyright (C) 2000-2009 TightVNC Group
24/08/18 09:47:09 Copyright (C) 1999 AT&T Laboratories Cambridge
24/08/18 09:47:09 All Rights Reserved.
24/08/18 09:47:09 See http://www.tightvnc.com/ for information on TightVNC
24/08/18 09:47:09 Desktop name 'X' (kimchan:1)
24/08/18 09:47:09 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
24/08/18 09:47:09 Listening for VNC connections on TCP port 5901
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
/usr/bin/startxfce4: X server already running on display :1
Xlib:  extension "RANDR" missing on display ":1".
xfce4-session: Another session manager is already running

24/08/18 09:48:08 Got connection from client 129.254.132.39
24/08/18 09:48:08 Using protocol version 3.8
24/08/18 09:48:12 Full-control authentication passed by 129.254.132.39
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding 16
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding 22
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding 21
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding 15
24/08/18 09:48:12 Using zlib encoding for client 129.254.132.39
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding -314
24/08/18 09:48:12 Enabling full-color cursor updates for client 129.254.132.39
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding -223
24/08/18 09:48:12 Pixel format for client 129.254.132.39:
24/08/18 09:48:12   32 bpp, depth 24, little endian
24/08/18 09:48:12   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
24/08/18 09:48:12   no translation needed
24/08/18 09:48:12 Using raw encoding for client 129.254.132.39
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding 22
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding 21
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding 16
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding 15
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding -314
24/08/18 09:48:12 Enabling full-color cursor updates for client 129.254.132.39
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding -223
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding 16
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding 22
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding 21
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding 15
24/08/18 09:48:12 Using zlib encoding for client 129.254.132.39
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding -314
24/08/18 09:48:12 Enabling full-color cursor updates for client 129.254.132.39
24/08/18 09:48:12 rfbProcessClientNormalMessage: ignoring unknown encoding -223

What is wrong here? Is X server already running on display :1 an error? And how about "RANDR" missing on display:1? And what are those many ignoring unknown encoding messages?

Chan Kim

I found https://bbs.archlinux.org/viewtopic.php?id=180965

and changed my xstartup to

#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &

and it works!

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

VNC grey screen with Xubuntu 17.04

From Dev

VNC viewer grey screen since upgrade to Ubuntu 14.04 from Ubuntu 12

From Dev

Grey blank screen with various vnc services from Windows 7 to Ubuntu 14.04

From Dev

VNC grey screen and start on boot 12.04

From Dev

VNC grey screen and start on boot 12.04

From Dev

Fedora VNC problem- getting a grey screen with three checkboxes

From Dev

Ubuntu GNOME: Grey screen and very slow boot

From Dev

Ubuntu GNOME boots to grey screen with border

From Dev

Ubuntu 13.10 and xfce4: No sound at all

From Dev

Ubuntu 13.10 and xfce4: No sound at all

From Dev

xrdp and xfce4 Ubuntu > 18.04 Unusable

From Dev

Ubuntu 12.04 desktop, VNC viewer not refreshing screen

From Dev

5 seconds grey screen before ubuntu MATE login screen

From Dev

Installing opencv on Ubuntu 16-04

From Dev

Trouble Configuring VNC on AWS Ubuntu amd64 (ami-9eaa1cf6) via Win 8 TightVNC

From Dev

Da Vinci Resolve 16 on Ubuntu 20.04 grey / not previewing video issue

From Dev

xfce4 and Xrdp Server - Black Screen Kicks Session

From Dev

Update killed lightdm and xfce4 (Ubuntu 16.04. 4)

From Dev

Update killed lightdm and xfce4 (Ubuntu 16.04. 4)

From Dev

Set background image in xfce4 (Ubuntu 16.04)

From Dev

xfce4 on Ubuntu Server 19.04. Update or bad install?

From Dev

How to access an ubuntu machine via VNC from the login screen?

From Dev

How to access an ubuntu machine via VNC from the login screen?

From Dev

How to VNC into active session in Ubuntu from Mac's Screen Sharing

From Dev

Ubuntu 16.04- VNC/TeamViewer, setting screen resolution in headless mode

From Dev

Ubuntu 19.04 VNC stuck after login screen of LightDM

From Dev

Can't connect to Ubuntu/Lubuntu via VNC (gray screen)

From Dev

tightvnc is not working properly..its showing grey background with X cursor

From Dev

tightvnc is not working properly..its showing grey background with X cursor

Related Related

  1. 1

    VNC grey screen with Xubuntu 17.04

  2. 2

    VNC viewer grey screen since upgrade to Ubuntu 14.04 from Ubuntu 12

  3. 3

    Grey blank screen with various vnc services from Windows 7 to Ubuntu 14.04

  4. 4

    VNC grey screen and start on boot 12.04

  5. 5

    VNC grey screen and start on boot 12.04

  6. 6

    Fedora VNC problem- getting a grey screen with three checkboxes

  7. 7

    Ubuntu GNOME: Grey screen and very slow boot

  8. 8

    Ubuntu GNOME boots to grey screen with border

  9. 9

    Ubuntu 13.10 and xfce4: No sound at all

  10. 10

    Ubuntu 13.10 and xfce4: No sound at all

  11. 11

    xrdp and xfce4 Ubuntu > 18.04 Unusable

  12. 12

    Ubuntu 12.04 desktop, VNC viewer not refreshing screen

  13. 13

    5 seconds grey screen before ubuntu MATE login screen

  14. 14

    Installing opencv on Ubuntu 16-04

  15. 15

    Trouble Configuring VNC on AWS Ubuntu amd64 (ami-9eaa1cf6) via Win 8 TightVNC

  16. 16

    Da Vinci Resolve 16 on Ubuntu 20.04 grey / not previewing video issue

  17. 17

    xfce4 and Xrdp Server - Black Screen Kicks Session

  18. 18

    Update killed lightdm and xfce4 (Ubuntu 16.04. 4)

  19. 19

    Update killed lightdm and xfce4 (Ubuntu 16.04. 4)

  20. 20

    Set background image in xfce4 (Ubuntu 16.04)

  21. 21

    xfce4 on Ubuntu Server 19.04. Update or bad install?

  22. 22

    How to access an ubuntu machine via VNC from the login screen?

  23. 23

    How to access an ubuntu machine via VNC from the login screen?

  24. 24

    How to VNC into active session in Ubuntu from Mac's Screen Sharing

  25. 25

    Ubuntu 16.04- VNC/TeamViewer, setting screen resolution in headless mode

  26. 26

    Ubuntu 19.04 VNC stuck after login screen of LightDM

  27. 27

    Can't connect to Ubuntu/Lubuntu via VNC (gray screen)

  28. 28

    tightvnc is not working properly..its showing grey background with X cursor

  29. 29

    tightvnc is not working properly..its showing grey background with X cursor

HotTag

Archive