Can't load Ubuntu 17.04 - linux

After updating my OS, i can't start it. It load and have no errors when it load. But when it load to ask me password, it has black screen, some times show me a mouse cursor and window with wifi connection. What's going on?
My laptop is Lenovo g710

Try to boot Ubuntu in Recovery Mode (the second boot option in GRUB)

Related

Hyper-V W10 (Host) Ubuntu 18.04 (Guest): Why does enhanced session mode not work?

I have installed Ubuntu 18.04 as a guest system on a Windows 10 host system using Hyper-V and I want to use the guest system in full-screen mode. To resize the screen as far as I have learned I need to run the guest system in enhanced session mode.
If I am connecting to the guest system it neither lets me choose the screen size nor activate the Enhanced Session Mode.
Enhanced Session Mode (User) and Enhanced Session Mode Policy (Server) are activated under the Hyper-V Settings.
I have also tried to deactivate the RemoteFX setting -> no changes
Guest services are activated -> no changes
As far as I have learned Ubuntu 18.04 LTS should already support the enhanced session mode.
It fails when the auto login is enabled on Ubuntu. I disabled the auto login and it worked. Also make sure you enter your user name lowercase even if it has caps.
As #Guenther Schmitz stated, this feature is part of Windows 10 Update 1803, in order to try it, you need at least build 17063 (as stated here).
If you "only" want to increase your guest screensize, you might want to try setting the videomode. Careful that you remove any RemoteFX 3D Hardware. This way you can achieve 1920x1080.
This functionality comes with Windows 10 Update 1803
I had the same problem yesterday with 19.04, tried all of the workarounds I could find in the internet and nothing helped. if I used 800x600 resolution everything worked "perfectly", when I tried full screen, it would kick me out... then I installed 18.04 LTS and everything just worked....
I have found this guide, which helped me to activate the Enhanced Session Mode: https://www.tenforums.com/virtualization/107147-guide-how-run-ubuntu-18-04-enhanced-mode-hyper-v.html
However, I am not able to connect to the VM using xorg because it always gives me the error "Video remoting was disconnected" and only the options to Reconnect or Exit.

Opening applications in xrdp launches them in physical machine

Installed xrdp with xfce in Ubuntu 14.
I am trying to take remote from Windows 10.First I was not able to see anything except dotted grey and black dot.
Then added "xfce4-session" to /etc/xrdp/startwm.sh file.
Now I am able to view my desktop but when I launch any application it is launched in the physical machine when it is not locked.

How to upgrade the NVIDIA Tegra TX1 with a windows machine?

