# Black screen on Tensorflow

**URL:** <https://deeptalk.lambda.ai/t/black-screen-on-tensorflow/3556>\
**Category:** Technical Help\
**Created:** [March 2, 2023, 6:53am UTC](https://deeptalk.lambda.ai/t/black-screen-on-tensorflow/3556 "2023-03-02T06:53:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ife497](https://avatars.discourse-cdn.com/v4/letter/i/46a35a/32.png) [@ife497](https://deeptalk.lambda.ai/u/ife497)\
**Post date:** [March 2, 2023, 6:53am UTC](https://deeptalk.lambda.ai/t/black-screen-on-tensorflow/3556/1 "2023-03-02T06:53:31Z")

</div>

After having problems on connecing to GPUs in Julia, I decided to give a trial in updating Ubuntu and Lambda stack, folloiwng the instructions given here:

> **[How do I upgrade Ubuntu and Lambda Stack?](https://docs.lambdalabs.com/linux/upgrade-ubuntu-and-lambda-stack/)**
>
> Follow these instructions to upgrade Ubuntu and Lambda Stack to the latest versions.
> Uninstall (purge) the existing Lambda Stack by running:
> sudo rm -f /etc/apt/sources.list.d/{graphics,nvidia,cuda}\* && \\ dpkg -l | \\ awk...

Unfortunately, after the command  
sudo do-release-upgrade,  
The computer restarted and a black screen with a small white “-” on the left top of the screen appear, and apparently it does not respond to any command.

I would like to ask advices on how to solve this problem.

---

<div class="post-metadata">

**Author:** ![markd](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@markd](https://deeptalk.lambda.ai/u/markd)\
**Post date:** [March 2, 2023, 7:13am UTC](https://deeptalk.lambda.ai/t/black-screen-on-tensorflow/3556/2 "2023-03-02T07:13:16Z")

</div>

This likely means that the GUI terminal session is in use.

1. Hit one of the combinations ‘Control-Alt-F2’ to ‘Control-Alt-F5’
  - This will go to a command line session

2. Login
3. Clean up and reconfirm install
  - One reason is some commands create a xorg.conf  
$ sudo rm /etc/X11/xorg.conf
  - Check if apt is up to date or if there is a issue.  
$ sudo apt update  
$ sudo apt upgrade  
If you get errors like ‘–fix-missing’ and/or ‘–configure’  
$ sudo apt install --fix-missing  
or  
$ sudo dpkg --configure

And you may need to clean up:

> ```
> /etc/apt/sources.list
> /etc/apt/sources.list.d/*
> 
> ```
