Solved

How to solve running kdevelop problem?

Posted on 2011-03-02
8
1,412 Views
Last Modified: 2012-06-27
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
0
Comment
Question by:nabilhammoud
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
8 Comments
 
LVL 4

Expert Comment

by:MarioAlcaide
ID: 35015406
You need to export X first, for example:

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

0
 
LVL 16

Assisted Solution

by:santoshmotwani
santoshmotwani earned 200 total points
ID: 35015589
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
 

Author Comment

by:nabilhammoud
ID: 35015911
Nothing happens still giving:
cannot connect to x server
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 4

Assisted Solution

by:MarioAlcaide
MarioAlcaide earned 300 total points
ID: 35015931
How are you connecting to the server?

You should connect like this:

(from your machine)
xhost +
ssh root@your_server -X
0
 
LVL 16

Assisted Solution

by:santoshmotwani
santoshmotwani earned 200 total points
ID: 35015953


sudo xhost +local:kdevelop

can you please try this command











0
 

Author Comment

by:nabilhammoud
ID: 35016238
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
 
LVL 4

Accepted Solution

by:
MarioAlcaide earned 300 total points
ID: 35016245
Have you installed cmake?

sudo apt-get nistall cmake build-essential

Should do it.
0
 

Author Closing Comment

by:nabilhammoud
ID: 35025928
THX
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question