VNC connection refused
hello linux community :)
i have gnome installed on my FC3. Now, i wanted to start vnc through ssh, and i ran the following: /etc/rc.d/init/./vncserver start /usr/bin/vncserver status , and prompted me to set a password, which i did /usr/bin/vncserver and the following came up : Code:
xauth: creating new authority file /root/.Xauthority Note that there are no rules set in my iptables. also, Code:
[root@AEGEE_bot init.d]# /usr/bin/Xvnc |
Do you have VNC and SSH setup?
Here is a good link on VNC setup. http://fedoranews.org/tchung/vnc/ And one on SSH. Note if using passphrase set the permissions on the directory as described. http://www.suso.org/docs/shell/ssh.sdf I use a line like this to connect to vnc over ssh from within my lan network. ssh -f -L 25903:127.0.0.1:5902 username@192.168.45.7 sleep 10; vncviewer 127.0.0.1:25903:3 This connects to ssh which then passes on connection to vnc on display :2 which is on port 5902. port 5900 is for display :0. If trying to use that check out this link to configure X to allow vnc on display :0. http://www.cs.princeton.edu/~gwallac...vnc-linux.html http://www.realvnc.com/products/free/4.1/x0.html Brian |
thx brian, will check them out:)
|
Forgot to mention one of my thoughts.
I would make sure one can connnect to the vnc server directly with a client first and same for ssh. Once both are working then you should be able to vnc over ssh easily. Brian |
All times are GMT -5. The time now is 08:21 AM. |