<br clear="all">Regards,<br>Vijay Shanker Dubey<br><br>
<br><br><div class="gmail_quote">On Thu, Mar 11, 2010 at 10:28 PM, Kwan Lowe <span dir="ltr"><<a href="mailto:kwan.lowe@gmail.com">kwan.lowe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Thu, Mar 11, 2010 at 11:43 AM, Vijay Shanker Dubey<br>
<div class="im"><<a href="mailto:vijay.shad@gmail.com">vijay.shad@gmail.com</a>> wrote:<br>
</div><div class="im">> Hi,<br>
> I have configured vnc on my centos server machine. But, unable to access the<br>
> vnc client. When ever i try to access my client. All I get is a blank screen<br>
> with only mouse working.<br>
> I am very clue less about the problem, Can I find out this error.<br>
<br>
</div>Most likely you do not have a window manager configured in your<br>
~/vnc/xstartup file. Mine, for example, looks like this:<br>
<br>
#!/bin/sh<br>
<br>
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup<br>
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources<br>
xsetroot -solid grey<br>
vncconfig -iconic &<br>
startxfce4 &<br>
<br></blockquote><div><br></div><div>My version of xtartup file is</div><div>---</div><div><div>#!/bin/sh (-)</div><div># Add the following line to ensure you always have an xterm available.</div><div>( while true ; do xterm ; done ) &</div>
<div># Uncomment the following two lines for normal desktop:</div><div>unset SESSION_MANAGER</div><div>exec /etc/X11/xinit/xinitrc</div><div>[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup</div><div>[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources</div>
<div>xsetroot -solid grey</div><div>vncconfig -iconic &</div><div>xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &</div><div>twm &</div><div>--- </div><div><br></div><div>I got this script form this tutorial on the cetos site. Do you see any error in this.</div>
<div><br></div><div><br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
The last line starts up my window manager and desktop.<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</blockquote></div><br>