> > here's a guess:
> > do 'set|grep PATH'; see if /usr/X11R6/bin (or
> > /usr/bin/X11, symlinked to
> > /usr/X11R6/bin) is in there.
> > look in /usr/X11R6/bin, see if there's an 'X' there.
> > should be a symlink to
> > /usr/X11R6/bin/Xwrapper.
> > 
> > Carl Soderstrom
> > -- 
> > Network Engineer
> > Real-Time Enterprises
> > (952) 943-8700
> > _______________________________________________
> > Newbie mailing list
> > [EMAIL PROTECTED]
> > *** To unsubscribe , or change message options, see:
> > http://XFree86.Org/mailman/listinfo/newbie
> theres is no 'X' there .. I need very basic
> instructions I am new to linux

Xwrapper is something that trips people up a lot (and I'm still not sure I
understand it fully). basically it's a wrapper tool that starts X as root;
but then drops root privileges. without it, you need to be root to start X
(not adviseable to run as root when you don't need to), or else make your X
server (usually /usr/X11R6/bin/XFree86 these days) 'Set User ID root' (SUID
root). 
SUID root means that the file is set with permissions:
-rwsr-xr-x      root    root
or something similar. the 's' is the important bit. set up as above, anyone
can start the program; and it will run as the root user (pretty serious
security problem if someone has access to your system as an ordinary user,
finds a buffer overflow in the program in question).
so by using a wrapper script, which drops root privileges as soon as
possible, we cut down the risk of security exploits substantially.

so look for a file called Xwrapper ('find /usr |grep Xwrapper'),
if you find it, link /usr/X11R6/bin/X to it (as root, 'ln -s
/usr/X11R6/bin/Xwrapper /usr/X11R6/bin/X').

then see if 'startx 2>x.log' will work, as an ordinary user. if not, post
the contents of the x.log file this generates. :)

Carl Soderstrom
-- 
Network Engineer
Real-Time Enterprises
(952) 943-8700
_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

Reply via email to