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
  •  


10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module picture

10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module

$85.00



New Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 300m LC MMF Module picture

New Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 300m LC MMF Module

$69.99



NEW Open Box Dell PowerConnect M8024-SFP+ Quad Port 10GbE SFP Module 0N805D (BH) picture

NEW Open Box Dell PowerConnect M8024-SFP+ Quad Port 10GbE SFP Module 0N805D (BH)

$29.99



HP Aruba JL083A HP 3-port 10GbE SFP+ 3910M/2910M Expansion Module picture

HP Aruba JL083A HP 3-port 10GbE SFP+ 3910M/2910M Expansion Module

$150.00



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03 picture

GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03

$6.80



Lot of 10 - HP 10Gb SR SFP+ Transceiver 455883-B21 455885-001 456096-001 850nm picture

Lot of 10 - HP 10Gb SR SFP+ Transceiver 455883-B21 455885-001 456096-001 850nm

$23.99



(Lot of 10) Cisco SFP-10G-SR SFP+ Transceiver Module 10-2415-03 picture

(Lot of 10) Cisco SFP-10G-SR SFP+ Transceiver Module 10-2415-03

$40.00



New Sealed Cisco SFP-10G-LR 10GBASE-LR SFP Plug-in GBIC Transceiver module A picture

New Sealed Cisco SFP-10G-LR 10GBASE-LR SFP Plug-in GBIC Transceiver module A

$15.80



New Cisco w/ Green Hologram SFP-10G-LR-S 10G SFP+ LR 1310nm 10km SMF LC Module picture

New Cisco w/ Green Hologram SFP-10G-LR-S 10G SFP+ LR 1310nm 10km SMF LC Module

$34.99