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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-26-2006, 11:54 PM
|
#1
|
Member
Registered: Jan 2006
Location: taiwan
Posts: 156
Rep:
|
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
|
|
|
04-27-2006, 12:20 AM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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-27-2006 at 12:33 AM.
|
|
|
04-27-2006, 12:26 AM
|
#3
|
Member
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155
Rep:
|
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 &
|
|
|
04-27-2006, 02:24 AM
|
#4
|
Member
Registered: Jan 2006
Location: taiwan
Posts: 156
Original Poster
Rep:
|
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.
|
|
|
04-27-2006, 02:39 AM
|
#5
|
Member
Registered: Jan 2006
Location: taiwan
Posts: 156
Original Poster
Rep:
|
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.
|
|
|
04-27-2006, 05:58 AM
|
#6
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
04-27-2006, 05:59 AM
|
#7
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Was a dupe. Sorry.
|
|
|
All times are GMT -5. The time now is 08:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|