Cannot open Gedit display on Ubuntu Server 12.04

18,052

I used nano instead of gedit.

sudo nano /etc/samba/smb.conf

Woo hoo, my Ubuntu Server is now working!! :)

Share:
18,052

Related videos on Youtube

JJ Avila
Author by

JJ Avila

Updated on September 18, 2022

Comments

  • JJ Avila
    JJ Avila over 1 year

    I just installed Ubuntu Server 12.04 32 bit. I need to perform the following command in a terminal window:

    sudo gedit /etc/samba/smb.conf
    

    First the gedit command did not work; therefore, I did:

    sudo apt-get install gedit
    

    Then I typed sudo gedit /etc/samba.smb.conf and now I am getting: Cannot open display

    Can anyone help?

    • Lucio
      Lucio over 11 years
      Have you installed the GUI? (can you see windows and desktop or only a terminal)