Results 1 to 2 of 2
I am testing out VNC with my new Linux Machine. RHEL 6 64bit.
I am very new to linux and I am trying to get the hang of it.
I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-04-2011 #1Just Joined!
- Join Date
- Jul 2011
- Posts
- 34
VNC thru SSH
I am testing out VNC with my new Linux Machine. RHEL 6 64bit.
I am very new to linux and I am trying to get the hang of it.
I can remote into my Windows Machine from my linux machine using just vnc and it works just fine but this is not secure.
I try to configure my ssh session through putty and I either get a black screen that shows nothing or I get a connection refused error when try to connect my ssh connection.
Any help is appreciated.
Thanks!
- 08-05-2011 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,673
On the RHEL box:
Is the SSH daemon running?If not, start it:Code:service sshd status netstat -tulnp|grep sshd
Is the firewall getting in the way? Temporarily disable it:Code:service sshd start
What is in your system logs?Code:service iptables stop
When trying to log in with SSH/Putty, are you using a valid username for the RHEL box? The root account might be disabled by default. Also, check for a list of permitted users in the SSH daemon config file:Code:tail /var/log/messages tail /var/log/secure
To get more details on the SSH config file:Code:egrep -i ^'PermitRoot|AllowUsers' /etc/ssh/sshd_config
Code:man 5 sshd_config


Reply With Quote
