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
  •  


Custom  Server 15

Custom Server 15" Depth X11SSH-F E3-1270 V6 3.8Ghz 4 Core - 128GB NVME 32GB RAM

$399.00



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



IBM Power8 S822L 20C 3.42GHz 512Gb 1.2Tb 40G Elastic Storage Server 5148-22L picture

IBM Power8 S822L 20C 3.42GHz 512Gb 1.2Tb 40G Elastic Storage Server 5148-22L

$499.95



1U 10 SFF Bay Supermicro Server X10DRW-iT 2x Xeon E5-2690 V4 128GB DDR4 RAM picture

1U 10 SFF Bay Supermicro Server X10DRW-iT 2x Xeon E5-2690 V4 128GB DDR4 RAM

$399.00



PFSENSE 15

PFSENSE 15" Depth Server Router Firewall Supermicro X11SSH-F E3-1240 V5 32GB RAM

$382.00



Globalscale Technologies DreamPlug AppNeta M22 Linux Server Dual GB Ethernet picture

Globalscale Technologies DreamPlug AppNeta M22 Linux Server Dual GB Ethernet

$24.99



Globalscale Technologies DreamPlug AppNeta M22 Linux Server Dual GB Ethernet picture

Globalscale Technologies DreamPlug AppNeta M22 Linux Server Dual GB Ethernet

$21.99



Linux 23 in 1 Bootable Windows Alternative Collection Live Distro Mint Ubuntu OS picture

Linux 23 in 1 Bootable Windows Alternative Collection Live Distro Mint Ubuntu OS

$18.95



POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives picture

POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives

$179.99



Australia Linux Server- 32 GB RAM + 500 HDD + 6 Core processor picture

Australia Linux Server- 32 GB RAM + 500 HDD + 6 Core processor

$66.50