Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-28-2010, 09:31 AM   #1
LQ Newbie
Registered: Apr 2010
Posts: 6

Rep: Reputation: 0
VNC - black screen display

I ran into an issue on one of my Oracle applications servers this morning, and wanted to post what I found that helped me resolve the issue.
I was running vncserver, and when I tried bringing up the viewer, I got the black screen. I checked that my xstartup file under /home/user/.vnc was setup properly:
# Uncomment the following two lines for normal desktop:
exec /usr/bin/gnome-session
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startx &
twm &

But, what it turned out to be, was the users account did not have all of the gnome files, and directories in their home directory. So, when starting vncserver as that user, it didn't have all of the information it needed to start properly. I remove all of the desktop and .gnome files, and logged the user out, then logged them back in to re-create those files, and voila it worked! Hope this makes sense, and helps someone.
Old 01-02-2013, 06:38 PM   #2
LQ Newbie
Registered: Jan 2013
Location: California
Posts: 2

Rep: Reputation: Disabled
Smile Same issue black screen with vnc

Hi am having the same issue can you tell me where the gnome files are that I need to remove and the process for adding them back again.


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
Why the Bochs Display a black screen without nothing? IManewer Linux - Newbie 1 06-17-2010 03:18 PM
black screen getting after some time login ,when connecting thru vnc to rhel 5.3 anil31jan Linux - Newbie 1 04-02-2010 11:48 AM
[SOLVED] How to display a black blank screen under X ? Linux.tar.gz Linux - Software 6 02-11-2009 01:50 PM
Black screen after changing display resloution satunge Mandriva 5 10-20-2008 04:32 PM
Updating display driver when screen goes black ridertech Linux - Hardware 1 01-20-2004 01:33 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:19 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration