LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-08-2008, 01:32 AM   #1
Fede.mac
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
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
 
Old 08-08-2008, 02:00 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Is iptables configured and blocking service ?

iptables -L

Is SSHd running?

netstat -al --tcp
 
Old 08-08-2008, 02:24 AM   #3
Fede.mac
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
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/
 
Old 08-08-2008, 02:30 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

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

Last edited by billymayday; 08-08-2008 at 02:40 AM.
 
Old 08-08-2008, 03:20 AM   #5
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
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.
 
Old 08-10-2008, 03:55 PM   #6
Fede.mac
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by klearview View Post
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

Now, what about VNC? What is the name of the package?
 
Old 08-10-2008, 04:01 PM   #7
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC through SSH tunnel connection problems after apt-upgrade sadarax Linux - Networking 1 07-24-2008 11:13 PM
mc and gpm fraud via ssh (remote acces lockup report - resolved) SCerovec Slackware 2 06-23-2008 03:40 AM
Controlling remote acces SSH Wimpie22 Linux - Security 9 07-27-2005 04:33 PM
ssh with vnc Dillius Linux - Security 1 03-11-2005 04:53 PM
no acces with ssh kvtournh Linux - Networking 3 12-11-2003 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration