LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-07-2004, 07:11 AM   #1
DaveyB
Member
 
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83

Rep: Reputation: 15
Xlib problems


When i try to use xcdroast or rargui i get this message:
root@darkstar:/# rargui2
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


wot is it and how do i get rid of it
 
Old 09-07-2004, 07:15 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 52
The X server was started by root or another user? If not as root, try starting it with it.
 
Old 09-07-2004, 07:32 AM   #3
DaveyB
Member
 
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83

Original Poster
Rep: Reputation: 15
How do i go about that?
 
Old 09-07-2004, 09:35 AM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 52
log in as root and startx or if you're using some graphical login just enter as root and run the desired program.
 
Old 09-07-2004, 12:21 PM   #5
DaveyB
Member
 
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83

Original Poster
Rep: Reputation: 15
Logged in as root, running KDE started program within the terminal and this is what i get, thanx for the help so far
 
Old 09-07-2004, 01:04 PM   #6
DJ FlowFX
Member
 
Registered: Aug 2004
Location: Kouvola, Finland
Distribution: SimplyMEPIS 2004.06
Posts: 34

Rep: Reputation: 15
it works when you write 'xhost +' in terminal, does the job for the current session only (I think). I wonder how I could edit it so that I wouldn't have to write it again every time... I'm having the same problem too.
 
Old 09-08-2004, 05:30 AM   #7
DaveyB
Member
 
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83

Original Poster
Rep: Reputation: 15
root@darkstar:/usr/X11R6/bin# ./xhost +
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

./xhost: unable to open display ":0.0"


i wonder whats happeneing?
 
Old 09-08-2004, 08:11 AM   #8
DJ FlowFX
Member
 
Registered: Aug 2004
Location: Kouvola, Finland
Distribution: SimplyMEPIS 2004.06
Posts: 34

Rep: Reputation: 15
Quote:
Originally posted by DaveyB
root@darkstar:/usr/X11R6/bin# ./xhost +
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

./xhost: unable to open display ":0.0"


i wonder whats happeneing?
arttu@localhost:~$ xhost +
access control disabled, clients can connect from any host
arttu@localhost:~$

It should be done as a normal user. Don't know why...

Last edited by DJ FlowFX; 09-08-2004 at 08:12 AM.
 
Old 09-26-2004, 06:08 AM   #9
srmeena
LQ Newbie
 
Registered: Sep 2004
Location: Jaipur,India
Distribution: Gentoo
Posts: 8

Rep: Reputation: 0
Quote:
arttu@localhost:~$ xhost +
access control disabled, clients can connect from any host
arttu@localhost:~$

It should be done as a normal user. Don't know why...

it is becoz normal user(i wud rather say current) has authority to run X...only he can allow others to acees X...thats why u need to do Xhost+ here to allow root to acces X.

but xhost+ is not good method to this in a comp on network...security issue...so so try xhost +localhost

btw, nice way to do this is to create a link in /root named .Xauthority to /home/<currentuser>/.Xauthority

$ln -s /home/<currentuser>/.Xauthority /root/.Xauthority

of course, u need root permission to do that.

enjoy!!
S R Meena
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified eyalkz Linux - Newbie 12 11-27-2018 01:30 PM
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified eyalkz Programming 1 03-02-2004 08:22 AM
XLib problems with Wine ninjajoe Linux - Software 1 10-04-2003 09:23 PM
Xlib errors, X Windows Problems??? Please help... leeach Linux - Software 2 10-02-2003 06:10 PM
Xlib errors, X Windows Problems??? Please help... leeach General 0 10-02-2003 05:27 PM

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

All times are GMT -5. The time now is 05:46 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