[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xwrapper & Netscape problems



*- Jeremiah Cornelius wrote about "Xwrapper & Netscape problems"
| 
| I just installed Debian 2.0 on my new Dual PentiumPro box.
| 
| IMHO, It's got some real plusses, and some definite minuses as cmpared
| to RH 5.x...
| 
| My real problem right now, is that X seems to have installed itself
| without Xwrapper, and only root can launch X!  I don't want to setuid
| the xserver, and I can't find a .deb for the wrapper.
| 

The binary /usr/bin/X11/X is a wrapper built by the debian team.  It
executes the X server, in my case XF86_S3, suid root and then returns
to user space.  This executable looks at the file /etc/X11/Xserver to
determine who can run X.  Look at that file and change accordingly.

% less /etc/X11/Xserver
/usr/bin/X11/XF86_S3
Console

The first line in this file is the full pathname of the default X server.
The second line shows who is allowed to run the X server:
RootOnly
Console      (anyone whose controlling tty is on the console)
Anybody


| Also, the Netscape .deb packages from contrib seem very broken. They
| will not install, complaining that original .tgz files must be named
| specifically, located in /tmp, and owned by root. I suppose I could
| get the originals from NS, but that sort of defeats the purpose of
| maintaining a package system.  
| 

This is how it is supposed to be you can install several different
versions of communicator with one deb package file.  Just put the tgz
communicator file in /tmp and make sure it is owned by root.root and
'dpkg -i netscape*'.  The installer will extract the tgz to a temp
directory and run the netscape installer and put all the files in the
correct place and keep track of it all.  If you want to remove it then
it removes all the files that netscape installed.  Very slick if you
ask me.



-- 
Brian 
---------------------------------------------------------------------
"Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes." 
							   - unknown  

Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: