You are not logged in.
It might be worth using free and vmstat to see how much your swap file is being used. Eg leave vmstat 10 running in a terminal window while you try to start the slow version of firefox and see what it shows for si and so (swap-in and swap-out). If they sit at zero then firefox must have something else wrong with it.
I would suspect something in /etc/profile or ~/.bash_profile, ~/.bash_login or ~/.profile might be causing the wait. I'd start by putting echo "In .bash_profile" at the start of ~/.bash_profile (or ~/.bash_login or ~/.profile, whichever you have) and see if that comes out before or after the pause. If it's after the pause (or you don't have any of ~/.bash_profile, ~/.bash_login or ~/.profile) then I would make a similar temporary change to /etc/profile to see if that's causing the pause. Then trace through the relevant script to find out what's causing the pause. Adding set -x to the script near the start could be helpful.
Keep notes of what you change so you can change it back when you have stopped investigating.
@entropyagent - he is obviously trying to log onto the system that is running now via ssh. As the following output shows he managed to connect OK:
debug1: Connecting to devuan [127.0.1.1] port 22.
debug1: Connection established.But I can't tell why it won't accept his password. The next place to look is in syslog, /var/log/messages should contain messages from sshd which might be revealing.
@devur - are there any special characters in your password on devuan that could get corrupted by different keyboard mappings? That's the only thing I can think of that could go wrong (I assume you are typing the *same* password as you use to log on to devuan)?
Setting up passwordless access should be possible. ls -al ~/.ssh/ should get something like:
$ ls -al ~/.ssh/
total 28
drwx------ 2 chris chris 4096 Jun 19 20:22 .
drwxr-x--- 30 chris chris 4096 Jul 16 06:13 ..
-rw-rw-r-- 1 chris chris 1959 Jun 19 20:22 authorized_keys
-rw-rw-r-- 1 chris chris 43 Jun 5 21:12 config
-rw------- 1 chris chris 2602 Oct 30 2021 id_rsa
-rw-r--r-- 1 chris chris 565 Oct 30 2021 id_rsa.pub
-rw-r--r-- 1 chris chris 4092 Jun 5 19:52 known_hostsIf one of the lines in authorized_keys is a copy of id_rsa.pub then you should be able to log on without needing a password. Although ssh is touchy about permissions, debug output should tell you if they are wrong.
the login offer me to login to my regular user account and dos nor accept server login
Try ssh -v devuan which should provide a lot of messages about the logon process. And look in /etc/ssh/sshd_config and /etc/ssh/sshd_config.d/ (grep -v '^#' /etc/ssh/sshd_config to exclude comments should make it easier to see the relevant entries).
Post output from the commands here if you are still stuck.
Although I have had to resort to:
ps -ef | grep sshd
(assume that shows sshd is /usr/sbin/sshd.)
strings /usr/sbin/sshd | grep -i config
Just to be sure I was looking at the right config file. But that was working as a UNIX system admin when we had a wide range of OSes to look after.
I'd try running a 'live' version of chimaera, & if it boots OK, install it.
It would probably boot up, but would not have CUDA installed. And installing CUDA needs a reboot, whihc loses any updates done to a live version. I'd have to try installing chimaera, install CUDA and see if it works with my GPU. Then reinstall ascii from backups if CUDA doesn't work on chimaera. Which is more work than I want to go to for what is probably a wild goose chase.
I now seem to be back at "Can't upgrade from ascii because Nvidia have dropped support for running CUDA on my GPU". So I'll probably keep this system on ascii until the GPU dies. But at least I'm not short of disk space any more since the new disk is 1Tb and the old disk was 332Gb.
I found that if you try to run apt ... once you have started synaptic you get an error message about not being able to get a lock. That would probably cut both ways so trying to start synaptic while an apt job or similar is running would probably fail. And if the lock didn't get cleared when someting ended you might well get this effect.
But I can't remember details and I'm doing something to recover lost data from a faulty disk that I dare not risk interrupting so I can't experiment now. Try apt update and see if it works (that updates the system, but it should be safe). If that fails it might give out an informative message.
df -i show you the number of inodes in a filesystem. df --total show how many 1k blocks of disk space there are (in both cases you get total, used and available). See man df for details.
It's possible to run out of inodes but not space. This makes it impossible to add any new files to the filesystem. Which can be very confusing if you don't realise what's happened (I fell into this trap, though the disk was faulty and bought a new disk before realising I only needed to tidy up junk files).
Also you don't usually need to run df as root, it should work just as well as a non-root account.
The hard disk on my Devuan system has failed, so I've had to replace it. I've recovered most of the contents of /home, but the OS has gone. So I've got to re-install Devuan on the new (and larger) disk.
I've got two DVDs from Linux Format with Devuan on them, an old one with ascii and a newer one with chimera. But for some reason the installer on the newer DVD won't work, it's probably not compatible with the rather old motherboard etc. So I've had to install ascii to get the system to boot up at all.
When I tried to update it I got errors because http://pkgmaster.devuan.org/merged doesn't contain ascii any more. I found the readme pointing me to http://archive.devuan.org/merged which gets a little further.
But that hasn't got ascii-updates:
root@rigel:~# apt update
Get:1 http://archive.devuan.org/merged ascii InRelease [29.4 kB]
Ign:2 http://archive.devuan.org/merged ascii-updates InRelease
Get:3 http://archive.devuan.org/merged ascii-security InRelease [29.8 kB]
Err:4 http://archive.devuan.org/merged ascii-updates Release
404 Not Found [IP: 88.198.100.113 80]
Get:5 http://archive.devuan.org/merged ascii/main amd64 Packages [7,193 kB]
Get:6 http://archive.devuan.org/merged ascii/main Translation-en [5,652 kB]
Get:7 http://archive.devuan.org/merged ascii/contrib amd64 Packages [50.8 kB]
Get:8 http://archive.devuan.org/merged ascii/contrib Translation-en [45.9 kB]
Get:9 http://archive.devuan.org/merged ascii/non-free amd64 Packages [78.8 kB]
Get:10 http://archive.devuan.org/merged ascii/non-free Translation-en [79.3 kB]
Get:11 http://archive.devuan.org/merged ascii-security/main amd64 Packages [741 kB]
Get:12 http://archive.devuan.org/merged ascii-security/main Translation-en [382 kB]
Get:13 http://archive.devuan.org/merged ascii-security/contrib amd64 Packages [1,776 B]
Get:14 http://archive.devuan.org/merged ascii-security/contrib Translation-en [1,759 B]
Get:15 http://archive.devuan.org/merged ascii-security/non-free amd64 Packages [14.1 kB]
Get:16 http://archive.devuan.org/merged ascii-security/non-free Translation-en [21.2 kB]
Reading package lists... Done
E: The repository 'http://archive.devuan.org/merged ascii-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.Is it worth trying to do a series of updates from ascii or should I try to do complete reinstall of a later release? If it's worth updating ascii should I just comment out ascii-updates in /etc/apt/sources.list ?
The program that re-creates it probably deletes it before re-writing the latest contents into it. If you own .local/share/ then a program, running as you can delete files from it, even if you don't own them.
You might be able to stop this by making .local/share/ owned by root. But this would break anything else trying to create a file in .local/share/
golinux wrote:@chris2be8 . . . Thanks for the great description. Found it . . . I think . . .
Which one is it? Just curious
The one I'm referring to was in issue 269, so it should be number 109 (number 099 was in issue 259). But that site won't show it.
I have a nasty suspicion you can't see the cartoons in the last year (you probably need a subscription). Sorry.
I've not used doas (I learnt sudo before doas was available), but you will need to think hard about what you want to do. If you let people run an arbitrary command as root they could just run bash as root to get the same effect as doas -s.
With sudo it's possible to let people run a list of commands as root, but not a shell, as long as none of the commands you allow can spawn a shell. But it's easy to let a way to a root shell slip through.
Forcing people to jump through a few hoops to get to a root shell *might* have some value, but it's more likely to give you a false sense of security.
I get the paper magazine, so I don't know if it's available online or where it would be. Sorry.
It's the Elvie cartoon if you want a search term.
Google's name comes from nonsensical babbling from a mathematician's child
You should look at the cartoon in the April 2023 issue of Linux Magazine (Linux Pro Magazine in North America). It has an alternative meaning for the name.
Compare what groups the users are in on the faulty system and both the working systems. And how sudo (or doas) is configured on them.
Assuming the system where the mate components are missing is the one that had the HDD crash:
Check the config files in your home dir. And compare them with the systems that are OK. That sounds the most likely cause if the OS is identical.
Thanks, that gives us something to go on.
There are a *lot* of models of laptop you might have and a lot of models of TV you might be trying to connect to. So telling us what you have makes it a lot easier to offer useful advice.
Let us know if you get it working or find it won't work. That would help someone else in a similar situation.
chris2be8 wrote:You would probably have got a better response if you had started by saying what make and model of laptop you have and what make and model of TV you would like to connect it to. And putting the above link in your first post would have been more helpful (or just saying what make and model it is).
As it is no one could offer any specific help since they could only guess what you were trying to connect.
It seemed rather clear to me, then again perception is everything.
And it seemed as clear as mud to me. You still havn't answered my questions:
What make and model of laptop do you have?
What make and model of TV would you like to connect it to?
Without that information we can't offer any specific advice.
You would probably have got a better response if you had started by saying what make and model of laptop you have and what make and model of TV you would like to connect it to. And putting the above link in your first post would have been more helpful (or just saying what make and model it is).
As it is no one could offer any specific help since they could only guess what you were trying to connect.
Do you have a GUI installed? If so what one? I assume tty1 is the normal text only display.
Exactly what happens when you try to log on to tty7 with a long password? It sounds as if it *might* be the GUI only allows you to enter 20 (or so) characters for the password (the programmers probably assumed no one would want to use a 24 char password). Does trying to log on produce a failed login reported in syslog or by lastb? If not the GUI might not be allowing you to try to log on.
Do you have another system? If so can you log on to the systems with problems via ssh (preferably before causing it to hang)? That should give you a way to enter commands (I've had to do this).
Just to confirm, does Ctrl-Alt-F1---7 work whan the system is not hung?
ctrl-alt-f1 (press all 3 keys at once) should get you to a text screen (there are 6 of them, ctrl-alt-f1 to ctrl-alt-f6). ctrl-alt-f7 should get you back to the GUI (try this out *before* you get another hang). If that works you should be able to log on and try commands like killall firefox and killall thunderbird.
If you can't free the GUI you could use sudo shutdown -r now as a slightly gentler way to force a reboot.
China (and other countries) will also be developing LLM and other AI systems. So any moratorium only lets China etc get a head start.
I can't think of a good option. But allowing Microsoft and Google to carry on as they wish is probably the least bad.
System FUBAR (video ATI RadeOn 4225 failed, no display. )
How badly failed is it?
Does the system show any sign of life when you try to boot it?
Does the display work if you try to boot off a live disk/USB stick? If not it might be a hardware fault.
Have you got another computer on the same network? If so does the faulty system respond to ping? Or come up far enough to SSH onto it?
Does ctrl-alt-f1 get you to a text screen?
If you re-installed the system then your username might have had it's numeric UID changed (it's the 3rd field in /etc/passwd). That would mean that everything in it's home dir would be owned by the old UID, not it's new UID. The sudo chown -R user:user /home/user command would have fixed it. And destroyed most of the evidence.
I've hit this problem before when switching distributions.