Type "xhost +" as regular user and then root (well all users, actually...) should be allowed to access the X display.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
emacs: Cannot connect to X server :0.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.
![]()
i can open the file as the regular user but to edit it i have to open it as a root.
Type "xhost +" as regular user and then root (well all users, actually...) should be allowed to access the X display.
Thanks a bunch..i will give it a try when i get back to home!
update : worked like a charm!![]()

Kingston 16GB DDR4 3200MHz PC4-3200AA-SA2-12 Laptop RAM SODIMM (HP32D4S2S8ME-16)
$64.99
Kingston Fury Beast 32GB(2 x 16GB) KF552C36BBEA-16 DDR5 5200MHz RAM - R1031A
$299.95
16GB KIT (2x8GB) DDR4 Gamer Desktop RAM PC4 MIXED BRANDS
$65.00
Lot of 2 SK Hynix 16GB 1Rx8 PC4-3200AA UDIMM RAM DDR4 3200MHz HMAA2GU6CJR8N-XN
$149.99
[ BULK LOT OF 10 ] UNITS of 8GB DDR4 Laptop RAM SAMSUNG, HYNIX etc.
$299.99
Major Brand 8 GB PC3L-12800 (DDR3-1600) 2Rx8 DDR3L Laptop Memory RAM
$10.99
Kingston FURY Beast 128GB (4 x 32GB) PC4-28800 (DDR4-3600) UDIMM Memory - Black
$900.00
XPG GAMMIX D10 32GB (4x8GB) RAM DDR4 3000MHz AX4U300038G16A-DB30
$119.99
LOT OF 23 Ram Sticks-Corsair Vengeance CMZ8GX3M2A1600C9 4GB (4GBx23=92GB Total)
$129.99
Kingston 256GB (8x32GB) DDR4-3200 PC4-25600 260-Pin SO-DIMM Non-ECC lot of 10
$1500.00