I installed the KDE version of 11.1 today and enabled remote administration. When I tried to connect to the machine, I got the login screen and entered my credentials, but the screen closed immediately after that.
Just for grins, I installed the GNOME version. With that version, I don’t even get the login screen. I can see that I’m connecting to the X server, but no login screen appears.
So I installed x11vnc on my openSUSE-11.1 PC running kde-3.5.10 (tightvnc was already installed) and then from my openSUSE-10.3 PC, I started a vnc server session on my openSUSE-11.1 PC. No problem. I had previously opened the 11.1 PC firewall for ssh and vnc.
Perhaps you have a configuration problem?
Note, I am NO expert on this. It (vnc) pretty much has always “just worked” for me, so I have never learned the ‘ins and outs’ of it.
What I do is open 2 konsoles on my 10.3 PC. In the first konsole I type:
When you enable Remote Administration in Yast what happens behind the scenes is that firewall ports 5901 and 5801 are opened and also xinetd is set to receive queries from a remote vncviewer and to enable the executable /usr/bin/Xvnc as appropriate. This is different from what oldcpu is talking about. He’s talking about the sister application x11vnc which runs on port 5900 and serves the already active :0 Xwindow.
Getting back to Xvnc → it doesn’t work in KDE4 in 11.1 but it does work in Gnome and KDE 3.5 in 11.1 I have reported the bug for KDE4. I am puzzled as to why it didn’t work for you in Gnome. You got no response at all for the Gnome effort which suggests the firewall port was closed. Check that.
Just a further note. I looked into the xinetd config to see if there were clues about Gnome. It says in the comment there that this function enables a KDM logon. So maybe the Remote Admin facility is not available in Gnome at all. Xvnc is of course available, but the “Remote Admin” setup might not be. I’ll look into it.
So @neiby: have you experiences with Remote Admin serving a Gnome desktop previously?
For me in Gnome there is no Remote Administration option in Yast’s Network Services when using Gnome. That could be because the Remote Admin is really just a link that turns on VNC for KDM via Xinetd in Yast’s Network Services. Now if you haven’t got KDE installed then this cannot work (because the KDM login is the setup in xinetd).
So, probably, that variation on VNC won’t work in Gnome. I know that TightVNC will work in Gnome in openSUSE 11.1 and oldcpu has given another option with the x11vnc, so you can have VNC in gnome.
You cannot have Remote Admin when using KDE4 in openSUSE 11.1 because there’s a bug. But oldcpu has shown you an alternative until the bug is addressed. I reported it to Bugzilla only 10 days ago.
I wonder why you don’t have Remote Administration in 11.1 with GNOME? I just did a fresh installation of it from the LiveCD and it’s there. It doesn’t seem to work the same way it did in 11.0, but it’s there.
I am using kde and I’m stocked with this remote admin.
Like I said in my previous post it was so nice and easy to enable it in yast-video card and monitor…
If this don’t get fixed I guess I’ll roll back to 10.3 even though it’s so nice 11.1 runs.
Nice Holydays and Happy Christmas
I have a suspicion that this is a permissions problem with x11 as setup for KDE4 on openSUSE (noting it works under KDE3). Unfortunately my knowledge in this is to weak to progress this, and I’m not particularly motivated (yet) as I plan to stay as a KDE3 user for well into next year.
24/12/2008 13:35:04 *** XOpenDisplay failed (:0)
*** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue.
*** There may be "Xlib:" error messages above with details about the failure
** Next, you need to have sufficient permissions (Xauthority)
to connect to the X DISPLAY.
To make sure X11 permissions are the problem do this simple test: while sitting at the physical X display open a terminal window (gnome-terminal, xterm, etc). You should be able to run x11vnc successfully without any need for special steps or command line options in that terminal (i.e. just type “x11vnc”). If that works OK then you know X11 permissions are the only thing preventing it from working when you try to start x11vnc via, say, a remote shell.
and indeed running x11vnc on physical X display on KDE4 does work.
Which suggests to me this is a KDE4 permissions issue. … However I could easily be wrong, as I do not know anything about this.
Further to this, I started x11vnc on PC #2 in our appartment, where PC#2 is running openSUSE-11.1 with KDE-4.1.3.
I then went to our family laptop (PC#1), running openSUSE-11.1 with KDE4.1.3, and I easily logged in via vnc with PC#2 taking over the desktop of PC#1 with vnc.
So vnc works on openSUSE-11.1 with KDE4 (but with a major bug), and I believe that supports my view that their is a permissions problem on openSUSE-11.1 KDE4/xorg such that one can not start vnc from a remote site (it has to be started locally). I do not know enough about this to localize this speculation of mine any further.
I have it figured out I think, and it seems to be working for me with Kde3, Kde4, and Gnome.
I kind of fell stupid because I spent a lot of time on this:P
I am connecting to my openSuse 11.1 box from my Windows XP box
I am using tight vnc viewer and Ultra vnc viewer
both connect with the default setting with only one change.
under options I clicked the little box for "let remote server deal with mouse cursor"
now everything is working with no crashes