LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-15-2008, 11:15 AM   #1
449
Member
 
Registered: Nov 2007
Posts: 104

Rep: Reputation: 15
Exclamation Xlib: connection to ":0.0" refused by server - Debian


When I was unistalling packages I think I ended unistalling something I needed. When I try to open anything from terminal I get:

erik:/home/erik/Desktop# VirtualBox
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Qt WARNING: VirtualBox: cannot connect to X server :0.0

Does anyone know how to fix this?

Thanks

Oh and I tried: xhost +local:username

erik:/home/erik/Desktop# xhost +local:erik
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xhost: unable to open display ":0.0"

Last edited by 449; 02-15-2008 at 11:27 AM.
 
Old 02-15-2008, 01:17 PM   #2
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 806

Rep: Reputation: 43
You seem to be trying to launch GUI programmes as root. Try as a normal user.
 
Old 02-15-2008, 01:45 PM   #3
KrahnacK
Member
 
Registered: Nov 2007
Location: /dev/volcano
Posts: 70

Rep: Reputation: 15
you may want to install the x11proto-* packages and related?
 
Old 02-15-2008, 02:23 PM   #4
449
Member
 
Registered: Nov 2007
Posts: 104

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by davcefai View Post
You seem to be trying to launch GUI programmes as root. Try as a normal user.
1. I need to run as root.
2. It also will not run as normal.
 
Old 02-15-2008, 02:24 PM   #5
449
Member
 
Registered: Nov 2007
Posts: 104

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by KrahnacK View Post
you may want to install the x11proto-* packages and related?
I have them installed.
 
Old 02-15-2008, 06:18 PM   #6
dugas
Member
 
Registered: Jul 2004
Location: louisiana
Distribution: fedora 4/kubuntu
Posts: 116

Rep: Reputation: 15
Gnome, use gksudo
KDE, use kdesu

For example, if you are using KDE, press Alt+F2, then for the command type kdesu VirtualBox.
 
  


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 11 04-22-2015 09:17 AM
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified eyalkz Programming 1 03-02-2004 08:22 AM
Wine not working. Xlib: connection to ":0.0" refused by server Xerop Linux - General 1 02-18-2004 09:37 PM
What is "Xlib: connection to ":0.0" refused by server " rack201 Linux - Software 1 02-04-2004 07:49 AM
Mplayer: [Xlib: connection to ":0.0" refused by server] elluva Slackware 2 12-18-2003 06:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration