[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Opkobling



On Tue, 4 Apr 2000, Søren Gade wrote:

> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not autorized to connect to server
> kppp: Cannot connect to X server :0
> 
> Er der en der ved hvorfor når alt kører fint som root.

Det er faktisk ikke kppp der brokker sig, men din X-Server. Du er nødt til
at give root lov til at exportere sit display til din brugers X-server.
Brug noget ala det her (som din upriviligerede bruger):

xhost +
su -c "export DISPLAY=0:0;kppp"

xhost tingen giver alle lov til at bruge dit display. Denne kan evt.
sættes noget mere restriktivt. Check man-siderne.
Den næste linie eksekverer et program som en anden bruger. Denne bruger
bliver root hvis ikke andet er specificeret - Du bliver selvfølgelig
promptet for roots password.
Den starter med at exportere dit DISPLAY til den X-server du har kørende
(og du har jo lige givet lov til det), og så startes kppp.

Håber det kastede lidt klarhed over sagen.

/Jens

---
We have normality -  anything you can't cope
with is therefore your own problem.



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 21:38 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *