Results 1 to 3 of 3

Thread: Root can not open display

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    2

    Root can not open display

    I login as a normal user, then su to root, can not open any graphic program, like nedit, etc, always get:

    NEdit: Can't open display

    Please help.
    Thanks,

  2. #2
    Senior Member
    Join Date
    Oct 2003
    Location
    Sydney, Australia
    Posts
    157
    Firstly, make sure that the DISPLAY environment variable for root is set to something like :0.0

    Secondly, as normal user...
    Code:
    xhost localhost

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: Root can not open display

    1. Try using " sudo nedit " instead, sudo will pass the $DISPLAY variable for you

    2. If already su'd to root, try ' nedit -display :0 '.

    Quote Originally Posted by jackrabbit
    I login as a normal user, then su to root, can not open any graphic program, like nedit, etc, always get:

    NEdit: Can't open display

    Please help.
    Thanks,

Similar Threads

  1. Gtk-WARNING **: cannot open display: [for www-data user]
    By roger_girardin in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 07-08-2004, 10:07 PM
  2. Unable to open display properties
    By ZX in forum General Support
    Replies: 0
    Last Post: 03-15-2004, 08:34 AM
  3. Cannot open display
    By ferreter in forum General Support
    Replies: 15
    Last Post: 08-13-2003, 11:07 PM
  4. root-shell doesn´t open ??
    By fritschi in forum General Support
    Replies: 1
    Last Post: 08-06-2003, 02:30 PM
  5. Browsers open nothing when not logged in as root
    By Raj in forum General Support
    Replies: 1
    Last Post: 02-16-2003, 12:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Vintage DEC VT100 Series Terminal (Powers On) picture

Vintage DEC VT100 Series Terminal (Powers On)

$499.99



Vintage DEC Digital XMI-A1 5017293-01A1 LWPR BE3-0 VAX Circuit Board T2012 picture

Vintage DEC Digital XMI-A1 5017293-01A1 LWPR BE3-0 VAX Circuit Board T2012

$74.99



Vintage DEC Digital T1043 DWMBB/B VAXBI XMI Adapter 5018232-01 C1 VAX Board picture

Vintage DEC Digital T1043 DWMBB/B VAXBI XMI Adapter 5018232-01 C1 VAX Board

$119.99



Vintage DEC/Mostek memory systems MK 8015 AA-00 6805-08015 1100 REV C(B7) picture

Vintage DEC/Mostek memory systems MK 8015 AA-00 6805-08015 1100 REV C(B7)

$279.99



Vintage DEC LK201 Digital Equipment Corporation (DEC) LK201-AA Computer Keyboard picture

Vintage DEC LK201 Digital Equipment Corporation (DEC) LK201-AA Computer Keyboard

$149.99



Vintage DEC E2052-AA  AlphaServer I/O Board 9 Gold Ceramic ICs 4.3 LB Gold Scrap picture

Vintage DEC E2052-AA AlphaServer I/O Board 9 Gold Ceramic ICs 4.3 LB Gold Scrap

$749.99



VINTAGE DEC 54-20470-02 MULTI-PLANE SPX COLOR GRAPHICS CARD FOR VXT2000 TERMINAL picture

VINTAGE DEC 54-20470-02 MULTI-PLANE SPX COLOR GRAPHICS CARD FOR VXT2000 TERMINAL

$169.00



Vintage DEC Digital CompacTape II Tape Cartridge TK-52 TK-70 picture

Vintage DEC Digital CompacTape II Tape Cartridge TK-52 TK-70

$29.99



Vintage DEC Digital Starion 200 Desktop PC Powers On Boots To BIOS NO HDD - DW picture

Vintage DEC Digital Starion 200 Desktop PC Powers On Boots To BIOS NO HDD - DW

$269.99



Vintage DEC Digital VSXXX-AA.B03 Hawley 3-Button Mouse 1986 Tested Working picture

Vintage DEC Digital VSXXX-AA.B03 Hawley 3-Button Mouse 1986 Tested Working

$111.00