Link to home
Start Free TrialLog in
Avatar of llvllar1on
llvllar1on

asked on

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?
Avatar of rindi
rindi
Flag of Switzerland image

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/
Avatar of llvllar1on
llvllar1on

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of rindi
rindi
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
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).
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.
yes, you forgot to tell me. how to VNC from linux to windows?
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.
Thanks alot . i already figured out how to display KDE in LAN . now working on WAN. any ideal to visit server thought WAN
do you know which port I need open for TightVNC?
I think it's 5900
yes and no. it starts from 5900 and increasing as session No. increasing.   now i need figure out my firewall setting at last.