Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: VNC thru SSH

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.


  2. #2
    On the RHEL box:

    Is the SSH daemon running?
    service sshd status
    netstat -tulnp|grep sshd
    If not, start it:
    service sshd start
    Is the firewall getting in the way? Temporarily disable it:
    service iptables stop
    What is in your system logs?
    tail /var/log/messages
    tail /var/log/secure
    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:
    egrep -i ^'PermitRoot|AllowUsers' /etc/ssh/sshd_config
    To get more details on the SSH config file:
    man 5 sshd_config

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts