Solved

How to solve running kdevelop problem?

Posted on 2011-03-02
8
1,396 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

830 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