Page 1 of 1

X11 forwarding is extremely slow in a KDE (TDE) session

Posted: 10 Jul 2012, 16:02
by kaz
The following operation takes almost one minute in a KDE session:

Code: Select all

kaz@porteus:~$ ssh -Y kaz@192.168.2.1
Password: 
Last login: Wed Jul 11 00:35:01 2012 from 192.168.2.219
[kaz@ph ~]$ xterm
In an LXDE session or openbox session, the window of xterm appears immediately. When I tried Porteus-XFCE-v1.2-rc2-i486, and when I was using Porteus v1.1, there was no problem. So the problem of slow X11 forwarding is peculiar to KDE of Porteus v1.2.

Re: X11 forwarding is extremely slow in a KDE (TDE) session

Posted: 11 Jul 2012, 02:43
by brokenman
Anyone with ssh server available that can confirm this?

Re: X11 forwarding is extremely slow in a KDE (TDE) session

Posted: 11 Jul 2012, 12:49
by fanthom
in my case xterm appeared immediately but kwin crashed:
link

steps to reproduce:
a) start porteus in any mode on your PC
b) enable X11 forwarding in /etc/ssh/sshd_config and start sshd
c) launch Porteus in Vbox and boot to Trinity desktop
d) while in vbox session: run 'ssh -X guest@xxx.xxx.xxx.xxx'
e) once logged in on a remote machine run 'xterm' command

result: xterm opens but kwin crashes and window decorations are gone.
same scenario works with LXDE desktop in virtual session.

Re: X11 forwarding is extremely slow in a KDE (TDE) session

Posted: 13 Jul 2012, 05:46
by kaz
fanthom wrote:in my case xterm appeared immediately but kwin crashed:
Same here.

I tested this case using various ssh servers.

Server OS | Client in KDE | Client in LXDE
Arch Linux | Slow | Good
Vine Linux 6.0 | Slow | Good
Arch Linux 64bit | Slow | Good
Frenzy 1.2 | Slow | Good
Porteus 1.2 remote | KWin crashed | Good
Porteus 1.2 localhost | Good | Good

Posted after 4 hours 56 minutes 40 seconds:
I thought I would try another distro using Trinity to see if it has the same problem. But according to the distrowatch search, Porteus is the only distro which uses Trinuty. :shock: I will try some Debian based distro and apt-get install Trinity.

Posted after 8 hours 37 minutes 10 seconds:
I tested this on Debian 6.0 after installing Trinity Desktop environment. The results were all good.

Server OS | Client in TDE
Arch Linux | Good
Porteus 1.2 | Good

The TDE version installed to Debian 6.0 was 3.5.13, while that of Porteus is R 14.0.0[DEVELOPMENT].