PDA

View Full Version : X-desktop and VNC issues


ghodseh
2005-06-29, 09:16 AM CDT
Hi.

I've just installed FC4 on a PC that I want to treat as a server, i.e. I want to be able to login and use the system remotely from my Win XP laptop, including graphical apps and a desktop manager. FC4 my default is using Gnome as it's dm. I've tried two approaches:

1) XDMCP. I turned this on on the FC4 server, and connected to it from XP using a couple of different X-servers (cygwin and a trial of winaxe) both running in "fullscreen" mode. On both x-servers a full screen desktop appears, with the correct background colour - so it appears as if X has almost got its act together - but no login box appears, or anything else for that matter, and every 10 seconds or so the background flickers/refreshes, and the cygwin terminal flashes onto screen repeat the same set of status messages, etc (none of which are helpful in terms of resolving things. this output is posted below *

2) VNC. I downloaded the VNC server from realvnc, and installed it on the FC4 box. when I try and start vnc (by running vncserver) I get the following error:
You will require a password to access your desktops.
vncpasswd: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory


I am a complete Linux beginner, so all assitance gratefully received, especially if instructions suggestions are spelt out for a novice! ;-)

Thankyou!
hoss


* Output on cygwin:
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(==) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TT
F/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/
X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 00000007
winSetEngine - Using Shadow DirectDraw NonLocking
winFinishScreenInitFB - Masks: 0000f800 000007e0 0000001f
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shar
ed memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000809" (00000809)
(--) Using preset keyboard for "English (United Kingdom)" (809), type "4"
Rules = "xorg" Model = "pc105" Layout = "gb" Variant = "(null)" Options = "(null
)"
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li
st!
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.

snoze
2005-06-29, 09:41 AM CDT
Please search in this forum.. We had already discussed this issue in details. Soultion is also posted.. Here are few ones
http://forums.fedoraforum.org/forum/showthread.php?t=45922&highlight=VNC
http://forums.fedoraforum.org/forum/showthread.php?t=61827&highlight=VNC

for answer check this

http://forums.fedoraforum.org/forum/showthread.php?t=59529&highlight=VNC

ghodseh
2005-06-30, 07:07 AM CDT
Thanks snoze... some interesting links. I had actually searched around on the forum, but didn't find anything that specifically sorted my issue. If I'm looking at the VNC option, the problem then comes down to the missing libstdc++-libc6.2-2.so.3.

I've done a search on this issue, and tried to install a couple of different "compat" libraries/RPMs, but still to no avail.

Any suggestions?

thanks
h

kg4cbk
2005-06-30, 09:34 AM CDT
Install the vnc packages that are in the FC4 repository. That should take care of the lib problem you are having.

I have found that trying to run a full desktop via X is fairly painful from a perpformance perspective if you are trying to do this over a WAN. I have found that running the particular application and using X11 forwarding works much better. I routinely run my email client this way and when needed I startup other GUI based tools the same way.

I have used cygwin in the past for this. But I have converted my laptop over to FC3 so I don't have to use cygwin anymore. :)

ghodseh
2005-06-30, 10:54 AM CDT
Thanks for that kg4cbk - I finally found the compat library I needed:
http://rpmfind.net//linux/RPM/fedora/4/i386/compat-libstdc++-296-2.96-132.fc4.i386.html

I agree with you though - I'd much rather run X direct to the laptop, i.e. to the Cygwin server using XDMCP, but see my "problem 1" in my original post; for some reason I can't persuade that to work; I just get the "background" of the desktop manager (gnome i guess!) and nothing else, along with repeating status message blocks from the cygwin console on which I launched the x server.

Any ideas?
thanks
h

kg4cbk
2005-06-30, 11:05 AM CDT
I did not explain clearly. Don't use XDMCP. ssh with X11 forwarding enabled to the box. In that ssh session invoke the program you want to run such as evolution. The display for that program only will be directed back to your local system and come up in another window. The connection will be encrypted.

Trying to get a full desktop display will be slow at best unless you are on the same LAN.

You can do the same for programs like system-config-services and the like. xclock or xlogo are good test applications for this.

I routinely run evolution over ssh this way from remote locations when traveling.

You may need to specify trusted X11 forwarding (ssh -Y) to get things working at speeds that are acceptable.