usr33t;366434 Wrote: > How do I edit the /etc/apt/sources.list file so I can add Webmin and > Squeezecenter using Ubuntu Server? > > I tried sudo gedit /etc/... but this didn't work (gedit application not > installed?). I then guessed what to do next and tried apt-get install > gedit to try and install gedit. This certainly appeared to install > something but when i tried sudo gedit /etc/... I got an error message > "(gedit:8229): Gtk-WARNING **: cannot open display:"
It looks like this has been solved, but FYI, gedit is a GUI editor, you need a GUI to start it up. If you're doing this over SSH, you don't have a GUI. As carp suggested, try nano, which is a command-line editor. Oh and in regards to NoMachine, no offense to Balthazar_B, but I found it resource intensive on both the Linux machine and the Windows client. VNC, by contrast, is lightning fast - particularly TightVNC Viewer on the Windows machine. VNC is easy to set up on the Ubuntu machine provided it's Ubuntu Desktop with a GUI. Now, you do need a monitor connected to the Ubuntu machine to set this up, but once it's up, you can put the monitor away. On the Ubuntu machine, simply go to System - Control Center - Remote Desktop - Allow others to view your desktop - Allow others to control your desktop - Require the user to enter this password. Provided the Ubuntu machine stays up, you can always access it using TightVNC. If it goes down and is restarted, you need to start an X session in order to get VNC back up. I'm not sure how to do this but if you boot the Ubuntu machine with a monitor attached, X always starts. -- Mark Lanctot Current: SB2, Transporter, Boom (PQP3 - late beta) Stored: Boom (PQP1 - early beta), SBC (beta - no battery) Sold: SB3, Duet ------------------------------------------------------------------------ Mark Lanctot's Profile: http://forums.slimdevices.com/member.php?userid=2071 View this thread: http://forums.slimdevices.com/showthread.php?t=55910 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
