Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-20-2014, 04:27 PM   #1
Registered: Mar 2014
Distribution: Fedora 23 - MariaDB 10.1 -
Posts: 130
Blog Entries: 2

Rep: Reputation: 8
VNC viewer showing black screen. unable to connect VNC server remotely on the server?

Hello everyone,

I am running Fedora 20. On my windows 8.1 machine when I run VNC client to connnect to my Fedora server. All I am getting is a black screen with the small sqare for the mouse cursor. Tried looking online for a solution. unable to get solution.

I did run the command yum groupinstall basic desktop.

still getting blank screen. started vncserver in fedora, I am running GNOME and KDE. I installed vnc-server using YUM. I installed KDE later. Also, it was working perfectly before. And now just getting a black screen.

vncserver:1 not working. below is my xstartup file.


OS=`uname -s`
if [ $OS = 'Linux' ]; then
  case "$WINDOWMANAGER" in
      if [ -e /etc/SuSE-release ]; then
        export PATH
if [ -x /etc/X11/xinit/xinitrc ]; then
  exec /etc/X11/xinit/xinitrc
if [ -f /etc/X11/xinit/xinitrc ]; then
  exec sh /etc/X11/xinit/xinitrc
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
startkde &

I am not sure as to what I am doing wrong?

any help is greatly appreciated.

Last edited by cyberdome; 04-20-2014 at 06:05 PM.
Old 08-01-2014, 08:21 AM   #2
Registered: Dec 2005
Distribution: debian (testing/unstable)
Posts: 68

Rep: Reputation: 17
Well now, any help: I had somewhat similar problems for a long time - a tiny twm desktop via vnc, but any KDE application would only start with long delays an lot of errors if started from the commandline;
 Error: Can not contact kdeinit4!
being one of the significant hints.

It turned out that my xstartup file, where I spent a long time to searching for improvements, was not the issue at all. Instead, the way you start your vncserver is relevant:

As KDE4 is designed to run only as single instance on a given PC and for a given user, any KDE application needs contact to that first instance (on the local desktop). They will only reach it if you start your vncserver process by "dbus-launch vncserver"!

Good luck, as it may help in your case, too.

Last edited by devdol; 08-01-2014 at 08:23 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vnc viewer showing only grey screen with 3 checkboxes texasj Linux - Newbie 10 04-20-2020 12:20 PM
Unable to connect Vnc server. robinselvam Linux - Software 1 01-08-2014 08:39 AM
VNC Viewer shows me a black screen when i am connected. morrison71 Red Hat 1 11-07-2013 09:27 AM
unable to connect to server thru vnc... marvc Linux - Software 0 05-25-2003 06:24 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration