Fedora Linux Support Community & Resources Center
  #1  
Old 12th September 2017, 07:30 PM
emike Offline
Registered User
 
Join Date: Jan 2008
Posts: 15
linuxfedorafirefox
fedora 26 vncserver with black screen

I have not found an answer anywhere else.

From what I can tell, vncserver failes when started from 'systemctl' but works when started from the command line.

I did both and checked gnome-session-binary:

emike 1932 1 0 03:22 ? 00:00:00 /usr/libexec/gnome-session-binary
emike 2684 1 0 03:24 pts/0 00:00:00 /usr/libexec/gnome-session-binary

The one on pts/0 was started from the command line. The other from systemctl.

Under the one started from the command line, there is a 'gnome-shell'. Not under the other.
Also, a diff of the log files (:1 systemctl and :2 command line) the only noteable difference is:

Failed to import environment: Process org.freedesktop.systemd1 exited with status 1

I can assume that this is because there is no controlling tty. This is definitely a bug.
I don't yet know of a workaround. Any ideas?
Reply With Quote
  #2  
Old 15th September 2017, 03:06 PM
emike Offline
Registered User
 
Join Date: Jan 2008
Posts: 15
linuxfedorafirefox
Re: fedora 26 vncserver with black screen

Disappointed again with no replies.

Had two problems. The main one (found by web searches) was fixed by
adding this line:

Environment=XDG_SESSION_TYPE=x11

To

/lib/systemd/system/vncserver@*.service

user the [Service] group, and restarting

The other was a permissions problem, I think it was in /run/user/..., but I don't
remember.
Reply With Quote
Reply

Tags
black, fedora, screen, vncserver

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xrdp Shows Blank Screen, Black Screen, and Then Disconnects - Fedora 25 and 26 lavie Using Fedora 1 21st July 2017 07:46 PM
Fedora 25 no login screen black screen sgk1980 Hardware & Laptops 0 24th May 2017 06:08 PM
Fedora 19, Black screen instead of user login screen grumie Installation, Upgrades and Live Media 20 17th August 2013 12:20 PM
XP UltraVNC Viewer to Fedora 8 vncserver - blank screen problem BobLfoot Using Fedora 46 12th October 2008 07:03 AM
problems with vncserver showing grey and black dotted screen when connected to dani190 Using Fedora 2 21st May 2007 01:40 AM


Current GMT-time: 10:40 (Thursday, 21-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat