This happens when you don't have read permission in directories in your ~/.dt directory. You may have a restrictive umask. Just make sure you can read your own .dt subdirectories and it should fix it.
I'll file a bug that it should handle this case less disastrously.
Dorothy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am logging in as a ordinary user and switching to root, when I try to run tkcvs it runs with some error as
----------
Neither ~/.dt/sessions/current/dt.resources nor
~/.dt/sessions/home/dt.resources was readable
Falling back to plain X
-----------
this happens because there is no HOME set for the user root as I switch from an ordinary user
same thing happens when I login as root and switch back to a normal user
I set the umask permission for all, even then the same error is occuring
the errors are below clearly
---------------
# Error in startup script: can't read "textfg": no such variable
while executing
"option add *Text.Foreground $textfg userDefault"
(procedure "get_cde_params" line 119)
invoked from within
"get_cde_params"
(file "/opt/bin/tkcvs" line 1)
-------------
I need to fix this as soon as possible
thanks in advance
cheers & regards
Umapathy S
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay, I surmise you're running on a headless machine that root has never had a CDE session on. What I suggest is that you edit tkcvs.blank in your distribution directory. Comment out lines 74 and 116 to remove the conditional:
#if {! get_cde_params} {
.
.
.#}
Then run doinstall.tcl again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi all
I just installed tkcvs on hpux 10.20.
as a root I can run tkcvs with no problem but I cant do as a regular user. I am getting the following error
error in startup script : cannot read "textfg" no such variable
please give me some pointers to rectify this
thanks in advance
cheers
Umapathy S
This happens when you don't have read permission in directories in your ~/.dt directory. You may have a restrictive umask. Just make sure you can read your own .dt subdirectories and it should fix it.
I'll file a bug that it should handle this case less disastrously.
Dorothy
I cant determine what is the core of the problem
I am logging in as a ordinary user and switching to root, when I try to run tkcvs it runs with some error as
----------
Neither ~/.dt/sessions/current/dt.resources nor
~/.dt/sessions/home/dt.resources was readable
Falling back to plain X
-----------
this happens because there is no HOME set for the user root as I switch from an ordinary user
same thing happens when I login as root and switch back to a normal user
I set the umask permission for all, even then the same error is occuring
the errors are below clearly
---------------
# Error in startup script: can't read "textfg": no such variable
while executing
"option add *Text.Foreground $textfg userDefault"
(procedure "get_cde_params" line 119)
invoked from within
"get_cde_params"
(file "/opt/bin/tkcvs" line 1)
-------------
I need to fix this as soon as possible
thanks in advance
cheers & regards
Umapathy S
Okay, I surmise you're running on a headless machine that root has never had a CDE session on. What I suggest is that you edit tkcvs.blank in your distribution directory. Comment out lines 74 and 116 to remove the conditional:
#if {! get_cde_params} {
.
.
.#}
Then run doinstall.tcl again.
Hi,
I was also having the same probrem on HP-UX10.20 CDE Environment.
You may need following descriptions in the file ~/.dt/sessions/current/dt.resources or ~/.dt/sessions/home/dt.resources .
>>>>
Window.Color.Foreground: black
Window.Color.Background: white
<<<<
But, I also don't know what is the core of this problem.