LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   VNC desktop with RHEL 5.5 [black screen] (https://www.linuxquestions.org/questions/linux-newbie-8/vnc-desktop-with-rhel-5-5-%5Bblack-screen%5D-4175443878/)

mastarke 01-02-2013 05:39 PM

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 ?

routers 01-03-2013 11:18 PM

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


All times are GMT -5. The time now is 08:11 AM.