desktop login won't start openwindows - [text]

desktop login won't start openwindows - [text]

Post by pAul Pierso » Sun, 16 Dec 2001 10:44:03



I'm running Solaris 8, but get the same behavior when I tested it on
2.6.
When I set the desktop login for CDE, I can login and work with no
problem.
When I set the desktop login for openwindows, It pauses, and may even
start
loading a couple of windows on the screen, but then it goes blank, and
then
back to the desktop login screen.

I've kind of looked at the .xinitrc file and even tried moving it.
Appreciate
any helpful hints.
pAul

 
 
 

desktop login won't start openwindows - [text]

Post by Thomas Deh » Mon, 17 Dec 2001 03:04:49



> I'm running Solaris 8, but get the same behavior
> when I tested it on 2.6.
> When I set the desktop login for CDE,
> I can login and work with no problem.
> When I set the desktop login for openwindows,
> It pauses, and may even start
> loading a couple of windows on the screen,
> but then it goes blank, and then
> back to the desktop login screen.

Which locale are you using?
If it is any locale which was not already there in
Solaris 2.6 then chances are that open windows does
not support the new locale.

Thomas

 
 
 

desktop login won't start openwindows - [text]

Post by Vitaly Filato » Wed, 19 Dec 2001 00:05:56


Hi, Paul!

This is locale problem. Usually user in native locale can't work under OpenWindows
but can do it under C-locale.

Let's suppose that your locale is "ru"

You must do the following:

1. Select "C" locale and invoke OpenWindows it must work.

2. Go to /usr/openwin/lib/locale/ru

3. Open file OWfontpath into editor, you will see:

-------- cut here ----

/usr/openwin/lib/locale/iso_8859_5/X11/fonts/Type1,/usr/openwin/lib/locale/iso_8859_5/X11/fonts/75dpi
--------- cut here ----

make it as

-------- cut here ----

/usr/openwin/lib/locale/iso_8859_5/X11/fonts/75dpi
/usr/openwin/lib/locale/iso_8859_5/X11/fonts/Type1
--------- cut here ----

First string must be empty, every path must occupy its own
string-place.

4. In cmdtool execute command to add your locale' font-paths

$ xset fp+ /usr/openwin/lib/locale/iso_8859_5/X11/fonts/75dpy,\

> /usr/openwin/lib/locale/iso_8859_5/X11/fonts/Type1  

5. Open file

/usr/openwin/lib/locale/ru/OW_FONT_SETS/OpenWindows.fs

into editor, you will see something like this:

-------- cut here ------
! Default Font Family
!xv_font_set.default_family: LucidaSansCyr
!xv_font_set.default: -b&h-LucidaSansCyr-Normal-r-normal--10-10-0-0-p-0-iso8859-5

!       -b&h-LucidaSansCyr-Normal-r-normal--10-100-100-10-p-10-iso8859-5
!       -b&h-LucidaSansCyr-Normal-r-normal--0-0-0-0-p-0-iso8859-5
!       -b&h-lucida-bold-r-normal-sans-12-120-75-75-p-79-iso8859-5
!test_font:definition,\
!       -b&h-LucidaSansCyr-Normal-r-normal--10-10-0-0-p-0-iso8859-5
test_font:definition,\
        -b&h-LucidaSansTypLat4-Medium-r-normal--12-120-75-75-m-70-iso8859-13

xv_font_set.small: 12
xv_font_set.medium: 14
xv_font_set.large: 16
xv_font_set.extra_large : 20

xv_font_set.default_family: FONT_FAMILY_SANS_SERIF

FONT_FAMILY_SANS_SERIF-FONT_STYLE_NORMAL-12:alias,test_font
FONT_FAMILY_SANS_SERIF-FONT_STYLE_NORMAL-14:alias,test_font
FONT_FAMILY_SANS_SERIF-FONT_STYLE_NORMAL-16:alias,test_font
FONT_FAMILY_SANS_SERIF-FONT_STYLE_NORMAL-20:alias,test_font
FONT_FAMILY_SANS_SERIF-FONT_STYLE_NORMAL-24:alias,test_font
!
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_NORMAL-12:alias,test_font
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_NORMAL-14:alias,test_font
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_NORMAL-16:alias,test_font
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_NORMAL-20:alias,test_font
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_NORMAL-24:alias,test_font
!
FONT_FAMILY_SANS_SERIF-FONT_STYLE_MEDUIM-12:alias,test_font
FONT_FAMILY_SANS_SERIF-FONT_STYLE_MEDIUM-14:alias,test_font
FONT_FAMILY_SANS_SERIF-FONT_STYLE_MEDIUM-16:alias,test_font
FONT_FAMILY_SANS_SERIF-FONT_STYLE_MEDIUM-20:alias,test_font
FONT_FAMILY_SANS_SERIF-FONT_STYLE_MEDIUM-24:alias,test_font
!
FONT_FAMILY_SANS_SERIF-FONT_STYLE_BOLD-12:alias,test_font                  
FONT_FAMILY_SANS_SERIF-FONT_STYLE_BOLD-14:alias,test_font                  
FONT_FAMILY_SANS_SERIF-FONT_STYLE_BOLD-16:alias,test_font                  
FONT_FAMILY_SANS_SERIF-FONT_STYLE_BOLD-20:alias,test_font                  
FONT_FAMILY_SANS_SERIF-FONT_STYLE_BOLD-24:alias,test_font
!
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_BOLD-12:alias,test_font
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_BOLD-14:alias,test_font
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_BOLD-16:alias,test_font
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_BOLD-20:alias,test_font
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_BOLD-24:alias,test_font
!
FONT_FAMILY_SANS_SERIF-FONT_STYLE_TYPEWRITER-12:alias,test_font
FONT_FAMILY_SANS_SERIF-FONT_STYLE_TYPEWRITER-14:alias,test_font
FONT_FAMILY_SANS_SERIF-FONT_STYLE_TYPEWRITER-16:alias,test_font
FONT_FAMILY_SANS_SERIF-FONT_STYLE_TYPEWRITER-20:alias,test_font
FONT_FAMILY_SANS_SERIF-FONT_STYLE_TYPEWRITER-24:alias,test_font
!
!-b&h-lucida-medium-r-normal-sans-0-0-0-0-m-0-iso8859-5:alias,test_font
------------ cut here ----

