vnc black screen with only mouse and vnc config window (seeing Failed to connect to socket /tmp/dbus-'

General support questions
Post Reply
chankim
Posts: 50
Joined: 2015/07/15 12:05:39

vnc black screen with only mouse and vnc config window (seeing Failed to connect to socket /tmp/dbus-'

Post by chankim » 2018/04/23 03:45:35

Hello,
I have upgraded from centos 6.7 to 6.9 recently and seen the boot process just hang after the 'certmonger OK' line.
I was busy with current works and could not follow on this issue and this morning by removing /etc/X11/xorg.conf and rebooting
managed to see the boot process complete. Using console, I can do gui works fine.
But when I connect using vnc, I see black screen and only the mouse pointer and vnc config window.
I think I first saw there is no user profile or something so I ran sabayon and pressed 'Edit' button for xguest.
It just finished without me not having edited anything. and I tried both putting all users to the xguest configuration and not putting.
When I start vncserver, I see the log file like this. (for display :1 which is me)
Can anyone help me please?
ADD : another question is, am I supposed to use xguest configuration? (so should I set so in sabayon?)
Xvnc TigerVNC 1.1.0 - built Mar 22 2017 18:06:28
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11704000, The X.Org Foundation


Mon Apr 23 10:29:58 2018
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5901
vncext: created VNC server for screen 0
MainThread 2018/04/23 10:30:01.5434 (sabayon-apply): Applying profile '/etc/sabayon/profiles/xguest.zip' for user 'ckim'
MainThread 2018/04/23 10:30:01.6065 (sabayon-apply): Finished applying profile '/etc/sabayon/profiles/xguest.zip' for user 'ckim'
===== BEGIN MILESTONES (/usr/sbin/sabayon-apply) =====
MainThread 2018/04/23 10:30:01.5434 (sabayon-apply): Applying profile '/etc/sabayon/profiles/xguest.zip' for user 'ckim'
MainThread 2018/04/23 10:30:01.6065 (sabayon-apply): Finished applying profile '/etc/sabayon/profiles/xguest.zip' for user 'ckim'
===== END MILESTONES (/usr/sbin/sabayon-apply) =====
===== BEGIN RING BUFFER (/usr/sbin/sabayon-apply) =====
MainThread 2018/04/23 10:30:01.5434 (sabayon-apply): Applying profile '/etc/sabayon/profiles/xguest.zip' for user 'ckim'
MainThread 2018/04/23 10:30:01.6065 (sabayon-apply): Finished applying profile '/etc/sabayon/profiles/xguest.zip' for user 'ckim'
===== END RING BUFFER (/usr/sbin/sabayon-apply) =====


This configuration for the debug log can be re-created
by putting the following in ~//etc/sabayon/sabayon-debug-log.conf
(use ';' to separate domain names):

[debug log]
max lines = 1000

(process:13635): GLib-WARNING **: gmem.c:483: custom memory allocation vtable not supported
gnome-session[13557]: WARNING: Could not make bus activated clients aware of DISPLAY=:1 environment variable: Failed to connect to socket /tmp/dbus-wfMt6t3RAu: �~W�����~]� �����~@�~P�
gnome-session[13557]: WARNING: Could not make bus activated clients aware of GNOME_DESKTOP_SESSION_ID=this-is-deprecated environment variable: Failed to connect to socket /tmp/dbus-wfMt6t3RAu: �~W�����~]� �����~@�~P�
gnome-session[13557]: WARNING: Could not make bus activated clients aware of SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/13557,unix/unix:/tmp/.ICE-unix/13557 environment variable: Failed to connect to socket /tmp/dbus-wfMt6t3RAu: �~W�����~]� �����~@�~P�

chankim
Posts: 50
Joined: 2015/07/15 12:05:39

Re: vnc black screen with only mouse and vnc config window (seeing Failed to connect to socket /tmp/dbus-'

Post by chankim » 2018/04/23 07:09:41

There was also tigervnc-server-1.1.0-16.el6.centos.x86_64, but I removed it because yum told me there is a multilib version problem (Protected multilib versions: tigervnc-server-1.1.0-24.el6.x86_64 != tigervnc-server-1.1.0-16.el6.centos.x86_64). I'm not sure I did it right or not.
Here is my vnc installation.
ckim@stph45:~] rpm -qa | grep vnc
libvncserver-0.9.7-7.el6_6.1.x86_64
tigervnc-1.1.0-24.el6.x86_64
gtk-vnc-0.3.10-3.el6.x86_64
tigervnc-server-1.1.0-24.el6.x86_64

chankim
Posts: 50
Joined: 2015/07/15 12:05:39

Re: vnc black screen with only mouse and vnc config window (seeing Failed to connect to socket /tmp/dbus-'

Post by chankim » 2018/04/24 01:51:48

Yesterday I found using 'ssh -X userid@ip.addr' I can login to my machine and still use graphic tools from another machine.
So this means I can use graphic tools on the console terminal and using 'ssh -X'. Doesn't it mean X11 is ok?
That leaves only vnc server problem.

chankim
Posts: 50
Joined: 2015/07/15 12:05:39

Re: vnc black screen with only mouse and vnc config window (seeing Failed to connect to socket /tmp/dbus-'

Post by chankim » 2018/05/02 12:19:55

I found when I make a new account, I can use vncviewer for the user with no problem.
Then I found in my home directory, there is no .Xauthority file.
So I tried generating it(following a web page). but it gives me this message.
ckim@stph45:~] xauth generate :0 . trusted
No protocol specified
xauth: (argv):1: unable to open display ":0".
What should I do? (I did this after 'ssh ckim@129.254.x.x.')

Post Reply