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 |
|
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
|
|
|
|
|
TheIDE runs differently under root
By: CppMod on Wed, 19 December 2012 21:18
|
|
|
Re: TheIDE runs differently under root
By: Didier on Wed, 19 December 2012 22:28
|
|
|
Re: TheIDE runs differently under root
By: CppMod on Thu, 20 December 2012 23:15
|
|
|
Re: TheIDE runs differently under root
By: Didier on Thu, 20 December 2012 23:24
|
|
|
Re: TheIDE runs differently under root
By: CppMod on Fri, 21 December 2012 17:34
|
|
|
Re: TheIDE runs differently under root
By: Didier on Fri, 21 December 2012 18:18
|
|
|
Re: TheIDE runs differently under root
|
|
|
Re: TheIDE runs differently under root
By: CppMod on Thu, 20 December 2012 23:04
|
|
|
Re: TheIDE runs differently under root
By: omari on Thu, 20 December 2012 08:06
|
|
|
Re: TheIDE runs differently under root
By: CppMod on Thu, 20 December 2012 23:12
|
|
|
Re: TheIDE runs differently under root
By: CppMod on Thu, 20 December 2012 23:35
|
|
|
Re: TheIDE runs differently under root
By: omari on Fri, 21 December 2012 09:38
|
|
|
Re: TheIDE runs differently under root
By: CppMod on Fri, 21 December 2012 16:03
|
|
|
Re: TheIDE runs differently under root
By: Novo on Fri, 21 December 2012 19:32
|
Goto Forum:
Current Time: Sun Apr 28 09:17:07 CEST 2024
Total time taken to generate the page: 0.08959 seconds
|