home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!stanford.edu!leland.Stanford.EDU!drizzle.Stanford.EDU!eillihca
- From: eillihca@drizzle.Stanford.EDU (Achille Hui)
- Subject: Re: dxsession beginner help??
- Message-ID: <eillihca.713826440@drizzle.Stanford.EDU>
- Sender: news@leland.Stanford.EDU (Mr News)
- Organization: DSO, Stanford University
- References: <1992Aug14.095847.4809@sdz01.uu.ch> <gel.713814152@zen.sys.uea.ac.uk>
- Date: 14 Aug 92 21:07:20 GMT
- Lines: 67
-
- gel@sys.uea.ac.uk (Gareth Lee) writes:
- >steve@sdz01.uu.ch writes:
-
- >>1. I have some users who should only be permitted to run a particular
- >>program. Normally I would replace the shell program in /etc/passwd
- >>with the permitted program. Unfortunately, after logging in through
- >>the dxprompter, "something" apparently happens (no error or warning
- >>message) and I am immediately returned to the login prompter. If I su
- >>to the user from another account, everything works as planned, but
- >>obviously that's not going to work.
-
- Is that program mentioned in /etc/shells ?
-
- >>2. With every other workstation I've ever used, I could kill the
- >>Xserver and work at a naked tty interface if I wanted to. So far I
- >>have found no way, either in the manuals or through random keystrokes,
- >>of doing this under Ultrix.
-
- You don't want to do that. When no X-window is running, Ultrix
- console act as an extra-ordinary dumb terminal which is extremely
- painful to use.
-
- >>3. Can I run X on Ultrix without dxsession? I find the whole thing
- >>annoying.
-
- Honestly, dxsession isn't so annoying. The one to blame is the evil
- dxwm. dxsession actually hides you from some other even more annoying
- things ;-)
-
- >You can change the /etc/ttys entry to run whatever you want (ie. another
- >window manager). I'm not sure whether the DEC X server will operate
- >without dxsession since it controls the icon box also?? You could consider
-
- The icon box is controlled by dxwm. You can start a different window
- manager by modifying the X-resources.
-
- >It would be worth experimenting with replacing the -C /usr/bin/dxsession
- >option with -C /usr/local/bin/myscript thereby invoking a shell script
-
- You can replace /usr/bin/dxsession to whatever you want. Just remember
- to duplicate two functions that dxsession has perform:
-
- 1) Redirect the console messages to appropriate places.
- something like:
- cat -u /dev/xcons
- or xconsole should work.
-
-
- 2) when Xprompter authenticate your login, it will then
- call /usr/bin/dxsession or whatever after the -C
- flags with the terminal line identifier, which is usually
- :0 for the console. If you replace dxsession by anything
- else, be sure to call
-
- /usr/lib/X11/getcons <terminal-line-identifier>
-
- manually. Otherwise, a bogus entry will left in /etc/utmp
- which will crash a few common programs.
-
- Another possibility is to comment out the line about :0 in /etc/ttys
- and start the X-servers through xdm in /etc/rc.
-
- >>4. Can anyone point me to a usable replacement for dxdb?
-
- No idea.
-
- ------------------------------------achille (eillihca@drizzle.stanford.edu)
-