Results 1 to 3 of 3

Thread: Root can not open display

  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
  •  


HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS picture

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS

$199.00



Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On picture

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On

$450.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99



Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter picture

Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter

$225.00



HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS picture

HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS

$164.97



Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram  240gb SSD 2x GPU *READ* picture

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*

$369.99



Supermicro E200-8D Mini Server Xeon D-1528 6-Core 64GB ECC 1TB SSD 2x10GbE IPMI picture

Supermicro E200-8D Mini Server Xeon D-1528 6-Core 64GB ECC 1TB SSD 2x10GbE IPMI

$525.00



New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G picture

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G

$449.99



Supermicro 505-2   Server picture

Supermicro 505-2 Server

$280.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99