Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 541
  • Last Modified:

vnc remote access for suse10.

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
llvllar1on
Asked:
llvllar1on
  • 7
  • 5
1 Solution
 
rindiCommented:
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
 
llvllar1onAuthor Commented:
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
 
rindiCommented:
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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
llvllar1onAuthor Commented:
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
 
rindiCommented:
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
 
llvllar1onAuthor Commented:
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
 
llvllar1onAuthor Commented:
yes, you forgot to tell me. how to VNC from linux to windows?
0
 
rindiCommented:
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
 
llvllar1onAuthor Commented:
Thanks alot . i already figured out how to display KDE in LAN . now working on WAN. any ideal to visit server thought WAN
0
 
llvllar1onAuthor Commented:
do you know which port I need open for TightVNC?
0
 
rindiCommented:
I think it's 5900
0
 
llvllar1onAuthor Commented:
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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

  • 7
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now