As a beginner with Virtual Machines and Linux I have my trouble understanding how to properly upgrade Linux on the Tegra - Board. I found some good explanations but they all were too advanced for a beginner - a student - and not a professional in the field.
Therefore, I would like to know how to properly upgrade the Linux Version on the Tegra X1 Board with a Windows machine
Step1:
Make sure you have the following items:
The Tegra Board
Admin priviliges on the Windows machine (needed once)
Micro USB-B to USB Cable
HDMI Cable and Monitor
These are all the things needed before.
Step 2
Download Linux 14.04 - it is the only distribution compatible with the Tegra Board at the moment.
http://releases.ubuntu.com/14.04/ubuntu-14.04.4-desktop-amd64.iso
Step 3
Download and install Oracle Virtual Machine. You will need admin privilages for install.
http://download.virtualbox.org/virtualbox/5.1.8/VirtualBox-5.1.8-111374-Win.exe
Step 4
Set up an NVIDIA Developer Account
https://developer.nvidia.com/group/node/873376/subscribe/og_user_node?downloadable_file=874988
Step 5
Set up the virtual machine. To do so start the installed Oracle VM Virtual Box (see Step 3). On the upper left you find the button "new". After clicking on it a window will pop up. At the bottom you can change to "Expert-Mode".
In the field "Name" you can give it a fitting phrase like "Ubuntu for Tegra" etc.. The next field Typ should be obiously Linux, and the Version 64 bit.
Set the memory size to a good fitting size, depending on how much RAM you got on your machine. It works fine with 6 GB, anything smaller could lead to some lagging, but will still run.
Put the radio button in the middle so it will create a hard drive.
Go to the next step by hitting "Create"
Step 6
In this window two inputs are interesting. Firstly, it needs a path where to create the virtual environment. So choose a path to a disk that has enough space. Secondly, how many space you give to the environment - 50 gb will work fine.
Step 7
Launch it by selecting the newly created environemt and then hitting "Start". You will be asked to choose a medium to be booted. Here select the downloaded .iso file from step 2.
Step 8
You will be greeted with the Linux-Install environemnt. You can choose between "Try" and "Install". You must choose "Install".
Step 9
After you instaleld Linux you must restart the Virtual Machine. To do so, you can either do it by "normaly" shutting down Linux via the GUI or the command Line tool or from the VM-Software directly by right-clicking on the running virtual machine - close - power down.
Step 10
You may encounter the problem that you do not see the full screen of the Linux environment. To fix this you need to restart the virtual machine. On the virtual machine display at the top bar you can see the entry "devices". If you click on it a drop down menu will open, the last point is "guest additions", click on it and install them. After that reboot the virtual machine.
Step 11
On the virtual machine log in on your NVIDIA Account and download the latest Jetpack Version.
https://developer.nvidia.com/embedded/downloads?#?dn=jetpack-for-l4t-2-3
https://developer.nvidia.com/embedded/jetpack
Step 12
After downloading a file with the extension .run should be in your Downloads-Folder. This is the installation file needed, but it is not executable yet. To make it executable open a shell (right click on the upper left ubuntu symbol, search for terminal and open it).
Go to the Downloads folder with:
cd ~/Downloads
and make the run file executable:
sudo chmod u+x *.run
Step 12
Run the .run file with
sudo *./run
Step 12
In the installer choose the board and the software you want to be installed, also agree the software license agreements. After some downloading time the installer will open a terminal.
If the prompt asks you about Network Layout. If it does, choose eth0 if you have you board connected via ethernet cable, if it is connected via Wi-fi choose wlan0.
Step 13
You need to put the Tegra Board in recovery mode. Make sure that all your data is saved, since it will wipe everything clean.
Follow the instructions on the terminal to put the Tegra Board in recovery mode. If directions unclear follow this youtube video (which also includes some followign steps):
https://youtu.be/4JUWS9i_FCQ
Step 14
When you think the Tegra is in recovery mode check by doing the following: At the virtual machine, on the top bar go the "devices" and then to USB. Select the NVIDIA entry. If it is not there, the board is not in recovery mode. Make sure that this was really selected. (It is highlighted blue when selected)
Step 15
Back in the Linux virtual machine enter lsusb on a second terminal. If there is an entry with NVIDIA Corp the tegra board was successfully put into recovery mode. Press enter, now the flashing starts - this will take some time
Step 16
After flashing finishes, the jetson board will auomatically boot. Connect it to an HDMI Cable and Monitor. If a login is asked, the username and password are ubuntu.
Step 17
Connect to the Internet
Either connect it to the ethernet or a Wifi - depending on what you have chosen at step 12. You may need to disable Wifi to connect via ethernet cable.
Step 18
If you use static IPs you can skip this part since you already now the IP-Adress you gave to the tegra board. If not you have to run
ifconfig
in a terminal. It will show you your adapters and what IP-Adresses they have, note the one that you chose.
Step 19
The Post Installation in the virtual machine either has given up and was unable to determine the IP adress of the Jetson Developer Kit or has found it. If it has not found it give it manually the ip adress you found out by entering "2". After this a GUI is shown where you can enter the Ip-Adress and the username password combo, which is ubuntu.
Step 20
After hitting Next the installation will continue.

screen becomes weird when switching from ubuntu to windows on a dual boot system

I have a dual boot system with windows 7 and ubuntu. When I switch from winddows to ubuntu, the ubuntu OS starts up very smoothly. But when i switch to windows from ubuntu, the screen goes purple and i need to restart the system. Sometimes I need to restart it many times for windows to load properly. This also happens when I try to start windows first.
Please let me know the reason why this could be happening and solution if any.
Thanks in advance I
I was able to solve this problem by starting Windows through the boot CD and selecting the repair option. Windows got repaired and now is running fine.

can't boot GP Peak after update

I've updated from 1.4 to 1.4 (cause I wasn't able to connect to the Wi-fi, I must do it this way). It was official version from GP. Everything was correct, but after update I can't boot it, there is just screen with logo. I can't connect it to the adb (so adb shell dmesg is not posible).
I tried to remove data, recovery and reboot bootloader from fastboot, but nothing help. How could I load there again version?
First thing to try on these devices is restart with phone plugged in, while running on your computer:
adb wait-for-device reboot bootloader
As sometimes ADB sees the device for a little while. If that doesn't help:
First remove the battery of the phone and unplug it from your computer
Put the battery back in and hold POWER, VOLUME UP & VOLUME DOWN buttons (hold them all, otherwise you'll end up in recovery)
You'll end up in the bootloader
Plug in the device, and you can see it again in fastboot
When you're in the bootloader, go to the folder where you downloaded the 1.4 image and run the flash command.
A hanging loading screen is most of the times caused by not clearing userdata. For next time, backup data first via this script, flash, if it doesn't boot without clearing userdata, clear it. Then restore with the same script.

Resources