LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Vncserver (https://www.linuxquestions.org/questions/linux-software-2/vncserver-109536/)

metasoma 10-28-2003 11:46 AM

Vncserver
 
Hi,

My first post here, I'm a bit of a Linux Newbie. Anyway, i've installed vncserver so i can access my linux desktop from my windows machine. I installed vncserver on the linux machine and vncviewer on the windows machine.

To start vncserver i typed:

vncserver -depth 16 -geometry 1024x768

this then gave me localhost:1

I tried connecting now using the windows machine by typing the following into the viewer:

192.168.0.3:1 and hit connect

the box disapeared, never to be seen again. So i tried 192.168.0.3:2 and it said connection failed.

Hmm i thought.

So i installed the server on the windows machine, and the viewer on the linux machine, to see if it was making any kinda connection. This worked fine, I could see the windows desktop on the linux machine.

Attempted the other way around again, but still nothing, no response.

Can anyone help me, suggest anything?

Thanks

Ant

RolledOat 10-28-2003 12:40 PM

Check the log file that was started when you started the VNC server.
ps -ef |grep vnc
should show a running VNC server instance. If not, it failed to start.

Also, on the Linux machine,
in a console,
tail -f /var/log/messages
before you connect and see if there is a firewall blocking connections to the Linux machine.

RO

metasoma 10-28-2003 01:21 PM

Thanks for the reply:

I checked the log and it seemed to be functioning fine.

ps ef | grep vnc gave me:

signal 11 caught by ps )procps version 3.1.6).
Please send bug reports to acalahan@cx.uml.edu

tail -f /var/log/messages gave me:

lots of crazy stuff, but didn't seem to change when trying to log onto vncserver. I don't have a firewally installed on mandrake as far as i'm aware anyway.

That help? Still getting the same thing. Thought i'd try using webmin java applet but getting some kind of java.io.EOFException error *shrug*

Ant

metasoma 10-28-2003 01:35 PM

i'm using IceWM by the way

metasoma 10-28-2003 02:12 PM

good and bad news

good: I got it working

bad: As i'm using the pc as a server i've set the security level to higher.

standard = recommended for a computer that is going to be connected to the internet as a client

high = some restrictions, automatic checks at night

higher = security is high enough to use the system as a server

paranois = similare to the above, but system is entirely closed.

I've been using it on "higher" and vncserevr doesn't work. When i set it to "standard" it works. So how can i use it as a secure server but still be able to access vncserver?

using Mandrake 9.1

Ant


All times are GMT -5. The time now is 12:03 AM.