Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Black screen...X does not starts until i move the mouse

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
User avatar
DRAGSTER_TUNER
Posts: 25
Joined: 2010-03-28 13:30
Location: Brazil

Black screen...X does not starts until i move the mouse

#1 Post by DRAGSTER_TUNER »

I made an

apt-get upgrade
apt-get dist-upgrade

and now when the OS starts, stays all in black screen until i move the mouse....when i move the mouse, the screen turns on...but only if i move the mouse...pressing any key in the keyboard have no effect...

Using XFCE...

some clue?

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Black screen...X does not starts until i move the mouse

#2 Post by Dai_trying »

install haveged and your problem will go away, if you check your syslog (/var/log/syslog) it will likely have a reference to random: crng init done around the time of the screen actually appearing followed by another reference of random regarding warnings, they seem to be nothing to be alarmed about but are due to missing "entropy" which can be provided by the haveged package.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Black screen...X does not starts until i move the mouse

#3 Post by Head_on_a_Stick »

DRAGSTER_TUNER wrote:apt-get dist-upgrade
^ Why did you use this command?

Were there packages left un-upgraded after the previous command?

Can we please see the output of

Code: Select all

apt policy
Thanks!
deadbang

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Black screen...X does not starts until i move the mouse

#4 Post by Dai_trying »

I'm assuming the OP is using the same system as per previous posts so the system is likely a Buster system with some stable packages (If I remember correctly), also I have only noticed OP's problem with Buster as Stretch does not seem to be affected the same way.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Black screen...X does not starts until i move the mouse

#5 Post by bw123 »

I don't know what would result from dist-upgrade with deb-multimedia.org repo enabled in sources.list, did you fix this first?
http://forums.debian.net/viewtopic.php? ... 50#p683831
I never have used dist-upgrade, but I've read that is the thing to do on testing, not sure about frankendebian.
resigned by AI ChatGPT

User avatar
DRAGSTER_TUNER
Posts: 25
Joined: 2010-03-28 13:30
Location: Brazil

Re: Black screen...X does not starts until i move the mouse

#6 Post by DRAGSTER_TUNER »

Dai_trying wrote:install
bw123 wrote:haveged
haveged and your problem will go away, if you check your syslog (/var/log/syslog) it will likely have a reference to random: crng init done around the time of the screen actually appearing followed by another reference of random regarding warnings, they seem to be nothing to be alarmed about but are due to missing "entropy" which can be provided by the haveged package.
Thanx a lot, just install haveged and its all ok now!
bw123 wrote:I don't know what would result from dist-upgrade with deb-multimedia.org repo enabled in sources.list, did you fix this first?
http://forums.debian.net/viewtopic.php? ... 50#p683831
I never have used dist-upgrade, but I've read that is the thing to do on testing, not sure about frankendebian.
You will not believe if i says i install ALL THE SYSTEM AGAIN, and....vlc stills hangs...


made and apt-get upgrade, apt-get dist-upgrade, install vlc from snap and....

stills hangs!

User avatar
DRAGSTER_TUNER
Posts: 25
Joined: 2010-03-28 13:30
Location: Brazil

Re: Black screen...X does not starts until i move the mouse

#7 Post by DRAGSTER_TUNER »

Head_on_a_Stick wrote:
DRAGSTER_TUNER wrote:apt-get dist-upgrade
^ Why did you use this command?

Were there packages left un-upgraded after the previous command?

Yes, there was some packages the system upgraded just with the second comand...weird, but its aready happens before!

Can we please see the output of

Code: Select all

apt policy
Thanks!
root@supercharger:/home/supercharger# apt policy
Arquivos de pacote:
100 /var/lib/dpkg/status
release a=now
500 http://repo.vivaldi.com/stable/deb stable/main amd64 Packages
release o=Vivaldi Technologies,a=stable,l=Official Vivaldi package repository,c=main,b=amd64
origin repo.vivaldi.com
500 http://repo.vivaldi.com/archive/deb stable/main amd64 Packages
release o=Vivaldi Technologies,a=stable,l=Official Vivaldi package repository,c=main,b=amd64
origin repo.vivaldi.com
500 http://debian.c3sl.ufpr.br/debian-multimedia testing/main amd64 Packages
release v=0.0,o=Unofficial Multimedia Packages,a=testing,n=buster,l=Unofficial Multimedia Packages,c=main,b=amd64
origin debian.c3sl.ufpr.br
500 http://ftp.us.debian.org/debian testing/non-free amd64 Packages
release o=Debian,a=testing,n=buster,l=Debian,c=non-free,b=amd64
origin ftp.us.debian.org
500 http://ftp.us.debian.org/debian testing/contrib amd64 Packages
release o=Debian,a=testing,n=buster,l=Debian,c=contrib,b=amd64
origin ftp.us.debian.org
500 http://ftp.us.debian.org/debian testing/main amd64 Packages
release o=Debian,a=testing,n=buster,l=Debian,c=main,b=amd64
origin ftp.us.debian.org
Pacotes alfinetados ("pinned"):
root@supercharger:/home/supercharger#

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Black screen...X does not starts until i move the mouse

