Solved

vnc remote access for suse10.

Posted on 2006-07-10
12
524 Views
Last Modified: 2010-04-20
hi.  I  would like to make a remote access from winxp box to linux box.  I found there are two programs in my suse10. one is TIGHTVNC another is xorg-x11-Xvnc.  which one I shall use and how to use ?   what vnc i need for my winxp and how to use?
0
Comment
Question by:llvllar1on
  • 7
  • 5
12 Comments
 
LVL 87

Expert Comment

by:rindi
ID: 17072630
Do you mean you want to connect to windows XP from your linux box, or is it the other way round? Windows XP includes remote desktop, something like Terminal Server (at least XP pro does, I'm not sure about the home version). To connect to that from a linux box you'd need rdesktop, and that is most probably included with SuSE.

If not, there is the link below:

http://www.rdesktop.org/
0
 

Author Comment

by:llvllar1on
ID: 17074793
i would like to connect linux from windows xp at first. and then from linux to windows.   give me more detail please and show me how to use my existed software in suse10.
0
 
LVL 87

Accepted Solution

by:
rindi earned 500 total points
ID: 17074896
Tightvnc is probably easier to setup. just enter vncserver from the linux terminal, then install tightvnc on your XP PC (you can google for it), then start the tightvnc client, enter the ip of your linux box and the session number (192.168.x.x:a). The a is the session number and it is shown when you start the vnc server on your linux box. Usually it'll be 1.

0
 

Author Comment

by:llvllar1on
ID: 17079117
when I typed vncserver   in my linux. below is showed

--------------------------------------------------------------------------
New 'X' desktop is linux:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/linux:1.log
--------------------------------------------------------------------

I also installed tightvnc into my winxp  and i opened the "TightVNC Viewer (Listen Mode)" .   I put the 192.168.1.4:1  into "VNC server" field , but it came out  --- Failed to connect to server----.  i also tried to put 192.168.1.4 in, it doesnot work either.

note the one i download is ---tightvnc-1.2.9-setuo.exe ----for windows.
---------
one more question.   how do know the command to start up Tightvnc SERVER is vncserver. i am fair new in linux. I found i had installed program in Linux, but sometime I dont know how to start up.
0
 
LVL 87

Expert Comment

by:rindi
ID: 17079194
You'll probably have to open up the firewall on your SuSE box. I don't know SuSE enough to be able to tell you where exactly that is done through yast, but you can try

/etc/init.d/iptables stop

to temporarily disable it (as root). to enable it again use

/etc/init.d/iptables start

Tightvnc is just a more secure version of vnc, and both use the same commands and program names (the commands could be a bit different). Most of the info you should be able to get from the tightvnc homepage or with man vncserver, man vncviewer etc. I think SuSE also has a pretty good help database on it's site, so when you need specific info for your Distro you should visit their homepage and search there. One thing that will probably need adjustment once you can connect to the vncserver will probably be your desktop, as vnc uses a very simple GUI by default, without icons or anything. So you'd probably have to edit some configuration files to get it to default to KDE (again this might be changed by default to KDE by SuSE, I don't know).
0
 

Author Comment

by:llvllar1on
ID: 17079276
you are right. i just got very simple GUI without icons or anything. how to config to see icons or other thing..   i just turn off my firewall to make it work. lol.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:llvllar1on
ID: 17079288
yes, you forgot to tell me. how to VNC from linux to windows?
0
 
LVL 87

Expert Comment

by:rindi
ID: 17079424
As mentioned in my first post, I would use rdesktop (linux side) and the builtin remote desktop of XP to go the other way round, it is faster. Some distros even have a GUI frontend for that tool, maybe you should check the "internet" menu of KDE for such a utility.

You can of course also use VNC. Since you installed tightvnc to your XP box, you just need to start the server (check the installation, it should show up somewhere there, and you should also see the V in the taskbar). Then on the linux box vind the tightVNC or just VNC viewer and then connect to the XP box with it.

At the moment I'm not completly sure where you set the GUI for the VNC desktop for linux. Probably it is /etc/vnc.conf you can edit. This file has everything or a lot remarked, so it should be possible just to read that file and change those settings you require.
0
 

Author Comment

by:llvllar1on
ID: 17087172
Thanks alot . i already figured out how to display KDE in LAN . now working on WAN. any ideal to visit server thought WAN
0
 

Author Comment

by:llvllar1on
ID: 17087203
do you know which port I need open for TightVNC?
0
 
LVL 87

Expert Comment

by:rindi
ID: 17087480
I think it's 5900
0
 

Author Comment

by:llvllar1on
ID: 17087939
yes and no. it starts from 5900 and increasing as session No. increasing.   now i need figure out my firewall setting at last.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now