Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » TheIDE runs differently under root
TheIDE runs differently under root [message #38475] Wed, 19 December 2012 21:18 Go to previous message
CppMod is currently offline  CppMod
Messages: 11
Registered: February 2011
Location: Plano, TX
Promising Member
I have a program that must run as root because of some low level I/O (embedded system). I can build the program at user level, but then I have to go to a root terminal to run it.

I can start TheIDE in a root terminal ok, but the pane on the far left is missing, and I have not figured out how to add a file without

1) going back to a user terminal,
2) running TheIDE there,
3) right-click to add the file(s),
4) going back to the root terminal,
5) running TheIDE,
6) selecting File|Open File Directory, and
7) dragging and dropping the new file(s) onto TheIDE.

I tried running TheIDE in my user terminal using sudo, and the result was "No protocol specified (<unknown>:2801): Gtk-WARNING **: cannot open display:0.0

su - gave the same error.

I dimly recall that there is a way to set up the display, but I don't remember how.

But the basic question is, "Why does TheIDE run differently as root?" Followed by, "What do I need to do to fix this?"

P.S. Right-clicking "File" on the menu does nothing, either as root or as user.


611bb927f8731cdc83c3f1eb09e758ac
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug: TheIde crashes when opening a project
Next Topic: Code completion stopped working
Goto Forum:
  


Current Time: Sun Apr 28 09:17:07 CEST 2024

Total time taken to generate the page: 0.08959 seconds