LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2013, 06:39 PM   #1
mastarke
LQ Newbie
 
Registered: Jan 2013
Location: California
Posts: 2

Rep: Reputation: Disabled
VNC desktop with RHEL 5.5 [black screen]


Hi all,

I am pretty new to the Linux community. I have been trying to fix my VNC gnome desktop all day and I found my way here hoping for some help.

I have tried editing my xstartup file a bunch of time and I was getting a bunch of strange errors when I save documents.

Anyway I mentioned that to a co worker they suggest I delete and re-add my xstartup file I did that and re-added it now when I try to load my vnc session I get a black screen


my current xstarup file looks like this

mastarke-lnx-v1:133> pwd
/users/mastarke/.vnc





mastarke-lnx-v1:134> vi xstartup
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# vncconfig -nowin -set AlwaysShared=on &
[ -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" &
/usr/bin/gnome-session &

vncconfig -nowin &
#fvwm2&
exec startkde







Also just to note that xstartup file was working for me until i deleted and re-added it now with that same code I get only a black screen on vnc




I have read some other treads mentioning that I need to remove and add the gnome file but not sure where they are and how to do this ?
 
Old 01-04-2013, 12:18 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 774
Blog Entries: 6

Rep: Reputation: 75
for your info starkde is not for gnome desktop
then before you attempt to connect with vnc
make sure you on the server start vncserver as user
and check what is the port is used

but if on the server you have kde installed
make sure xorg-x11-server-Xorg also installed
 
  


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
VNC - black screen display tmy Linux - Software 1 01-02-2013 06:38 PM
BLACK SCREEN after login using VNC on RHEL5.3 mba2000ph Linux - Newbie 1 02-19-2011 07:20 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
get a black screen after RHEL AS starting first boot. desun Red Hat 4 08-09-2008 01:47 AM
black screen after rhel 5 installation rock0night Linux - Newbie 6 03-22-2008 03:38 AM


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

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