Anyone manage to get VNC to work on 11.1? I can see the Opensuse screen
that comes up after login but it just hangs there. I edited my vnc
xstart file and added ‘startkde &’. I am using:
I have vnc working under openSUSE-11.1 KDE-3.5.10, but not under KDE4.
I spent a fair amount of time on Sunday, connected from Europe to North
America via vnc, maintaining my mother’s openSUSE-11.1 PC in North
America (from my European openSUSE-11.1 PC). [Both PCs are running
KDE-3.5.10 - quite possibly the “best” KDE around (at this time) … ]
eeijlar;1941647 Wrote:
> Hi,
>
> Thanks for your reply… I tried that command:
>
> dbus-start vncserver
>
> but I am getting:
>
> bash: dbus: command not found
>
> any ideas?
>
> /jlar
Typo – I meant to say: dbus-launch vncserver
The computer I am connecting to runs a dual-boot of Windows Xp and
Opensuse 11.1. I connected to both (from OpenSuse 11.0) using the Remote
Desktop Connection tool. RDP to connect to XP and VNC to connect to each
OS. For some reason when I connect to OpenSuse it is really really slow,
but using RDP to connect to XP is really quick. To setup the vnc I did
the following:
Code:
dbus-launch vncserver
on the remote host… then in Remote Desktop Connection tool I selected
the remote host VNC.
It should be as quick as XP or even quicker I would have thought.
eeijlar;1942560 Wrote:
> The computer I am connecting to runs a dual-boot of Windows Xp and
> Opensuse 11.1. I connected to both (from OpenSuse 11.0) using the Remote
> Desktop Connection tool. RDP to connect to XP and VNC to connect to each
> OS. For some reason when I connect to OpenSuse it is really really slow,
> but using RDP to connect to XP is really quick. To setup the vnc I did
> the following:
>
> >
Code:
> > dbus-launch vncserver
> >
>
> on the remote host… then in Remote Desktop Connection tool I
> selected the remote host VNC.
>
> It should be as quick as XP or even quicker I would have thought.
There are options you can use to optimise the connection in VNC. Read
these:
man vncserver: ‘TightVNC: Manual Page for vncserver(1)’
(http://www.tightvnc.com/vncserver.1.html)
man vncviewer: ‘TightVNC: Manual Page for vncviewer(1)’
(http://www.tightvnc.com/vncviewer.1.html)
and even man xorg-x11-Xvnc: ‘TightVNC: Manual Page for Xvnc(1)’
(http://www.tightvnc.com/Xvnc.1.html)
It’s hard to extract the best combinations of options from them. I’m
looking at that but won’t be finished for quite a while, principally
because the bugs for VNC in KDE4/Suse are obscuring the problem for me.
VNC’s speed is a shame. I went to a lot of trouble getting 11.1 working
in work, and a lot of time rooting with a Perl script to access the VPN,
and now to discover that VNC renders the remote login practically
useless is dissappointing. I am remote logged into XP at the moment and
it’s as if I was at work. It seems that the protocol windows uses is
much faster than VNC. It’s a pity the same protocol isn’t available for
Linux.
eeijlar;1942792 Wrote:
> VNC’s speed is a shame. I went to a lot of trouble getting 11.1 working
> in work, and a lot of time rooting with a Perl script to access the VPN,
> and now to discover that VNC renders the remote login practically
> useless is dissappointing. I am remote logged into XP at the moment and
> it’s as if I was at work. It seems that the protocol windows uses is
> much faster than VNC. It’s a pity the same protocol isn’t available for
> Linux.
I’m confused now, too many combinations/permutations. Can you explain
in more detail the slow connection?
For the server: the operating system, the Desktop Environment (kde3,
kde4, gnome), the Desktop Environment being served out, how the server
is invoked/started.
For the client: the operating system, the Desktop Environment, the
client software and how it’s started.
Note, that the Remote Host is the same machine in both cases running a
dual boot of XP/Suse
Code:
Local Host Remote Host
Windows Vista -> connecting to -> Windows XP via RD
Suse 11.0/KDE 4.0 -> connecting to -> Suse 11.1/KDE 4.1 via VNC
Remote Host
To connect Suse. I logged into the Remote Host via SSH, and started the
VNC server using:
Code:
dbus-launch vncserver
Local Host*
Started Remote Desktop (graphical version) for Opensuse… selected VNC
as the protocol and then put in the ip of the remoted host and the
DISPLAY.
Code:
ip-address:2
Is this wrong… it was the only way that worked. To connect to XP I
simply used remote desktop in Vista.
I don’t know what is invoked from RDP on the client invoking VNC.
Probably that’s just fine – but there are two VNC versions on openSUSE.
Maybe the VNC viar RDP on the client is different from the VNC on the
server launched by “dbus-launch vncserver” (but I have a sinking feeling
that it’s not different).
Just before giving up maybe try this:
Log ssh to the remote server. Start the dbus-launch vncserver on the
remote server. Log off ssh (to keep it simple). On the client execute
this console command as a normal user:
Code:
vncviewer ip-address:2
That cuts out the possibility of two connections concurrently (ssh and
vnc) and the far remote possibility of three (ssh, rdp, vnc).