How to solve running kdevelop problem?

Dear,

I have debian server installed and want to use the kdevelop KDE. I installed the kdevelop and try to run by using kdevelop on the command line. However, an error showing the following: kdevelop: cannot connect to x server.

So could anybody  tell what is the problem, and if I have to install the x server.

Provide exactly the command to install the required packages.

nabil
nabilhammoudAsked:
Who is Participating?
 
MarioAlcaideCommented:
Have you installed cmake?

sudo apt-get nistall cmake build-essential

Should do it.
0
 
MarioAlcaideCommented:
You need to export X first, for example:

[malcaidel@machine1]# export DISPLAY=machine2:0.0
[malcaidel@machine2]# xhost + machine1
[malcaide@machine1]# kdevelop

0
 
santoshmotwaniCommented:
Open terminal and run these commands

Remove existing xorg using the following  -      sudo apt-get remove --purge xserver-xorg

Install xorg using the following command -     sudo apt-get install xserver-xorg

Reconfigure xorg using the following command -     sudo dpkg-reconfigure xserver-xorg

Let me know you go
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
nabilhammoudAuthor Commented:
Nothing happens still giving:
cannot connect to x server
0
 
MarioAlcaideCommented:
How are you connecting to the server?

You should connect like this:

(from your machine)
xhost +
ssh root@your_server -X
0
 
santoshmotwaniCommented:


sudo xhost +local:kdevelop

can you please try this command











0
 
nabilhammoudAuthor Commented:
OK, it is working.

I installed the xorg alone and it works properly now.

But still one major question, in kdevelop(KDE), it asking for CMAKE BINARY.  

What is this file and why it should be used?


nabil
 
0
 
nabilhammoudAuthor Commented:
THX
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.