OK... so I am running Pidora on the Pi with TigerVNC as the vnc server.
I am trying to remote into the Pi from my Ubuntu 12.10 laptop using Remmina Remote Desktop client.
I get a connection, but the client screen just shows up black with the 'X' shaped mouse cursor.
I have disabled IPv6 on both the laptop and the Pi.
I have disabled the firewall on both the laptop and the Pi.
I have heard this is an incompatibility with the XFCE desktop and I need to install the GNOME DE on the Pi.
Can anyone please tell me how to get this all working and if I really need to change my desktop environment on the Pi... I really like XFCE... can I make the vnc client work with XFCE rather than GNOME? It seems silly to me that they would use a desktop for Pidora that wasn't compatible with most vnc clients since many people connect to their Pi's remotely.
I really need to get the vnc remote working as I am using the Pi in "headless mode" as a remote WiFi camera and I need to be able to see what it's shooting via the vnc client window.
UPDATE: Also, I need to know how to set the firewall in Pidora to accept VNC connections or how to prevent the firewall service from starting up at boot... AND I need to know what boot file I need to edit so that the "vncserver" service starts at boot up. Thanks.
Thanks
Get black screen trying to use VNC to remot into my Pi
Last edited by LucidEye on Mon Aug 12, 2013 6:37 pm, edited 1 time in total.
Re: Get black screen trying to use VNC to remot into my Pi
On the Pi, edit your ~/.vnc/xstartup file thus:
#!/bin/sh
startxfce4 &
#!/bin/sh
startxfce4 &
Re: Get black screen trying to use VNC to remot into my Pi
Thank you for the reply, but could you please clarify exactly what this does? I am still somewhat new to Linux and don't like entering CLI stuff or editing system files without knowing exactly what and why I am doing. Thanks 

Re: Get black screen trying to use VNC to remot into my Pi
OK malcomh...
so I added the line "startxfce4 &" to the beginning of my ~/.vnc/xstartup file and... it still doesn't work.
When I try to connect to the Pi from my laptop with the vnc client app all I get is a black screen and an error message that pops up saying "failed to start session 'gnome' ".
Any other ideas?
so I added the line "startxfce4 &" to the beginning of my ~/.vnc/xstartup file and... it still doesn't work.
When I try to connect to the Pi from my laptop with the vnc client app all I get is a black screen and an error message that pops up saying "failed to start session 'gnome' ".
Any other ideas?
Re: Get black screen trying to use VNC to remot into my Pi
The xstartup file should contain only those two lines - delete everything else.
Re: Get black screen trying to use VNC to remot into my Pi
Nope, that still didn't work... still only getting the black screen and mouse cursor in the vnc client app. I've wasted 2 days on this issue and this is getting really frustrating... this is really simple stuff that should work "out of the box" without all these problems but this is now the one thing keeping me from completing this project I'm working on. Will this work in Pidora, or should I go back to using Raspbian? I like Pidora better... more apps and features than Raspbian, and I couldn't get my camera to recognize under gphoto2 in Raspbian, but it seems to work fine in Pidora which is why I want to get the VNC working for this distro.
Hope someone can help me find a fix for this soon
Hope someone can help me find a fix for this soon

Re: Get black screen trying to use VNC to remot into my Pi
Ah sorry, but there another step that I had forgot about. List the contents of file /lib/systemd/system/vncserver@.service and follow the instructions.
BTW, I found all this information by searching the web. This is a must when trying to solve these problems, rather than hoping that someone will bring the answer to you. There are usually others that have solved the problem and posted their findings somewhere.
BTW, I found all this information by searching the web. This is a must when trying to solve these problems, rather than hoping that someone will bring the answer to you. There are usually others that have solved the problem and posted their findings somewhere.
-
- Posts: 1
- Joined: Sun Feb 21, 2016 3:28 am
Re: Get black screen trying to use VNC to remot into my Pi
hello,i seem to meet the same problem that you have ,but i use the rasbian.at first it works,however when i change the locale to chinese,an error message showed "Couldn't start Xtightvnc; trying default font path.
Please set correct fontPath in the vncserver script." and the vnc app is all grey with a cross just like yours,so ,have you sovled your problem after 3 years?thank you
Please set correct fontPath in the vncserver script." and the vnc app is all grey with a cross just like yours,so ,have you sovled your problem after 3 years?thank you