This is absolutely stupid.

Make this file like the following. Change iso8859-5 as you need.
Test font patterns availability with the help "xfontsel" utility.

------------- cut here ---
! Default Font Family
xv_font_set.default: -b&h-LucidaSansCyr-Normal-r-normal--10-10-0-0-p-0-iso8859-5

font11:definition,\
   -*-*-medium-*-*-*-12-*-*-*-p-*-iso8859-5
font12:definition,\
   -*-*-medium-*-*-*-14-*-*-*-p-*-iso8859-5
font13:definition,\
   -*-*-medium-*-*-*-16-*-*-*-p-*-iso8859-5
font14:definition,\
   -*-*-medium-*-*-*-20-*-*-*-p-*-iso8859-5
font15:definition,\
   -*-*-medium-*-*-*-24-*-*-*-p-*-iso8859-5

font21:definition,\
   -*-*-medium-*-*-*-12-*-*-*-m-*-iso8859-5
font22:definition,\
   -*-*-medium-*-*-*-14-*-*-*-m-*-iso8859-5
font23:definition,\
   -*-*-medium-*-*-*-16-*-*-*-m-*-iso8859-5
font24:definition,\
   -*-*-medium-*-*-*-20-*-*-*-m-*-iso8859-5
font25:definition,\
   -*-*-medium-*-*-*-24-*-*-*-m-*-iso8859-5

font31:definition,\
   -*-*-bold-*-*-*-12-*-*-*-m-*-iso8859-5
font32:definition,\
   -*-*-bold-*-*-*-14-*-*-*-m-*-iso8859-5
font33:definition,\
   -*-*-bold-*-*-*-16-*-*-*-m-*-iso8859-5
font34:definition,\
   -*-*-bold-*-*-*-20-*-*-*-m-*-iso8859-5
font35:definition,\
   -*-*-bold-*-*-*-24-*-*-*-m-*-iso8859-5

font41:definition,\
   -*-*-bold-*-*-*-12-*-*-*-p-*-iso8859-5
font42:definition,\
   -*-*-bold-*-*-*-14-*-*-*-p-*-iso8859-5
font43:definition,\
   -*-*-bold-*-*-*-16-*-*-*-p-*-iso8859-5
font44:definition,\
   -*-*-bold-*-*-*-20-*-*-*-p-*-iso8859-5
font45:definition,\
   -*-*-bold-*-*-*-24-*-*-*-p-*-iso8859-5

xv_font_set.small: 10
xv_font_set.medium: 12
xv_font_set.large: 14
xv_font_set.extra_large : 20

xv_font_set.default_family: FONT_FAMILY_SANS_SERIF