#8 Post by debiman »

^ this is very similar to what we criticized in your last thread!!!!

also, why in $DEITY's name did you install vlc with snap? why not just install vlc from the repos???

User avatar
DRAGSTER_TUNER
Posts: 25
Joined: 2010-03-28 13:30
Location: Brazil

Re: Black screen...X does not starts until i move the mouse

#9 Post by DRAGSTER_TUNER »

debiman wrote:^ this is very similar to what we criticized in your last thread!!!!

also, why in $DEITY's name did you install vlc with snap? why not just install vlc from the repos???
well...the mistery was solved...theres nothing to do...i have to wait until a decent solution :x

https://forum.videolan.org/viewtopic.php?t=70719

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Black screen...X does not starts until i move the mouse

#10 Post by GarryRicketson »

From the above link,
A significant number of VLC users on Debian and Ubuntu appear to be hit by bugs in the unofficial so-called Debian Multimedia repository (debian-multimedia.org).

This unofficial package repository is well known to introduce incompatibilities in the FFMPEG libraries. This causes VLC media player and possibly some other multimedia software to stop working, as the FFMPEG binary interface is silently broken. The members of the VideoLAN project as well as the official Debian Multimedia maintainers[1] strongly advise that you do not use the Debian Multimedia repository under any circumstances. Before you report problems with VLC on Debian or Ubuntu, make sure you have not installed any package from that repository.
=============
well...the mistery was solved
No mystery at all, that is what everyone here was trying to tell the OP, and not just the "multimedia", the OP also has Debian testing, mixed with Debian Stable, people should read this: https://wiki.debian.org/DontBreakDebian
And take it more seriously:
Don't make a FrankenDebian

Debian Stable should not be combined with other releases. If you're trying to install software that isn't available in the current Debian Stable release, it's not a good idea to add repositories for other Debian releases. The problems might not happen right away, but the next time you install updates.

The reason things can break is because the software packaged for one Debian release is built to be compatible with the rest of the software for that release. For example, installing packages from buster on a stretch system could also install newer versions of core libraries including libc6. This results in a system that is not testing or stable but a broken mix of the two.

Repositories that can create a FrankenDebian if used with Debian Stable:

Debian testing release (currently buster)
Debian unstable release (also known as sid)
Ubuntu, Mint or other derivative repositories are not compatible with Debian!
Ubuntu PPAs
And why do we have 2 topics, http://forums.debian.net/viewtopic.php? ... 50#p684150 on the same problem, ? it sure makes things confusing. After all said and done, it is another: I mixed and matched various repos, and now my FrankenDebian does not work: Repo mix-and-match hit parade

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Black screen...X does not starts until i move the mouse

#11 Post by Dai_trying »

GarryRicketson wrote:And why do we have 2 topics, http://forums.debian.net/viewtopic.php? ... 50#p684150 on the same problem, ? it sure makes things confusing. After all said and done, it is another: I mixed and matched various repos, and now my FrankenDebian does not work: Repo mix-and-match hit parade
I am pretty sure the OP has posted a different problem here to the other post you linked to, and the issue and solution (to this post) had already been posted before the OP stated they still have the VLC issue as a side note, so your ramblings about VLC issue would seem (to me at least) to be somewhat off-topic and trollish in content.
I know this is your usual type of post and does indeed carry some useful information but I fail to see how most of it pertains to this thread.
debiman wrote:also, why in $DEITY's name did you install vlc with snap? why not just install vlc from the repos???
Isn't this one of the major advantages of Linux over other OS's, we have a choice... I personally use the Debian repositories for 95% of all my software, but sometimes I try other things too (not on my production machine though).

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Black screen...X does not starts until i move the mouse

