Solved

How to solve running kdevelop problem?

Posted on 2011-03-02
8
1,385 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
Comment Utility
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
Comment Utility
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
Comment Utility
Nothing happens still giving:
cannot connect to x server
0
 
LVL 4

Assisted Solution

by:MarioAlcaide
MarioAlcaide earned 300 total points
Comment Utility
How are you connecting to the server?

You should connect like this:

(from your machine)
xhost +
ssh root@your_server -X
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 16

Assisted Solution

by:santoshmotwani
santoshmotwani earned 200 total points
Comment Utility


sudo xhost +local:kdevelop

can you please try this command











0
 

Author Comment

by:nabilhammoud
Comment Utility
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
Comment Utility
Have you installed cmake?

sudo apt-get nistall cmake build-essential

Should do it.
0
 

Author Closing Comment

by:nabilhammoud
Comment Utility
THX
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now