FONT_FAMILY_SANS_SERIF-FONT_STYLE_NORMAL-12:alias,font11
FONT_FAMILY_SANS_SERIF-FONT_STYLE_NORMAL-14:alias,font12
FONT_FAMILY_SANS_SERIF-FONT_STYLE_NORMAL-16:alias,font13
FONT_FAMILY_SANS_SERIF-FONT_STYLE_NORMAL-20:alias,font14
FONT_FAMILY_SANS_SERIF-FONT_STYLE_NORMAL-24:alias,font15
!
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_NORMAL-12:alias,font21
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_NORMAL-14:alias,font22
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_NORMAL-16:alias,font23
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_NORMAL-20:alias,font24
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_NORMAL-24:alias,font25
!
FONT_FAMILY_SANS_SERIF-FONT_STYLE_MEDUIM-12:alias,font21
FONT_FAMILY_SANS_SERIF-FONT_STYLE_MEDIUM-14:alias,font22
FONT_FAMILY_SANS_SERIF-FONT_STYLE_MEDIUM-16:alias,font23
FONT_FAMILY_SANS_SERIF-FONT_STYLE_MEDIUM-20:alias,font24
FONT_FAMILY_SANS_SERIF-FONT_STYLE_MEDIUM-24:alias,font25
!
FONT_FAMILY_SANS_SERIF-FONT_STYLE_BOLD-12:alias,font41
FONT_FAMILY_SANS_SERIF-FONT_STYLE_BOLD-14:alias,font42
FONT_FAMILY_SANS_SERIF-FONT_STYLE_BOLD-16:alias,font43
FONT_FAMILY_SANS_SERIF-FONT_STYLE_BOLD-20:alias,font44
FONT_FAMILY_SANS_SERIF-FONT_STYLE_BOLD-24:alias,font45
!
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_BOLD-12:alias,font31
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_BOLD-14:alias,font32
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_BOLD-16:alias,font33
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_BOLD-20:alias,font34
FONT_FAMILY_DEFAULT_FIXEDWIDTH-FONT_STYLE_BOLD-24:alias,font35
!
FONT_FAMILY_SANS_SERIF-FONT_STYLE_TYPEWRITER-12:alias,font21
FONT_FAMILY_SANS_SERIF-FONT_STYLE_TYPEWRITER-14:alias,font22
FONT_FAMILY_SANS_SERIF-FONT_STYLE_TYPEWRITER-16:alias,font23
FONT_FAMILY_SANS_SERIF-FONT_STYLE_TYPEWRITER-20:alias,font24
FONT_FAMILY_SANS_SERIF-FONT_STYLE_TYPEWRITER-24:alias,font25
------------- cut here ---

This file affects on application (like textedit) behavior

6. Open file

/usr/openwin/lib/locale/ru/app-defaults/Olwm

into editor, you will see something like this:

-------- cut here ------
! @(#)Olwm 1.7 93/06/04; SMI
!
! Default OLWM app-defaults (Xrm) file for korean locale
!
*olDefaultFont: -b&h-lucidasanstypcyr-normal-r-normal--0-0-0-0-m-0-iso8859-5
!
OpenWindows.TitleFont.ru:       test_font
OpenWindows.ButtonFont.ru:      test_font
OpenWindows.TextFont.ru:        test_font
OpenWindows.IconFont.ru:        test_font
OpenWindows.GlyphFont.ru:       -sun-open look glyph-*-*-*-*-*-140-*-*-*-*-*-*
OpenWindows.BoldFontEmulation.ru:False
OpenWindows.CharacterSet.ru:    ru
!
------------- cut here ---

Substitute its contents.  Change iso8859-5 as you need.
Test font patterns availability with the help "xfontsel" utility.

-------- cut here ------
! @(#)Olwm 1.7 93/06/04; SMI
!
! Default OLWM resource for Russian locale
!
*olDefaultFont: -b&h-lucida-medium-r-normal-sans-12-120-75-75-p-71-iso8859-5
!
OpenWindows.TitleFont.ru:       -b&h-lucida-bold-r-normal-sans-12-120-75-75-p-79-iso8859-5
OpenWindows.ButtonFont.ru:      -b&h-lucida-medium-r-normal-sans-12-120-75-75-p-71-iso8859-5
OpenWindows.TextFont.ru:        -b&h-lucida-medium-r-normal-sans-12-120-75-75-p-71-iso8859-5
OpenWindows.IconFont.ru:        -b&h-lucida-medium-r-normal-sans-12-120-75-75-p-71-iso8859-5
OpenWindows.GlyphFont.ru:       -sun-open look glyph-*-*-*-*-*-120-*-*-*-*-*-*
OpenWindows.BoldFontEmulation.ru:False
OpenWindows.CharacterSet.ru:    ru
!
------------- cut here ---

This file affects on OpenLook Window Manager.
"loading a couple of windows" indicate that one or some fonts for Olwm
are not found, check font patterns accessibility by "xfontsel".

Vitaly Filatov, Moscow, Russia
http://members.tripod.com/Vitaly_Filatov

pAul Pierson wrote:

> I'm running Solaris 8, but get the same behavior when I tested it on
> 2.6.
> When I set the desktop login for CDE, I can login and work with no
> problem.
> When I set the desktop login for openwindows, It pauses, and may even
> start
> loading a couple of windows on the screen, but then it goes blank, and
> then
> back to the desktop login screen.

> I've kind of looked at the .xinitrc file and even tried moving it.
> Appreciate
> any helpful hints.
> pAul

 
 
 

1. desktop login won't start openwindows


Don't post html to newsgroups.  Most folks will ignore the post.  Turn the
html off and repost.

--
-wiseguy
slummin it in Colorado ski country, while watching the IT industry move
to India, and thinking about retraining as a Sanitation Engineer

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

2. Spinnaker chipset USB wifi card

3. problem with CDE: can't start openwindows desktop

4. Does read(2) ever return with errno==EINTR?

5. OpenWindows won't start under Solaris 2.6

6. ppp problems

7. OpenWindows won't start in one of two machines.

8. IRC Client security problem?

9. x86 openwindows won't start

10. KDM/XDM/GDM: Won't start or can't login

11. PS/2 Mouse in Text Mode; X won't start

12. grahical login program tanks, system won't start, help!

13. Gnome 2.0 Beta 1 won't start/hang on login