Re: lug-bg: startx [was: Problem s Xsevera] - solved !
- Subject: Re: lug-bg: startx [was: Problem s Xsevera] - solved !
- From: danchev@xxxxxxxxx (George Danchev)
- Date: Tue, 9 Jul 2002 20:51:32 +0300
> àì àíäæúê äå ;-) /usr/X11R6/bin/X å wrapper-a çà XFree86. Êàêòî è äà å àêî
>
èñêàø ïàê ìîæå äà äàäåø íà users äà ïóñêàò X-ñà, íî ïðè ìåí ñè ïðîäúëæàâà
> ñàìî root äà ìîæå ÷ðåç startx, äðóãèòå ïðåç display manager ñàìî ñëåä
> authentification, è ïîíå çà ñåãà íå ñúì ðàçáðàë çàùî å òàêà.
çíà÷è îòêðèõ ñè ïðîáëåìà çàùî ñ startx ñàìî ïðè root ñòàâàëî ;-)
îáèêíîâåíèòå users èìàõà ïðàçåí ~/.xserverrc ôàéë, à root íå, ïðè êîïèðàíåòî
íà íåùàòà íà root home dir-a íà user-a (çà äà âçåìà ëåñíî íàñòðîéêèòå íà
root-a), òîçè ïðàçåí .xserverrc ñè å îñòàíàë òàì!!! òîâà îïðåäåëåíî
ïîäâåæäàøå xinit, êîéòî íå ìîæåøå äà íàìåðè òîâà îíîâà, íÿìà êàê äà ãî íàìåðè
;-). òà èëè ñå ìàõà òîçè ïðàçåí .xserverrc , çà äà ñå ïîëçâà system-wide, èëè
ñå ïèøå â íåãî íåùî îò ñîðòà íà:
#!/bin/sh
exec /usr/bin/X11/X -dpi 100 -nolisten tcp
(òîâà ïèøåøå â system-wide /etc/X11/xinit/xserverrc ;)
how lame, êîëêî âðåìå æèâåÿ ñ ìèñúëòà ÷å startx å insecure è çà òîâà ñå
ïîëó÷àâà òàêà ñ îáèêíîâåíèòå users. äîðè â íà÷àëîòî íà ñêðèïòà startx, ÷åòà:
# This is just a sample implementation of a slightly less primitive
# interface than xinit. It looks for user .xinitrc and .xserverrc
# files, then system xinitrc and xserverrc files, else lets xinit choose
# its default. The system xinitrc should probably do things like check
# for .Xresources files and merge them in, startup up a window manager,
# and pop a clock and serveral xterms.
#
# Site administrators are STRONGLY urged to write nicer versions.
è ñè âèêàõ çà òâà ñà ãî ïîçàáðàíèëè äà ñå ïîëçâà îò users ;-)
Îêàçâà ñå îáà÷å, ÷å restriction-a å ñ Xwrapper-a.
> Êàêòî è äà å ãà èìàì âðåìå ùå âèäÿ äà purge è ðåèíñòàëë íÿêîè ÷àñòè îò X-ñà
>
èëè öåëèÿ, ñåãà íå ìè ñå çàíèìàâà ;-)
10x íà ßñåí, íî äà çíàå ÷å ìîæå è áåç ~/.xsession , ùîòî startx ãëåäà è â
$HOME è çà system-wide ;-)
--
Greets,
fr33zb1
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|