Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VNC problem - not displaying CDE

Status
Not open for further replies.

jprabaker

Technical User
May 31, 2001
185
GB
Hi,

I'm having a problem with VNC downloaded from the Linux toolkit site. I've had the software up and running on multple lpars running between 5200-03 to 5300-04. All were fine upto about a week ago. Now, when I go through the web front end I get the traditional Xsession display not the CDE which I'm expecting. This is causing us issues as the native Xsession doesn't let us have mutliple active windows.

No configuration has changed on the Unix machines. The only machine I have that still works as expected is a machine with an internal graphics card. All the other machines are LPARs.

Any help would be appriciated.

Thanks,
John
 
Have you run xstartup under the .vnc directory?

Did you make any changes to xstartup when you installed it?

Also do you see the following message in .vnc/*.log

Font directory '/usr/lib/X11/fonts/Speedo/' not found - ignoring

Fatal server error: could not open default font 'fixed'

The workaround is to edit "/usr/bin/X11/vncserver" file. Go to the section

# Add font path and color database stuff here, e.g.:
#
# $cmd .= " -fp /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";
# $cmd .= " -co /usr/lib/X11/rgb";
#

uncomment the third line, and change it to:

$cmd .= " -fp /usr/lib/X11/fonts/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";



Mike

"When we ask for advice, we are usually looking for an accomplice."
 
Thanks for the reply Mike. The vncserver file has been modified as suggested by an earlier post, vncClasses & the font line...

VNC was running fine on about 8 machines for months. - Install the rpm, edit vncserver & off you go, it would always go into the CDE. Now it just fires up Xwindows desktop.
 
Did you check the logs?

Mike

"When we ask for advice, we are usually looking for an accomplice."
 
Nothing too worrying as it's still creating a session, just not a CDE session.:

20/07/06 10:53:08 Xvnc version 3.3.3r2
20/07/06 10:53:08 Copyright (C) AT&T Laboratories Cambridge.
20/07/06 10:53:08 All Rights Reserved.
20/07/06 10:53:08 See for information on VNC
20/07/06 10:53:08 Desktop name 'X' (rs028a:69)
20/07/06 10:53:08 Protocol version supported 3.3
20/07/06 10:53:08 Listening for VNC connections on TCP port 5969
20/07/06 10:53:08 Listening for HTTP connections on TCP port 5869
20/07/06 10:53:08 URL xrdb: A file or directory in the path name does not exist.
1356-613 xrdb: can't open file '/home/bakerj3/.Xresources'
20/07/06 10:53:31 httpd: get '' for 10.52.41.168
20/07/06 10:53:31 httpd: defaulting to 'index.vnc'
20/07/06 10:53:42 httpd: get 'vncviewer.jar' for 10.52.41.168
20/07/06 10:53:42 httpd: get 'vncviewer.jar' for 10.52.41.168
20/07/06 10:53:43 httpd: get 'default.class' for 10.52.41.168
20/07/06 10:53:43 httpProcessInput: open: No such file or directory
20/07/06 10:53:43 asking for file in other directory
20/07/06 10:53:43 asking for file in other directory
20/07/06 10:53:43 httpd: get 'default.class' for 10.52.41.168
20/07/06 10:53:43 httpProcessInput: open: No such file or directory
20/07/06 10:53:43 asking for file in other directory
20/07/06 10:53:43 asking for file in other directory
20/07/06 10:53:43 httpd: get 'default.class' for 10.52.41.168
20/07/06 10:53:43 httpProcessInput: open: No such file or directory
20/07/06 10:53:43 asking for file in other directory
20/07/06 10:53:43 asking for file in other directory
20/07/06 10:53:43 httpd: get 'default.class' for 10.52.41.168
20/07/06 10:53:43 httpProcessInput: open: No such file or directory
20/07/06 10:53:43 asking for file in other directory
20/07/06 10:53:43 asking for file in other directory

20/07/06 10:53:47 Got connection from client 10.52.41.168
20/07/06 10:53:47 Protocol version 3.3
20/07/06 10:53:47 Using hextile encoding for client 10.52.41.168
20/07/06 10:53:47 Pixel format for client 10.52.41.168:
20/07/06 10:53:47 8 bpp, depth 8
20/07/06 10:53:47 true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6
20/07/06 10:53:47 no translation needed
20/07/06 10:55:46 rfbProcessClientNormalMessage: read: Connection reset by peer
20/07/06 10:55:46 Client 10.52.41.168 gone
20/07/06 10:55:46 Statistics:
20/07/06 10:55:46 key events received 121, pointer events 644
20/07/06 10:55:46 framebuffer updates 495, rectangles 1738, bytes 80520
20/07/06 10:55:46 copyRect rectangles 142, bytes 2272
20/07/06 10:55:46 hextile rectangles 1596, bytes 78248
20/07/06 10:55:46 raw bytes equivalent 1852878, compression ratio 23.679557
 
Can you try to login as root.

Mike

"When we ask for advice, we are usually looking for an accomplice."
 
It gives me the same thing. I'm expecting a nicely coloured CDE interface, and all I get is a badly coloured Xwindows display.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top