#12 Post by bw123 »

Dai_trying wrote:[... I fail to see how most of it pertains to this thread.
...
It pertains because using third party repos is always pertinent when asking for support?
resigned by AI ChatGPT

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Black screen...X does not starts until i move the mouse

#13 Post by GarryRicketson »

I admit , I guess they are 2 different problems, but the cause of the problems is the same:
from the other thread: http://forums.debian.net/viewtopic.php? ... 50#p684150
Postby DRAGSTER_TUNER » 2018-11-03 06:26

thanks for everyone whos help me out...

the issue actually was the debian multimedia repository...it was the guilty......

https://forum.videolan.org/viewtopic.php?t=70719

Now i have to wait/find a solution from them
And then quoting from this thread:
DRAGSTER_TUNER wrote:
debiman wrote:^ this is very similar to what we criticized in your last thread!!!!

also, why in $DEITY's name did you install vlc with snap? why not just install vlc from the repos???
well...the mistery was solved...theres nothing to do...i have to wait until a decent solution :x

https://forum.videolan.org/viewtopic.php?t=70719
The problems associated with mixing Debian versions and adding repos from random websites vary, but the cause of them is still the same.

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Black screen...X does not starts until i move the mouse

#14 Post by Dai_trying »

GarryRicketson wrote:I admit , I guess they are 2 different problems, but the cause of the problems is the same:
If the cause of the issue of this post is repo mixing or using deb multimedia repo how come I have had this same issue on a "Pure Debian Buster" installation???

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Black screen...X does not starts until i move the mouse

#15 Post by Head_on_a_Stick »

The cause of the problem in the OP is kernel-related, the haveged package is a work-around for an upstream issue, IIRC.

That the OP was running a FrankenDebian is a separate problem but also connected because the OP would not have experienced this problem with pure Debian stable.
deadbang

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Black screen...X does not starts until i move the mouse

#16 Post by Dai_trying »

Head_on_a_Stick wrote:The cause of the problem in the OP is kernel-related, the haveged package is a work-around for an upstream issue, IIRC.

That the OP was running a FrankenDebian is a separate problem but also connected because the OP would not have experienced this problem with pure Debian stable.
Are you saying this problem will not arise if using the backported kernel? or would that be considered not "pure debian stable"?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Black screen...X does not starts until i move the mouse

#17 Post by Head_on_a_Stick »

Dai_trying wrote:Are you saying this problem will not arise if using the backported kernel?
I don't know when the problem started but I think it was a while ago so I would expect that the backported kernel would also be affected, but I'm not sure.
Dai_trying wrote:would that be considered not "pure debian stable"?
Well, backports are always a risk, I would never advise using the backported kernel unless there was a specific reason to do so, such as hardware support.
deadbang

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Black screen...X does not starts until i move the mouse

#18 Post by bw123 »

The OP was using testing (+dmo) before the problem started, see the first post. I added a link that showed this, with sources.list. The OP said problem started after an apt command. The 3rd party repo use was not mentioned in the problem, nor the testing repo, and arguing about it is pretty silly. The OP is doing some weird things, now people are spending time arguing instead of solving problems.

FWIW I have not seen the entropy problem on stretch, even when using the backported kernels. Stretch does still have a lot of issues that linger from way on back, and so I hope the upcoming freeze/release cycle for buster does not distract people from solving these very old problems on stable. Buster should be the absolute best debian ever, close to a bullseye. No need to rush things. Forwarding old bugs on stretch to buster would be a grave mistake IMO, and would hurt debian's future development very seriously.

Sometimes I feel that nobody in this forum actually uses debian stable. The way you people answer threads makes me wonder...
resigned by AI ChatGPT

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

Re: Black screen...X does not starts until i move the mouse

#19 Post by llivv »

testing - 4.18-0.2-amd64
I got a new entorpy message during boot

Code: Select all

 21.911773] urandom_read: 1 callbacks suppressed
and found a possible explaination that makes sence to me.
https://lwn.net/Articles/605828/

found by way of
https://github.com/systemd/systemd/issues/4167

from
https://bugzilla.redhat.com/show_bug.cgi?id=1493337

and I've heard from a debian kernel dev - Kees on planet that random will have a new kernel option in the 4.19 relase.

Code: Select all

+	random.trust_cpu={on,off}
https://lkml.org/lkml/2018/8/27/759

looks like there's lots of stuff in the pipe
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

Post Reply