LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 0
VNC - black screen display


Hello,
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:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
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, 05:38 PM   #2
mastarke
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.
 
  


Reply


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


All times are GMT -5. The time now is 04:58 PM.

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