LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-18-2004, 03:04 AM   #1
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Rep: Reputation: 30
xhost +


I've been having issues with root..

Sometimes, when trying to run programs under root (k3b, xine...) I get this message.

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

This is xine (X11 gui) - a free video player v0.99.1.
(c) 2000-2003 The xine Team.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

I figured out that xhost + fixes this, and after I do this...anyone can connect...but once I reboot, it goes back to this same issue. How can I get this to stay..so that any user can connect?

Thanks.

-RoaCh
 
Old 09-18-2004, 03:10 AM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
In short, don't run k3b or xine as root because you don't need to

Otherwise there are many way to fix that...Like put something like that in your ~/.bashrc :

alias k3b="xhost + && k3b"
 
Old 09-20-2004, 01:31 AM   #3
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Original Poster
Rep: Reputation: 30
okay, thanks. I'll try that.
 
Old 10-02-2004, 04:31 PM   #4
esben
Member
 
Registered: Jun 2003
Location: Copenhagen, Denmark
Distribution: Gentoo
Posts: 48

Rep: Reputation: 15
You might want to use xhost
Code:
+local:
to allow just local connections.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xhost + mlykam Linux - Software 3 03-17-2005 09:50 AM
xhost itsjung Linux - Newbie 4 12-22-2004 05:58 AM
xhost + and 9.1 Mufasa SUSE / openSUSE 1 11-14-2004 11:19 AM
xhost invasian Linux - Newbie 3 08-08-2004 08:01 PM
xhost security green_t Linux - Security 2 03-05-2001 09:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration