VNC shows black screen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to get Tiger VNC working on a home machine running Fedora 29 with latest patches applied.
I can connect and provide user's password but the screen is blank.

On initial connection I got the Welcome Window that asked for keyboard style and such, but when I closed that window nothing but a black screen and that's all I get now when I log in. If I remove the user and add her back I get the Welcome Window again, but when that is done again black screen. Essentially there is no way to start an application and nothing setting the background. Seems the window manager isn't getting control or something.

I have:

Environment=XDG_SESSION_TYPE=x11

In the /etc/systemd/system/vncserver-karen@.service file, which some sites have indicated may be needed. I have tried a couple of combinations of the .vnc/xstartup I've seen from various places, but am back to the original:

#!/bin/sh

unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec /etc/X11/xinit/xinitrc

I have this working fine on a Fedora 29 machine at work. All the files I know of to compare I have and they seem the same, like the ones mentioned above.

I attached the output of "systemctl status vncserver-karen@:2.service". It looks like everything is started fine. I haven't found any error messages that seem to apply.

I saw some comments that selinux could be an issue. I have selinux disabled both in the /etc/selinux/config file:

# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled

Also from command line I can see it isn't enabled:

$ getenforce
Disabled

The gnome-session-binary seems to be running according to systemctl output. I just don't know why it doesn't seem to be taking control of things.

Any pointers or suggestions would be helpful.

Thanks
Chris K
● vncserver-karen@:2.service - Remote desktop service (VNC)
   Loaded: loaded (/etc/systemd/system/vncserver-karen@.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2019-03-16 22:54:00 CDT; 29min ago
  Process: 16096 ExecStop=/usr/bin/vncserver -kill :2 (code=exited, status=0/SUCCESS)
  Process: 16109 ExecStart=/usr/bin/vncserver :2 -geometry 1800x960 (code=exited, status=0/SUCCESS)
  Process: 16105 ExecStartPre=/usr/bin/vncserver -kill :2 (code=exited, status=2)
 Main PID: 16116 (Xvnc)
    Tasks: 194 (limit: 4915)
   Memory: 263.6M
   CGroup: /system.slice/system-vncserver\x2dkaren.slice/vncserver-karen@:2.service
           ├─16116 /usr/bin/Xvnc :2 -auth /home/karen/.Xauthority -desktop creto.localdomain:2 (karen) -fp catalogue:/etc/X11/fontpath.d -geometry 1800x960 -pn -rfbauth /home/karen/.vnc/passwd -rfbport 5902 -rfbwait 30000
           ├─16129 /usr/libexec/gnome-session-binary
           ├─16141 dbus-launch --exit-with-session /usr/libexec/gnome-session-binary
           ├─16142 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --session
           ├─16157 /usr/libexec/at-spi-bus-launcher
           ├─16163 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
           ├─16165 /usr/libexec/at-spi2-registryd --use-gnome-session
           ├─16202 /usr/bin/gnome-keyring-daemon --start --components=secrets
           ├─16231 /usr/libexec/gvfsd
           ├─16236 /usr/libexec/gvfsd-fuse /home/karen/.gvfs -f -o big_writes
           ├─16281 /usr/libexec/gsd-power
           ├─16282 /usr/libexec/gsd-print-notifications
           ├─16283 /usr/libexec/gsd-rfkill
           ├─16284 /usr/libexec/gsd-screensaver-proxy
           ├─16285 /usr/libexec/gsd-sharing
           ├─16286 /usr/libexec/gsd-xsettings
           ├─16292 /usr/libexec/gsd-sound
           ├─16295 /usr/libexec/gsd-wacom
           ├─16299 /usr/libexec/gsd-smartcard
           ├─16307 /usr/libexec/gsd-clipboard
           ├─16308 /usr/libexec/gsd-a11y-settings
           ├─16312 /usr/libexec/gsd-datetime
           ├─16317 /usr/libexec/gsd-color
           ├─16322 /usr/bin/pulseaudio --start
           ├─16324 /usr/libexec/gsd-keyboard
           ├─16328 /usr/libexec/gsd-housekeeping
           ├─16332 /usr/libexec/gsd-mouse
           ├─16335 /usr/libexec/gsd-media-keys
           ├─16407 /usr/libexec/gsd-printer
           ├─16442 /usr/libexec/pulse/gconf-helper
           ├─16444 /usr/libexec/gconfd-2
           ├─16450 /usr/libexec/tracker-miner-fs
           ├─16451 /usr/libexec/evolution-data-server/evolution-alarm-notify
           ├─16453 /usr/bin/gnome-software --gapplication-service
           ├─16456 /usr/libexec/tracker-miner-apps
           ├─16458 /usr/libexec/gsd-disk-utility-notify
           ├─16460 /usr/bin/abrt-applet --gapplication-service
           ├─16477 /usr/libexec/tracker-store
           ├─16481 /usr/libexec/gvfs-udisks2-volume-monitor
           ├─16508 /usr/libexec/gvfs-goa-volume-monitor
           ├─16512 /usr/libexec/goa-daemon
           ├─16530 /usr/libexec/goa-identity-service
           ├─16535 /usr/libexec/gvfs-mtp-volume-monitor
           ├─16544 /usr/libexec/gvfs-gphoto2-volume-monitor
           ├─16549 /usr/libexec/evolution-source-registry
           ├─16554 /usr/libexec/gvfs-afc-volume-monitor
           ├─16571 /usr/libexec/evolution-calendar-factory
           ├─16580 /usr/libexec/dconf-service
           └─16583 /usr/libexec/evolution-addressbook-factory

Mar 16 22:54:03 creto.localdomain dbus-daemon[16142]: [session uid=1002 pid=16140] Activating service name='org.gnome.evolution.dataserver.Calendar7' requested by ':1.55' (uid=1002 pid=16451 comm="/usr/libexec/evolution-data-server/evolution-alarm")
Mar 16 22:54:03 creto.localdomain dbus-daemon[16142]: [session uid=1002 pid=16140] Successfully activated service 'org.gnome.evolution.dataserver.Calendar7'
Mar 16 22:54:03 creto.localdomain dbus-daemon[16142]: [session uid=1002 pid=16140] Activating service name='ca.desrt.dconf' requested by ':1.62' (uid=1002 pid=16571 comm="/usr/libexec/evolution-calendar-factory ")
Mar 16 22:54:03 creto.localdomain dbus-daemon[16142]: [session uid=1002 pid=16140] Activating service name='org.gnome.evolution.dataserver.AddressBook9' requested by ':1.62' (uid=1002 pid=16571 comm="/usr/libexec/evolution-calendar-factory ")
Mar 16 22:54:03 creto.localdomain dbus-daemon[16142]: [session uid=1002 pid=16140] Successfully activated service 'ca.desrt.dconf'
Mar 16 22:54:04 creto.localdomain gnome-software[16453]: enabled plugins: desktop-categories, fwupd, os-release, packagekit, packagekit-local, packagekit-offline, packagekit-proxy, packagekit-refresh, packagekit-upgrade, packagekit-url-to-app, appstream, fedora-pkgdb-collections, desktop-menu-path, epiphany, flatpak, hardcoded-blacklist, hardcoded-featured, hardcoded-popular, modalias, packagekit-refine, rewrite-resource, steam, odrs, packagekit-history, provenance, repos, systemd-updates, generic-updates, packagekit-refine-repos, provenance-license, icons, key-colors, key-colors-metadata
Mar 16 22:54:04 creto.localdomain gnome-software[16453]: disabled plugins: dpkg, dummy, shell-extensions
Mar 16 22:54:04 creto.localdomain dbus-daemon[16142]: [session uid=1002 pid=16140] Successfully activated service 'org.gnome.evolution.dataserver.AddressBook9'
Mar 16 22:54:04 creto.localdomain gnome-software[16453]: Only 2 apps for recent list, hiding
Mar 16 22:54:08 creto.localdomain gnome-software[16453]: Failed to find one package for cisco-anyconnect.desktop, /usr/share/applications/cisco-anyconnect.desktop, [0]
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux