Need GUI to run qemu on Ubuntu server - linux

Need GUI to run qemu on Ubuntu server: I need to run QEMU for ARM on a Ubuntu srever. THis QEmu is not supporting a text mode, so I need to install GUI software on Ubuntu server 13.04. Please suggest any that I can do a sudo apt-get install and get started quickly.

Are you connecting to the server over ssh? You could just use X forwarding to your local machine.
See the very good first answer here.
Then you can just start the software and interact with the GUI on a computer that already has the desktop environment installed.

You can do the following
sudo apt-get install ubuntu-desktop
For more info, look to this link

Related

run visual studio code in linux

I just use 'code' in ubuntu.
i download code_1.74.2-1671533413_amd64.deb in site
sudo apt install ./code_1.74.2-1671533413_amd64.deb
then update package
sudo apt-get install apt-transport-https
sudo apt-get update
apt-get install code # or code-insiders
then i have problem like this.
/mnt/c/Users/jhyun/Desktop$ code
To use Visual Studio Code with the Windows Subsystem for Linux, please install Visual Studio Code in Windows and uninstall the Linux version in WSL. You can then use the code command in a WSL terminal just as you would in a normal command prompt.
Do you want to continue anyway? [y/N]
how can i solve this?
You have two options when running VSCode under WSL:
Run the Linux version, as you are doing currently.
The Linux version should run fine, but is limited to compiling, running, and debugging Linux applications. It will not be able to use the Windows versions of any of your development tools. This may or may not be a problem for you. If you only plan to use Linux toolchains from WSL, then the Linux version of VSCode will handle those just fine.
Run the Windows version and install the WSL Extension or the Remote Development Extension Pack (which includes the WSL Extension).
This has the advantage of being able to use Linux tools (through a "shim server" that is automatically installed in WSL when you launch code) or native Windows tools.
As a native Windows application, it should also be a bit better integrated with the Windows desktop.
There are just very few reasons (and I can't think of any of them at the moment) why you would want to use the Linux version in this case.

How to do this linux command in windows?

Basically I'm trying to install libpq-dev but I've only found ways to do it in Linux. I've tried to install Cygwin but it takes quite a long time here at work, I currently don't have permanent internet connection at home, so I can't download at home.
Anyways, here is the Linux command that I'm trying to do in Windows:
sudo apt-get install -y libpq-dev
Please pardon my noobness in using the command-prompt.
There is a manual for this.
To install from package (recommended):
Microsoft Windows
Jason Erickson maintains a packaged Windows port of Psycopg with installation executable. Download. Double click. Done.

Package manager on the Docker Machine default VM?

I'm developing on OSX using Docker Machine. I used the quickstart terminal to let it create the default VM which is extremely minimal:
In an OS X installation, the docker daemon is running inside a Linux VM called default. The default is a lightweight Linux VM made specifically to run the Docker daemon on Mac OS X. The VM runs completely from RAM, is a small ~24MB download, and boots in approximately 5s.
I want to install dnsmasq, but none of these instructions could work. I expect to come across this kind of problem again, so beyond installing dnsmasq I want to have some tool such as apt-get to be able to easily install things. With so few commands available I don't know how to get started. I have curl, wget, sh, git, and other very basic commands. I don't have any of the following:
apt
apt-get
deb
pkg
pkg_add
yum
make
gcc
g++
python
bash
What can I do? Should I just download a more complete VM such as Ubuntu? My laptop is not very fast so a very lightweight VM was very appealing to me, but this is starting to seem like a bit much.
The docker-machine VM is based on TinyCore. To install extra packages use tce or tce-load, the apt-get counterpart of TinyCore.
A word of warning, you shouldn't treat the docker-machine VM as a regular VM where you install tons of packages and customize. It's only meant to run containers. It's best to keep it that way.

Ubuntu Server Install GUI and Remote Access

How can I install a GUI for a remote server and then access it over RDP (or similar)
I've done a sudo apt-get install ubuntu-desktop and sudo apt-get install xrdp, but when I go to access it and login, I just get a blank screen. I presume the windowing system hasn't started?
Thanks
Did the desktop fail to start up because there is no display attached?
I think the easiest approach is to use LXDE (Lightweight X11 Desktop Environment) with xrdp.
Refer This Link

How do I remove Xen from Ubuntu?

I was trying to install VM software on my Ubuntu system. Since I'm not very familiar with linux I followed a guide on the official Ubuntu site. Now I am running Ubuntu in a Xen environment, but I don't want to use Xen to make my virtual machines.
I installed Virtualbox in order to create my VM's, but Virtualbox doesn't run in a Xen environment.
I have tried googling for a way to remove Xen from my system, but I am unable to do it. This is what I've tried so far:
Editing /boot/grub/grub.cfg set default="Xen 4.1-amd64" to set default=1 which was recommended by a tutorial. It made my laptop start up in recovery mode and I had to generate a new grub config file which put the default back to xen.
Editing /boot/grub/menu.lst but I don't have any files called that on my system
user#BEL-8WF4XW1:~$ sudo find / -name menu.lst
user#BEL-8WF4XW1:~$
Looking through software center, but I couldn't find anything about Xen
The command make uninstall but I didn't use the source code.
I also tried to install yum and do sudo yum install kernel followed by sudo yum remove xen kernel-xen libvirt but that also didn't work.
I'm quite lost to be honest. Can anyone help me to get my Ubuntu back to how it was before I tried to follow that guide?
I'm no expert but I've executed
sudo apt-get purge xen*
and it worked for me.
You can just try
sudo apt-get remove xen-hypervisor-amd64
or
dpkg -i xen-hypervisor-amd64
to see which xen files have been installed in your machine

Resources