1 2 3 Previous Next 32 Replies Latest reply: May 30, 2008 2:57 PM by 421849 Go to original post RSS
      • 15. Re: OEL 5.1 Remote Access
        506787
        the package tightvnc-server is a standalone version of VNC, the remote desktop option in the X environment is an embedded VNC server in X.

        If you enable remote desktop in X, you should be able to use this desktop using a VNC client (realvnc, tightvnc or other) on your Windows XP machine, by downloading and running the client, and entering the same machine name as you do with ssh, and portnumber "0" (hostname and portnumber for the vncviewer becomes <hostname>:0)
        • 16. Re: OEL 5.1 Remote Access
          421849
          Hello Frits,
          I had already enabled VNC on Linux and have tried connecting from XP using TightVNC client using the IP:0 that works ok for SSH and I'm getting 'failed to connect to server 192.168.1.46:0'. Could you please advise on next step suggestion, thanks?
          • 17. Re: OEL 5.1 Remote Access
            506787
            Okay, have you decided you want to use the integrated vnc support or a seperate vnc server?

            the vncserver on ":0" suggests the integrated vnc server.

            to see if the integrated vnc server is running, and at what addresses, go to the prompt of the linux system (as root) and type the following:

            netstat -anp | grep vino

            if you post the results, I can guide you how to set it up further.
            the integrated vnc support default is only reachable from the machine itself (because it's listening on the loopback interface, 127.0.0.1 by default)
            • 18. Re: OEL 5.1 Remote Access
              421849
              Hello Frits,
              I'm not sure what the difference is in the integrated VNC and the seperate VNC server? I did down load and thought I installed VNC server on Linux.

              Here are the command results:
              [root@linux ~]# netstat -anp | grep vino
              tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 2673/vino-server
              unix 2 [ ACC ] STREAM LISTENING 60476 20520/vino-preferen /tmp/orbit-root/linc-5028-0-259daf03c07c7
              unix 2 [ ACC ] STREAM LISTENING 9020 2673/vino-server /tmp/orbit-root/linc-a71-0-225d39821b973
              unix 2 [ ACC ] STREAM LISTENING 63004 21376/vino-preferen /tmp/orbit-root/linc-5380-0-623ab1b235043
              unix 3 [ ] STREAM CONNECTED 63007 21376/vino-preferen /tmp/orbit-root/linc-5380-0-623ab1b235043
              unix 3 [ ] STREAM CONNECTED 63002 21376/vino-preferen
              unix 3 [ ] STREAM CONNECTED 62994 21376/vino-preferen
              unix 3 [ ] STREAM CONNECTED 62989 21376/vino-preferen
              unix 3 [ ] STREAM CONNECTED 60479 20520/vino-preferen /tmp/orbit-root/linc-5028-0-259daf03c07c7
              unix 3 [ ] STREAM CONNECTED 60474 20520/vino-preferen
              unix 3 [ ] STREAM CONNECTED 60467 20520/vino-preferen
              unix 3 [ ] STREAM CONNECTED 60462 20520/vino-preferen
              unix 3 [ ] STREAM CONNECTED 9063 2673/vino-server /tmp/orbit-root/linc-a71-0-225d39821b973
              unix 3 [ ] STREAM CONNECTED 9029 2673/vino-server
              unix 3 [ ] STREAM CONNECTED 9027 2673/vino-server /tmp/orbit-root/linc-a71-0-225d39821b973
              unix 3 [ ] STREAM CONNECTED 9024 2673/vino-server
              unix 3 [ ] STREAM CONNECTED 9023 2673/vino-server /tmp/orbit-root/linc-a71-0-225d39821b973
              unix 3 [ ] STREAM CONNECTED 9018 2673/vino-server
              unix 3 [ ] STREAM CONNECTED 9012 2673/vino-server
              You have new mail in /var/spool/mail/root
              • 19. Re: OEL 5.1 Remote Access
                506787
                The integrated vnc server (desktop, preferences, remote desktop) process is called 'vino-server'.

                As you can see from your netstat output, the vino-server process is listening at 0.0.0.0 (all network adapters).

                This means that if you start a vnc client from your windows machine, you should be able to start a vnc connection, and takeover the desktop.
                • 20. Re: OEL 5.1 Remote Access
                  421849
                  Hello Frits,
                  Thanks for your explanation. could there be a conflict with the VNC Server that I mentioned I down loaded to Linux. Could you advise how to check or next step toward connectivity?

                  Thanks
                  • 21. Re: OEL 5.1 Remote Access
                    506787
                    What do you enter in the vncviewer server field?
                    • 22. Re: OEL 5.1 Remote Access
                      421849
                      Hello Frits,
                      On the client I've entered the Linux server IP: '192.168.1.46:0'
                      • 23. Re: OEL 5.1 Remote Access
                        506787
                        Is that the same IP address which you use to connect to the machine using putty?

                        What are the settings in the remote desktop preferences screen?
                        (what are the settings for "Allow other users to view your desktop","Allow other users to control your desktop","Ask for your confirmation","Require the user to enter this password")

                        what do you see if you start cmd.exe on the machine which you want to use vncviewer, and enter 'telnet 192.168.1.46 5900'
                        • 24. Re: OEL 5.1 Remote Access
                          421849
                          Hello Frits,
                          Thanks for your quick response. To answer your questions:

                          Is that the same IP address which you use to connect to the machine using putty?
                          yes

                          What are the settings in the remote desktop preferences screen?
                          (what are the settings for "Allow other users to view your desktop"
                          I have this checked

                          ,"Allow other users to control your desktop"
                          I have this checked

                          ,"Ask for your confirmation"
                          not checked

                          ,"Require the user to enter this password")
                          not checked

                          what do you see if you start cmd.exe on the machine which you want to use vncviewer, and enter 'telnet 192.168.1.46 5900'
                          Interesting, my XP remote will not connect I tried port 5900, 5500, 23. On Linux I checked System-Administration-Security Level and Firewall-Firewall Options SSH and Telnet and enabled. Please advise.
                          • 25. Re: OEL 5.1 Remote Access
                            506787
                            Well, I guess you got bounced by the linux firewall.

                            If you try port 22 (ssh) you will probably see response (cmd.exe+telnet command is usefull to investigate this kind of scenario's)

                            What you need to do, is enable port 5900.

                            goto system, administration, security level and firewall.
                            here you should see in the tab 'firewall options'
                            firewall: enabled, and trusted services "ssh" with a check in the box

                            now click on the triangle before "other ports", and click the "add" button.
                            Enter 5900 in the port(s) field, and click "OK" (default protocol "tcp" is alright)
                            Then click "apply", and click "yes" in the warning screen ("clicking the 'Yes' button will...)

                            This enables traffic to and from port 5900, now you should be able to use the vnc!
                            • 26. Re: OEL 5.1 Remote Access
                              421849
                              Frits,
                              We are getting close.

                              Yes I can connect using telnet
                              telnet 192.168.1.46 22
                              SSH-2.0-OpenSSH_4.3

                              I enabled port 5900 as you advised and can connect using telnet
                              telnet 192.168.1.46 5900
                              RFB 003.007

                              ...but I still can not connect using TightVNC client.

                              Please advise, thanks.
                              • 27. Re: OEL 5.1 Remote Access
                                506787
                                That's odd, 5900 is the port which the vnc client uses to communicatie with the vnc server (vino-server)

                                The telnet sessions to ports 22 and 5900 on host 192.168.1.46 are done on the same machine from which you want to use tightvnc client, and can use ssh?

                                If so, you've showed the vnc port for session "0" is open...
                                are you using 192.168.1.46:0 as servername?
                                • 28. Re: OEL 5.1 Remote Access
                                  506787
                                  addition: are you using 192.168.1.46:0 as the servername using the vncviewer executable?
                                  • 29. Re: OEL 5.1 Remote Access
                                    421849
                                    The telnet sessions to ports 22 and 5900 on host 192.168.1.46 are done on the same machine from which you want to use tightvnc client, and can use ssh?
                                    yes

                                    If so, you've showed the vnc port for session "0" is open...
                                    are you using 192.168.1.46:0 as servername?
                                    yes