[arch-general] Why does kde4 over vnc look bad if host is Arch, looks fine if suse?
Guys, This has puzzled me for a while now. If I need to do something on a remote host that is something more than what I want to do over ssh (something that requires 4-5 windows or apps or configuring the actual remote desktop) I use vncserver/vncviewer. If I need a kde4 app and the remote host is opensuse, then there is no problem at all running the app. If the remote host is arch, then I am kind of screwed because there is some setting causing kde4 (which I understand uses native 24bit color) to look terrible. The vncserver setting on both suse and arch are identical. The start script I use for vncserver is: 20:24 dcrgx2:~> cat bin/vncs #!/bin/bash GEOMETRY=${1:-1280x800} DEPTH=${2:-24} SCREEN=${3:-1} vncserver -geometry $GEOMETRY -depth $DEPTH :$SCREEN & echo -e "\n vncserver returned $?\n" exit 0 The xstartup scripts are the same as well: Archlinux: 20:29 dcrgx2:~> cat .vnc/xstartup #!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #twm & startkde & #e16start & #enlightenment_start & suse: 20:19 dcrgx:~> cat .vnc/xstartup #!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #twm & startkde & #openbox & However, the resulting vncsession with Arch looks all garbled (pixilated) while the suse session looks great: Arch: http://www.3111skyline.com/download/screenshots/archlinux/arch-kde4overvnc.j... suse: http://www.3111skyline.com/download/screenshots/archlinux/suse-kde4overvnc.j... There must be some setting that controls this behavior. I would like to figure out what it is, because even if I use enlightenment or openbox on arch as my desktop over vnc, if I have to call a kde4 app, everything looks terrible. Where should I start looking to find the difference? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
On Wed, Oct 21, 2009 at 08:38:58PM -0500, David C. Rankin wrote:
This has puzzled me for a while now. If I need to do something on a remote host that is something more than what I want to do over ssh (something that requires 4-5 windows or apps or configuring the actual remote desktop) I use vncserver/vncviewer. If I need a kde4 app and the remote host is opensuse, then there is no problem at all running the app. If the remote host is arch, then I am kind of screwed because there is some setting causing kde4 (which I understand uses native 24bit color) to look terrible. The vncserver setting on both suse and arch are identical. The start script I use for vncserver is:
Do both vncservers have the RENDER extension? You can find out by running 'xdpyinfo | grep RENDER' in a terminal inside the vnc session. If the vncserver doesn't support the RENDER extension, anything qt4 based is going to look bad. -- Byron Clark
On Wednesday 21 October 2009 08:54:04 pm Byron Clark wrote:
On Wed, Oct 21, 2009 at 08:38:58PM -0500, David C. Rankin wrote:
This has puzzled me for a while now. If I need to do something on a remote host that is something more than what I want to do over ssh (something that requires 4-5 windows or apps or configuring the actual remote desktop) I use vncserver/vncviewer. If I need a kde4 app and the remote host is opensuse, then there is no problem at all running the app. If the remote host is arch, then I am kind of screwed because there is some setting causing kde4 (which I understand uses native 24bit color) to look terrible. The vncserver setting on both suse and arch are identical. The start script I use for vncserver is:
Do both vncservers have the RENDER extension? You can find out by running 'xdpyinfo | grep RENDER' in a terminal inside the vnc session. If the vncserver doesn't support the RENDER extension, anything qt4 based is going to look bad.
Damn, it is sure nice to be on a list with smart people! I think you hit the nail on the head. Here are the extension differences shown between xdpyinfo on suse and archlinux: Arch: 21:45 dcrgx2:~> cat linux/dt/vnc/xdpyinfo-extensions.txt number of extensions: 7 BIG-REQUESTS MIT-SHM MIT-SUNDRY-NONSTANDARD SHAPE SYNC XC-MISC XTEST default screen number: 0 number of screens: 1 20:39 dcrgx:~> cat linux/dt/vnc/xdpyinfo-extensions.txt number of extensions: 25 BIG-REQUESTS DEC-XTRAP DPMS Extended-Visual-Information GLX MIT-SCREEN-SAVER MIT-SHM MIT-SUNDRY-NONSTANDARD RECORD RENDER SECURITY SGI-GLX SHAPE SYNC TOG-CUP VNC X-Resource XAccessControlExtension XC-APPGROUP XC-MISC XFree86-Bigfont XInputExtension XKEYBOARD XTEST XVideo default screen number: 0 number of screens: 1 You are 100% correct, suse had RENDER enable, arch doesn't. How do I enable RENDER on Arch? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
On Wed, Oct 21, 2009 at 09:50:53PM -0500, David C. Rankin wrote:
You are 100% correct, suse had RENDER enable, arch doesn't. How do I enable RENDER on Arch?
You'll need a vnc server that supports the RENDER extension. xf4vnc-xvnc should work. -- Byron Clark
On Wednesday 21 October 2009 09:56:29 pm Byron Clark wrote:
On Wed, Oct 21, 2009 at 09:50:53PM -0500, David C. Rankin wrote:
You are 100% correct, suse had RENDER enable, arch doesn't. How do I enable RENDER on Arch?
You'll need a vnc server that supports the RENDER extension. xf4vnc-xvnc should work.
Hmm, it conflicts with tightvnc on Arch. Can't I just rebuilt tightvnc with RENDER enabled? Evidently it is build with RENDER on suse, so I guess it should be possible. The reason being, I kind of like to keep the utilities the same across all the boxes I have (save mental storage space). I'll give it a shot, if it doesn't work for some reason, I'll see about building tightvnc with RENDER enabled. Thanks for you help tonight! -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
On Wednesday 21 October 2009 11:14:02 pm David C. Rankin wrote:
On Wednesday 21 October 2009 09:56:29 pm Byron Clark wrote:
On Wed, Oct 21, 2009 at 09:50:53PM -0500, David C. Rankin wrote:
You are 100% correct, suse had RENDER enable, arch doesn't. How do I enable RENDER on Arch?
You'll need a vnc server that supports the RENDER extension. xf4vnc-xvnc should work.
Hmm, it conflicts with tightvnc on Arch. Can't I just rebuilt tightvnc with RENDER enabled? Evidently it is build with RENDER on suse, so I guess it should be possible. The reason being, I kind of like to keep the utilities the same across all the boxes I have (save mental storage space).
I'll give it a shot, if it doesn't work for some reason, I'll see about building tightvnc with RENDER enabled.
Thanks for you help tonight!
I used the workaround at: http://wiki.archlinux.org/index.php/Tightvnc and it doesn't really work. RENDER is there and rendering is "better", but you still have artifacts on the screen and the plasma panel is cut in half: http://www.3111skyline.com/download/screenshots/archlinux/arch-kde4overvnc- xf4vnc.jpg I'll look at trying to rebuild tightvnc. Arch should fix the missing 'vnc...' scripts with the Xvnc package so it is usable and should also fix the tightvnc package so it is built with RENDER. If I'm successful, I'll have somebody walk me through putting the package in AUR or adding it to the community repository. In the interim if the maintainer takes the initiative, we can all rest easy knowing we will get a correctly built package :D -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
participants (2)
-
Byron Clark
-
David C. Rankin