openSUSE 11.4 VNC
Configure VNC feature in openSUSE 11.4
Enable VNC in openSUSE host system:
1. Run Yast
2. Go to “Network Services”
In the right column select “Remote Administration (VNC)”
3. In “Remote Administration Settings”
Select “(x) Allow Remote Administration”
4. Select OK and then Quit Yast
VNC from a Windows system:
1. Download RealVNC client from http://www.realvnc.com
VNC Free Edition 4.1
2. Lauch RealVNC client
Enter the openSUSE Host’s ip address and use port 5901
<hostname>:5901


For the black screen cursor situation I had to switch my Display Manager back to xdm, worked like a charm.
I had it set to LXDM but I guess it does not support VNC yet.
I’m a bit of a newbie but…
if you set remote desktop to be allowed via Yast->Network Services->Remote Administration(VNC) then you get weird results ( at least I did )
The way to set vnc up in opensuse 11.4 is through opening up firewall,
Yast->Security and Users->Firewall->Allowed Services->Service to Allow-> VNC->Add.
Then you must edit the ~/.vnc/xstartup file (if you want Kde running instead of twm).
nano /home/username/.vnc/xstartup
edit it to
#!/bin/sh
startkde
simple as that.
Then you want to use the command line
dbus-launch vncserver
(man vncserver for more options). I don’t know if I’m doing something wrong, but if I don’t set the -geometry I get a cut off screen so if my server resolution is 1600 x 1200 then use
dbus-launch vncserver -geometry 1600×1200
(my laptop is only 1280×800 so I use F8->fullscreen and it automatically scrolls)
Thats all from the server side.
Now the client
After running vncserver:
the display you are going to use is outputted to the screen: linux.site:X
where X is the display number. Remember this value.
now on the client
dbus-launch vncviewer :X
where is like 192.168.2.82 (lan) or a url like myexample.site.com (wan) and X is the number that came up on the server.
you should then be prompted for a password
if not something isn’t right (kill all Xvnc processes on the server and start again.)
When the program comes up use F8 for options and be mindful of left/right handed mouse setups.(if the server is left handed then the client will be too).
If running from LAN then that should be fine, if running vncveiwer from WAN then you will probably want to use -compression (1-9) -quality (1-9) and maybe -encoding (man vncviewer).AND on the server side cut the -depth down to 8. ( I found -depth on the client side didn’t work) Not sure how much it actually speeds things up, still seems slow on WAN for things like web browser ( oh and firefox won’t run on the server and client at the same time, so I used my trusty Konqueror)
Good luck
info:
http://opensuse.swerdna.org/susetightvnc.html
that should be
dbus-launch vncviewer (ipaddress):X
where (ipaddress) is like 192.168.2.82
(I used brackets and it didn’t show up)
seems Xvnc:1 is not necessary…
Hi,
Jut starting with 11.4.
After enabling VNC with YAST, on server side, type in :
Xvnc :1
then on the client :
vncviewer
192.168.0.1:1
works fine
Jus wonder how to ask for password..
if any knows…
thanks
VNC connect to the server however the screen turns into black and stay that way.
When I ask the connection info the following text is written “connected to: nobody’s X11 desktop”
Is this a configuration fault?
Dan, I don’t have the openSUSE 11.4 setup in my lab anymore, I’ll try to reproduce your yast issue when I get a system available. Try login as root in VNC.
thanks, vnc works well but when I try to login in yast nothing appends