vnc in opensuse 11.1 (and probably 11.0)
Just installed OpenSUSE 11.1 and detected a problem:
When I was using OpenSUSE 10.3 I could setup my vnc settings perfectly. In Yast I could enable remote administration (vnc) and in the Sax2 (display settings) I could enable vnc for the current X screen with a password. When I switched over to OpenSUSE 11,0 and now to OpenSUSE 11.1 I can't find the settings for enabling vnc for the current X screen. When connecting from my PC2 (WinXP Pro SP3 with realVNC) to wy PC1 (OpenSUSE 11.1 KDE3.5, with vnc enabled in yast) I can only connect to local ip:1 (999.999.9.99:1) or through a browser (http://999.999.9.99:5801). But I see only a black and white screen with a cursor. I can't login. When trying to connect the normal way with vnc in windows (local ip:0, like 999.999.9.99:0) I get the error: 'failed to connect: Connection refused (100161)' Does anybody have a workable solution or workaround for this problem? tnx, Wouter |
To connect to your current X session, you'll want to use x11vnc. To use x11vnc with a password, first set the password with the command
Code:
x11vnc -storepasswd Code:
x11vnc -usepw -display :0 |
created an vnc password
and gave the "x11vnc -usepw -display :0" command, when I do this I see the following: Code:
05/02/2009 23:57:59 -usepw: found /home/wouter/.vnc/passwd after giving the above command I can connect with my windows pc to my linux pc, but as soon as I close RealVNC in windows i see the following message in the terminal of the linux machine: Code:
06/02/2009 00:01:09 Got connection from client 192.168.1.10 when I try to connect a second time to my linux pc from my windows pc, I get the error: connection refused How can i setup x11vnc so its running constantly and accepts all connections? |
|
tnx guys
Thanks guys,
its working, I setup my vnc with howto provided. Now I have vnc working properly in OpenSUSE 11.1 (KDE 3.5)!!! I connected locally from my windows pc to my opensuse pc. This worked perfectly. Also when I close the connection, its now possible to reconnect the same way. This weekend I will test it from an external location. but my router is setup the right way, so I don't expect any problems. edit: Externally its working too!! greetz, Wouter |
All times are GMT -5. The time now is 10:34 AM. |