Problem with VNC


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Problem with VNC
# 1  
Old 12-20-2008
Problem with VNC

Hi all,

I have a RHEL 5.0 vnc server. It is running on runlevel 5. When I try to connect with vnc client on Windows machine, it connects with no graphics. A terminal comes look like runlevel 3. When I check the run level on the terminal, it shows 5. I have both desktop (Gnome & KDE) installed on that server. Any suggestion?


Thanks in advance!
# 2  
Old 12-24-2008
naw_deepak,

Did you export your xterm properly at vnc client? You need to export your xterm and make sure your pointing to your VNC server properly.

Cheers
# 3  
Old 12-26-2008
Hi csorhand,

I edit the file $home/.vnc/Xstartup file like this and vnc is connecting without any issue.

#!/bin/sh

OSNAME=`/bin/uname -s`
if [ ${OSNAME} = Linux ]
then
exec /etc/X11/xinit/xinitrc
vncconfig -nowin &
else
xrdb $HOME/.Xdefaults
xrdb $HOME/.Xresources
echo 'dtsession*wmStartupCommand: /usr/dt/bin/dtwm' | xrdb -merge
exec /usr/dt/bin/Xsession &
vncconfig -nowin &
exec xset fp= tcp/localhost:7100
fi

Hope, it will resolve issues of many.
By the way, thanks for taking interest in my problem.

Have a blessed time,
Deepak
# 4  
Old 01-04-2009
vncserver xstartup file

I am sending you a working script of xstartup. you should try to change your xstartup file with following script....

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[ -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" &
twm &



try it..... I hope you problem will be solved
# 5  
Old 01-06-2009
Done it and it's working. Thanks for reply.

Deepak
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

vnc problem

Hello, I install VNC server 5.2.1 on AIX 5.3 and when i try to connect with VNC viewer it get error message : "The connection was refused by the host computer" Hope u guys can help me Thanks (3 Replies)
Discussion started by: moudmm
3 Replies

2. Solaris

VNC viewer problem

hi all i cant connect to vnc viewer ... when i try it showing follwing error message write/select : connection aborted (10053) Do you wish to attempt to reconnect to 1##.2##.###.1# # help me any one solved before this problem (3 Replies)
Discussion started by: coolboys
3 Replies

3. UNIX for Dummies Questions & Answers

Problem setting display using vnc viewer

Hi All, I am having a linux machine and i used to work on this machine either directly or by using vncviewer from my windows machine. So everytime i launch new terminal on my vnc view i need to set DISPLAY. So i added the following code in my .cshrc if ($?VNCDESKTOP == 1) then setenv... (1 Reply)
Discussion started by: sarbjit
1 Replies

4. UNIX for Dummies Questions & Answers

tight vnc problem

Hi every one please help to find a way for remote connect to a graphical sco unix Xsession whit tight vnc i had installed tightvnc on sco unix 5.0.6 and i connect to new session with tight vnc client but i want to connect to started X session and control it xstartup file ... (0 Replies)
Discussion started by: kaydream
0 Replies

5. Red Hat

VNC problem

Hello all, I have the folowing problem: When I connected to a VNC server instance, the screen on the vncserver was frezzed. So, I executed the following commands in order to reestablish the VNC instance: service vncserver stop service vncserver start No problem at this point, but now when... (5 Replies)
Discussion started by: mig28mx
5 Replies

6. UNIX for Dummies Questions & Answers

Problem with VNC

Hi all, I have vncserver installed on Sun Solaris 8. The xstartup file looks like: #!/bin/sh && xrdb $HOME/.Xresources xsetroot -solid grey xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & /usr/dt/bin/dtwm & I have installed VNC on /usr/local/bin. When I try to... (0 Replies)
Discussion started by: naw_deepak
0 Replies

7. Windows & DOS: Issues & Discussions

VNC copy paste problem

Hi, Am unable to cut & paste between the VNC windows client and local Windows machine. In few VNC windows client, i was able to do. (2 Replies)
Discussion started by: param_it
2 Replies

8. Linux

VNC problem

Hi All, I really love this forum, i put here many problem and i got the solution. thanks to all forum guys. I am putting another problem here actually this problem in my VNC session to start the VNC session i am running : #vncserver -geometry 1024x768 -depth 24 New... (0 Replies)
Discussion started by: daya.pandit
0 Replies

9. UNIX for Advanced & Expert Users

make problem with "vnc"

i'm starting to think i post too much. alright a new problem... i'm trying to do the "make World" for Xvnc, and i keep running into the following error: # make World Building Release 6.3 of the X Window System. I hope you checked the configuration parameters in ./config/cf to see if... (2 Replies)
Discussion started by: xyyz
2 Replies

10. UNIX for Dummies Questions & Answers

Vnc

Anyone know of a site where I can download a copy (non-evaluation copy and preferably free. ;) nods to Neo's post in UNIX Operating System thread) of VNC for RedHat 8? Thanks in advance. (7 Replies)
Discussion started by: google
7 Replies
Login or Register to Ask a Question