Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to vnc from XP to Suse Linux

Status
Not open for further replies.

jakess

Technical User
Apr 17, 2000
418
ZA
Can someone please tell me how to vnc from Win XP to Suse server and how to configure Suse to accept vnc connections
 
What SuSE version?

If you are using SuSE 10 edit [tt]/etc/xinetd.d/vnc[/tt] to your liking.

The file has everthing ready to go, just change

[tt]disable = yes[/tt]

to

[tt]disable = no[/tt]

on the section you want to use then issue to following as root

[tt]rcxinetd restart[/tt]

Issue [tt]netstat -nap | grep xinetd[/tt] and look for a line similar to this

[tt]tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 6422/xinetd
[/tt]

Then point the viewer to <hostname or IP of the server>:1 and you're off.
 
Or run vncpasswd, create a pw for it, then run vncserver on Suse. Next run the viewer from Xp and use the ip or hostname of the server :1 (that's colon 1) If it's the only vncserver running, 1 will be the correct number. If you don't kill vncserver correctly or run it again, you'll need to use 2 as so. Run vncviewer -> 192.168.1.21:2.

To kill the server, you'll need to run "vncserver -kill :1" (or 2, or 3, etc.). Of course, once you create a password for vnc, you can run vnc in the startup init script.

Mark

SELECT * FROM management WHERE clue > 1
> 0 rows returned

--ThinkGeek T-Shrit
 
VNC is unencrypted, I suggest to use PuTTY to tunnel port 5901 an then connect to localhost:5901:x using VNC client on your windoz machine.

here is what you do

create a new putty session to the linux server you want to connect to, give it a name and save it.

Load it and then click on "tunnels"

Add a new one, inserting 5901 as a source port and destination like

yourlinuxserver.yourdomain.com:5901

where yourlinuxserver is the full name of the linux machine.
(the one you find in your /etc/hosts file)
If all is succesful you should be able to open a connection using PuTTY, launch VNC server if it is not started yet, then open VNC client to localhost:5901:x (where x is the display number).



Cheers

QatQat


Life is what happens when you are making other plans.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top