• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3047
  • Last Modified:

Centos + gnome + VNC = black screen...no Gnome

I've installed vnc on Centos,...about 5 times now...
For whatever reason...this time... I get a black screen with big black x...and no Window manager.

I've followed the various wiki's and forums where other people have the same issue, but nothing is resolving it for me. I've installed this several times before but I don't remember it being this painful.

yum groupinstall "GNOME Desktop Environment"
yum install vnc-server

Service vncserver start

Then configured xstartup per the wiki...

...what gives?
I can SSH to the box, and i'm trying to install vncserver from command shell.
Each time I test with

...prompts me for pw,.... then black screen and black x...no GUI.

Not sure what other details I can provide.
Ron Malmstead
Ron Malmstead
1 Solution
Do you open for other VNC-like application?

I recommend NX nomachine.

Free, easy, stable and faster connection. Support Windows, Mac OSX and Linux client.

Here is the screen shots

And the install instruction
(NX server installation on CentOS, and client installation for Windows PC)

And configuration guide if you want to know more advanced setting
Ron MalmsteadInformation Services ManagerAuthor Commented:
Thanks, but I would like to stick with VNC, that's what I use for everything.

Ron MalmsteadInformation Services ManagerAuthor Commented:
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

The reason I mentioned other product is because VNC is troublesome on modern Linux distros.
No new feature or improvement on VNC.
Most of time, you got disconnect and can not resume the connection (which is most important feature).

I tried on CentOS and Ubuntu and it just failed on me most of time. So I gave up and tried something much
better and reliable.
Can you try X on console for this machine?

Have you checked the logs in /var/log ?
Ron MalmsteadInformation Services ManagerAuthor Commented:
Thanks Wesly, but it's the same distro as all my other boxes that i've installed it on without issue.

Ron MalmsteadInformation Services ManagerAuthor Commented:
parparov, ....thanks man!!!!!!!!!!!!!!!!!!!!!

I guess sometimes it just takes another person to ask an obvious question.

I examined the /var/log and didn't notice nay issues.... then I examined $HOME/.vnc/localhost.localdomain.log    ....and saw this:     Could not open Xstarup: Acess Denied

So I  did this...

CHMOD 777 Xstartup  
service vncserver restart

FIXED !!!!!!!!!!!!!
Thank you. This "oldie" solution works for me too.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now