LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-26-2006, 10:54 PM   #1
sunhui
Member
 
Registered: Jan 2006
Location: taiwan
Posts: 156

Rep: Reputation: 30
vnc server


I use RHEL 3 and use full install when install the server , I have just start the vncserver on this server and use the vnc client to connect it via pc , I can connect it but found that nothing in the screen , even I right click or press any key , could advise how can I use ? thx
 
Old 04-26-2006, 11:20 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I think that the first step would be to verify that you can ping the RH server. This is to verify that you have a network connection to the server. Another thing to check is the RH firewall setup. VNC uses certain ports. The firewall needs to allow these ports to communicate with your Windows PC before your VNC client can connect. I believe that you need ports 5500 and 5900 open to make the connection. According to the X's vncviewer program, if you are listening for reverse connections, this uses port 5500+display number. WinVNC uses this for the "Add New Client" menu option.

There are a few other ways to work on your RH computer remotely from the PC. One is to use a ssh client such as Putty. Another is to install X windows on Windows. There are some commercially available x windows servers available. There also is Cygwin/X which is free. With cygwin/x you could use your Cygwin X server as the DISPLAY that the RH client programs use.

You may want to read through your VNC documentation, as well as the manpages for Xvnc, vncserver, vncviewer, vncpasswd, vncconnect and ssh.

Last edited by jschiwal; 04-26-2006 at 11:33 PM.
 
Old 04-26-2006, 11:26 PM   #3
lucktsm
Member
 
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155

Rep: Reputation: 30
Go into your home directory on the server and in the .vnc directory edit the xstartup script. Here's what it needs.

#!/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 &
 
Old 04-27-2006, 01:24 AM   #4
sunhui
Member
 
Registered: Jan 2006
Location: taiwan
Posts: 156

Original Poster
Rep: Reputation: 30
thx replies ,

I can connect the RH server via vnc , but when I use the RH , I only see a blank screen without any words , menu bar etc, how can I use the gui mode ? thx.
 
Old 04-27-2006, 01:39 AM   #5
sunhui
Member
 
Registered: Jan 2006
Location: taiwan
Posts: 156

Original Poster
Rep: Reputation: 30
thx replies ,

I can connect the RH server via vnc , but when I use the RH , I only see a blank screen without any words , menu bar etc, how can I use the gui mode ? thx.
 
Old 04-27-2006, 04:58 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Look in the nvc setup and see if there is an option to forward X windows traffic.
Also go through the security policies to see if it is allowed.

If you use KDE on the RH server, consider using Krfb. I've used it with TightVNC between a SuSE host and an XP host.

The Administration Manual probably has sections on security and remote desktop. There may be something else we haven't mentioned that may be in the manual.
 
Old 04-27-2006, 04:59 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Was a dupe. Sorry.
 
  


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
Can't get to server using VNC rwalkerphl Linux - Newbie 4 09-16-2004 03:16 PM
Vnc Server ovparrilla Linux - Newbie 2 04-02-2004 01:54 PM
VNC Server linuxguru Linux - General 5 09-21-2003 09:02 AM
vnc server ito Linux - Software 6 09-16-2003 06:22 PM
VNC server Kocil Mandriva 2 08-22-2003 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:32 PM.

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
Open Source Consulting | Domain Registration