Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1476
  • Last Modified:

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
0
nabilhammoud
Asked:
nabilhammoud
  • 3
  • 3
  • 2
4 Solutions
 
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
 
nabilhammoudAuthor Commented:
Nothing happens still giving:
cannot connect to x server
0
Industry Leaders: 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!

 
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
 
MarioAlcaideCommented:
Have you installed cmake?

sudo apt-get nistall cmake build-essential

Should do it.
0
 
nabilhammoudAuthor Commented:
THX
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now