LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SSH and VNC acces problems (https://www.linuxquestions.org/questions/linux-networking-3/ssh-and-vnc-acces-problems-661341/)

Fede.mac 08-08-2008 01:32 AM

SSH and VNC acces problems
 
Hi, i'm new in linux, i'm from argentina, so my english is't very good :P
Well, my problems : I've a Debian with Gnome machine, i enable the remote desktop option, but i can't conect to it from my PC, the same with SSH.
My Debian machine is connected to a router via 100/10 Ethernet, and the PC via 802.11g. Is there something i'm missing? or it could be a network problem? btw i'm using putty for SSH and TightVNC Viewer for VNC

Thank you

Mr. C. 08-08-2008 02:00 AM

Is iptables configured and blocking service ?

iptables -L

Is SSHd running?

netstat -al --tcp

Fede.mac 08-08-2008 02:24 AM

Hi

iptables -L
Code:

Chain INPUT (policy ACCEPT)
target    prot opt source              destination       

Chain FORWARD (policy ACCEPT)
target    prot opt source              destination       

Chain OUTPUT (policy ACCEPT)
target    prot opt source              destination

and netstat -al --tcp
Code:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address          Foreign Address        State     
tcp        0      0 *:nfs                  *:*                    LISTEN   
tcp        0      0 *:57191                *:*                    LISTEN   
tcp        0      0 *:netbios-ssn          *:*                    LISTEN   
tcp        0      0 *:40172                *:*                    LISTEN   
tcp        0      0 *:sunrpc                *:*                    LISTEN   
tcp        0      0 *:auth                  *:*                    LISTEN   
tcp        0      0 localhost:ipp          *:*                    LISTEN   
tcp        0      0 localhost:smtp          *:*                    LISTEN   
tcp        0      0 *:50361                *:*                    LISTEN   
tcp        0      0 *:microsoft-ds          *:*                    LISTEN   
tcp6      0      0 localhost:5900          [::]:*                  LISTEN   
tcp6      0      0 [::]:www                [::]:*                  LISTEN   
tcp6      0      0 localhost:ipp          [::]:*                  LISTEN

Seems to be that SHH isn't running, how do i launch it? is not in /etc/init.d/

billymayday 08-08-2008 02:30 AM

Is the server package installed? I'm not sure about Debian, but could be openssh-server

klearview 08-08-2008 03:20 AM

It is indeed openssh-server on Debian.

Fede.mac - you need to ensure you have ssh or vnc server installed and running. If it's a new install of Debian Etch (if I remember correctly) neither of them is there by default.

Fede.mac 08-10-2008 03:55 PM

Quote:

Originally Posted by klearview (Post 3240664)
It is indeed openssh-server on Debian.

Fede.mac - you need to ensure you have ssh or vnc server installed and running. If it's a new install of Debian Etch (if I remember correctly) neither of them is there by default.

Awasome, SSH is up and running :D

Now, what about VNC? What is the name of the package?

klearview 08-10-2008 04:01 PM

There are a few vnc servers. Try Tightvnc (package name - tightvncserver). Obviously you'll need a vnc viewer on a client machine.


All times are GMT -5. The time now is 09:40 PM.