Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kan inte köra xscreensaver som root.. [fixad]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
soujirou
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 205
Location: sweden

PostPosted: Thu Jun 24, 2004 6:43 pm    Post subject: kan inte köra xscreensaver som root.. [fixad] Reply with quote

finns det nåt sätt att komma förbi detta ? så man kan köra xscreensaver fastän man är root ?


tack


Last edited by soujirou on Fri Oct 15, 2004 9:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
hensan
l33t
l33t


Joined: 26 Jun 2003
Posts: 868
Location: Sweden

PostPosted: Thu Jun 24, 2004 8:22 pm    Post subject: Reply with quote

Varför går det inte? Får du nåt felmeddelande? Jag gissar att du får ett felmeddelande typ Error: Can't open display: :0.0 eller nåt?

För att root ska få starta x-applikationer när du är inlogggad i X med en vanlig användare måste du först köra kommandot xhost + localhost med den vanliga användaren.
Back to top
View user's profile Send private message
soujirou
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 205
Location: sweden

PostPosted: Thu Jun 24, 2004 8:48 pm    Post subject: Reply with quote

stämmer bra....

Xlib: connection to ":0.0" refused by server
xscreensaver CAnt open display :0.0
Back to top
View user's profile Send private message
aridhol
Guru
Guru


Joined: 20 Jan 2003
Posts: 509
Location: Stockholm, Sweden

PostPosted: Thu Jun 24, 2004 8:56 pm    Post subject: Reply with quote

Löste sig problemet genom att följa hensans anvisningar eller har du fortfarande problem?
_________________
72 of Pitcairn Islands 49 inhabitants use Seti@Home
"If you buy a DVD you have a copy. If you want a backup copy you buy another one."
"Anyone who is capable of getting themselves made President should on no account be allowed to do the job."
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4830
Location: Gothenburg, Sweden

PostPosted: Thu Jun 24, 2004 8:59 pm    Post subject: Reply with quote

Kan vara värt att läsa det här: http://www.jwz.org/xscreensaver/faq.html#root-lock
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
soujirou
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 205
Location: sweden

PostPosted: Thu Jun 24, 2004 9:09 pm    Post subject: Reply with quote

jag körde xhost +localhost först sen xscreensaver men får samma problem..
Back to top
View user's profile Send private message
hensan
l33t
l33t


Joined: 26 Jun 2003
Posts: 868
Location: Sweden

PostPosted: Thu Jun 24, 2004 9:30 pm    Post subject: Reply with quote

Det var det skummaste! xhost + localhost funkar inte här heller längre :!: :?:

Aja, kör xhost local:root då.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum