|
|
|
|
|
|
| Author |
Message |
Frank Mosebach *nix forums beginner
Joined: 06 May 2005
Posts: 4
|
Posted: Fri May 06, 2005 4:21 pm Post subject:
file /etc/rc2.d/desktop needed
|
|
|
Hello folks.
In a stupid moment I deleted the file /etc/rc2.d/desktop and can't
revover it. Would you please post the contents of the file?
Thanks, Frank. |
|
| Back to top |
|
 |
Walter Roberson *nix forums Guru
Joined: 19 Feb 2005
Posts: 1300
|
Posted: Fri May 06, 2005 5:42 pm Post subject:
Re: file /etc/rc2.d/desktop needed
|
|
|
In article <1115403664.878936.297900@o13g2000cwo.googlegroups.com>,
Frank Mosebach <moeses@freenet.de> wrote:
:In a stupid moment I deleted the file /etc/rc2.d/desktop and can't
:revover it.
If it existed on your system, it was as a local customization.
All files in /etc/rc2.d/ start with a capital S.
There is an /etc/config/desktop but that just contains either the
word 'on' or 'off' (normally 'on'), and may be easily recreated via
chkconfig -f desktop on
All the real work of setting up the desktop is handled via the
files in /usr/lib/X11/xdm . In particular, right at the top of
Xsession, there is a check to see if "desktop" is turned on,
and if it is then /usr/lib/X11/xdm/Xsession.dt is exec'd
[skipping the rest of Xsession.] And in turn, after all is said
and done, the only substantive difference is that for desktop on,
/usr/sbin/fm -b is invoked.
The proper operation of fm used to depend upon the objectserver
being alive, /etc/rc2.d/S97cadmin . That isn't used in IRIX 6.5. |
|
| Back to top |
|
 |
Frank Mosebach *nix forums beginner
Joined: 06 May 2005
Posts: 4
|
Posted: Sat May 07, 2005 3:40 pm Post subject:
Re: file /etc/rc2.d/desktop needed
|
|
|
Hello and thanks for your prompt answer.
In an older posting I red, that the initscript (which of course is
something like SXXdesktop in /etc/rc2.d) influences the desktop's look.
In my case I don't have any icons and I get a toolchest, containing
fewer entries. If I then enter <toolchest> at the prompt, the normal
toolchest is loaded. Also some desktop setup functions doesn't work.
How can I get the normal look and functions to work?
Thanks, Frank. |
|
| Back to top |
|
 |
Walter Roberson *nix forums Guru
Joined: 19 Feb 2005
Posts: 1300
|
Posted: Sat May 07, 2005 5:47 pm Post subject:
Re: file /etc/rc2.d/desktop needed
|
|
|
In article <1115487607.607002.99250@z14g2000cwz.googlegroups.com>,
Frank Mosebach <moeses@freenet.de> wrote:
:In an older posting I red, that the initscript (which of course is
:something like SXXdesktop in /etc/rc2.d) influences the desktop's look.
Only if the objectserver is turned off, in versions old enough
to have the objectserver (/etc/rc2.d/S97cadmin )
:In my case I don't have any icons and I get a toolchest, containing
:fewer entries. If I then enter <toolchest> at the prompt, the normal
:toolchest is loaded. Also some desktop setup functions doesn't work.
:How can I get the normal look and functions to work?
Which IRIX version?
Does your /var/adm/SYSLOG report something about "userenv" ?
The symptoms you describe sound like either permission
problems or problems with userenv .
userenv starts up your login shell as if you were logging on
interactively, but with the ENVONLY environment variable set,
and userenv tells that shell to list the environment variables.
If you have shell init scripts that output text or prompts at
login time, then userenv cannot parse the variables properly
and you will get a mussed login screen. For example,
/etc/cshrc specifically tests whether ENVONLY is set before
it outputs the message of the day or checks for new mail.
Similarily, /etc/profile makes sure that it is running
interactively before it uses 'tset' to request that the user
set a terminal type.
If your .cshrc or .profile or .kshrc or .bashrc or whatever
outputs anything, it should be protected with an ENVONLY test. |
|
| Back to top |
|
 |
Frank Mosebach *nix forums beginner
Joined: 06 May 2005
Posts: 4
|
Posted: Mon May 09, 2005 3:02 pm Post subject:
Re: file /etc/rc2.d/desktop needed
|
|
|
| Quote: | Walter Roberson schrieb:
:In an older posting I red, that the initscript (which of course is
:something like SXXdesktop in /etc/rc2.d) influences the desktop's
look.
Only if the objectserver is turned off, in versions old enough
to have the objectserver (/etc/rc2.d/S97cadmin )
|
I didn't find a file called "SXXcadmin" in /etc/rc2.d.
| Quote: | :In my case I don't have any icons and I get a toolchest, containing
:fewer entries. If I then enter <toolchest> at the prompt, the normal
:toolchest is loaded. Also some desktop setup functions doesn't work.
:How can I get the normal look and functions to work?
Which IRIX version?
|
6.5.15. It is nearly fresh installed and came with cde as standard
windowmanager. Just wanting 4Dwm to run, I did somethings which maybe
caused the trouble.
| Quote: | Does your /var/adm/SYSLOG report something about "userenv" ?
The symptoms you describe sound like either permission
problems or problems with userenv .
|
No, there are no reported errors.
| Quote: | userenv starts up your login shell as if you were logging on
interactively, but with the ENVONLY environment variable set,
and userenv tells that shell to list the environment variables.
If you have shell init scripts that output text or prompts at
login time, then userenv cannot parse the variables properly
and you will get a mussed login screen. For example,
/etc/cshrc specifically tests whether ENVONLY is set before
it outputs the message of the day or checks for new mail.
Similarily, /etc/profile makes sure that it is running
interactively before it uses 'tset' to request that the user
set a terminal type.
If your .cshrc or .profile or .kshrc or .bashrc or whatever
outputs anything, it should be protected with an ENVONLY test.
|
I use bash for all users.
Frank |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 11:54 pm | All times are GMT
|
|
Sprint Ringtones | Credit Card | Power Rangers | Ringtones | Loan
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|