You are not logged in.
Pages: 1
Hey i got problem with run ghex as root. I got full acess in suoders but when i try to run it
[root@Alice luis]# sudo ghex
(process:1959): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
No protocol specified
** (ghex:1959): WARNING **: Could not open X display
No protocol specified
Cannot open display:
Run 'ghex --help' to see a full list of available command line options.
[root@Alice luis]#
how i can run ghex as root ?
Offline
You shouldn't use 'sudo <graphical application>'. Preferably, you should use 'sux' or 'gksu' or 'kdesu'.
I think you haven't set your locale correctly though, so look up the wiki article on that, and the apps I mentioned.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
You don't need to use 'sudo' as root.
If ghex is a graphical app, see https://wiki.archlinux.org/index.php/Ru … ps_as_root
Offline
Hey i got problem with run ghex as root. I got full acess in suoders but when i try to run it
[root@Alice luis]# sudo ghex (process:1959): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. No protocol specified ** (ghex:1959): WARNING **: Could not open X display No protocol specified Cannot open display: Run 'ghex --help' to see a full list of available command line options. [root@Alice luis]#
how i can run ghex as root ?
If you are still trying to edit libflashplayer.so with ghex you could change the owner of the file. Then edit with ghex as normal user and change owner again.
Offline
Your shell belongs to root, so (as has been pointed out) sudo is not required. An X session that can be used by the current user (root), however, is required.
Did you initially log in as root, or did you su to root?
Are you, as root, running an X session? (BTW, doing so is extremely bad form)
The proper (if one takes the leap of faith that it is ever proper to run a GUI program as root) way to do this is to use the commands from WorMzy in post #2 when logged in as a normal user.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Pages: 1