LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-05-2007, 06:54 AM   #1
Xzander
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Rep: Reputation: 0
kwrite: cannot connect to X server :0.0


Hi, in the console, i get this error:
xhost: unable to open display ":0.0"
or
kwrite: cannot connect to X server :0.0

What the hell is this X server? I'm just trying to edit /boot/grub/menu.lst and I can't.

Any suggestion? (I tried sudo and kdesu)
 
Old 09-05-2007, 07:15 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
As the user
Code:
sudo kate /boot/grub/menu.lst
Should work
 
Old 09-05-2007, 07:22 AM   #3
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
Quote:
Originally Posted by Xzander View Post
What the hell is this X server? I'm just trying to edit /boot/grub/menu.lst and I can't.
The X server is the piece of software that manages your display. It acts as a "server" in the sense that all your graphical applications are "clients" which are connected to the X windowing and display system. The X server, then draws things on the screen on behalf of the client apps.

Don't immediately think of networking or internet when you hear the word "server" (although, X can run over the net in this fashion). Server/Client paradigms make sense from the high school cafeteria, all the way to the net, and even software, like X, that frequently has the client and server on the same box.
 
Old 09-05-2007, 08:10 AM   #4
bryantrv
Member
 
Registered: Jan 2005
Location: DeLand, Florida US
Distribution: Debian Etch
Posts: 91

Rep: Reputation: 15
That's odd that kdesu didn't work. You might try :
xhost +
as the user- it should come back with something like
"access control disabled, clients can connect from any host"
The just su and run kwrite.

After you are finished, do:
xhost -
again, as your user (not su)
.
 
Old 09-05-2007, 05:30 PM   #5
Xzander
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Thank's, it works now!
 
  


Reply

Tags
kdesu, su, sudo, x11, xhost


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
how to connect my proxy server with the local LDAP server ankuraggarwal Linux - Software 0 08-31-2007 02:17 AM
trying to connect to server 2003 domain server in slack 11 bladerunner12120 Slackware 2 04-02-2007 01:02 PM
Unix-connect: can't connect to server jrdioko Linux - Software 1 01-08-2006 04:56 PM
Suddenly unable to connect to my web server and my ftp server. HELP! Silly22 Linux - Software 4 05-23-2004 04:42 PM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 12:32 AM


All times are GMT -5. The time now is 10:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration