You are not logged in.
Just recognised:
root@devuan:~# ssh devuan
is (herer) equal to
root@devuan:~# ssh root@devuan
To login with a non-roor-user:
root@devuan:~# ssh your-non-root-user@devuan
Does this work?
Sorry, I messed up the fist answer rerspective systemctl ... just one missing "no" .
This is systemd stuff and does not apply to devuan. Scrpts like "ssh.service" may exist but are not used here.
root login via ssh might be forbidden by default. Does a non-root-user can login via ssh?
To get the state of sshd:
$ /etc/init.d/ssh status
Good morning. Not sure about the question, there is systemctl in devuan. I usually do
$ sudo apt install task-ssh-server
to have ssh server installed and running.
EDIT:
Ooops, I messed this up entirely: "... there is no systemctl in my devuan" is correct.
Would like to add: lspci may give a hint to the needed firmware.
And for new'ish hardware, daedalus might be an option. It will become the new stable in the near future anyway.
I would fix /etc/fstab first:
a) the error in line 1
b) temporary comment-out all non-linux filesystems
And try a live system (knoppix, or whatever you prefer) to confirm the hardware is ok.
Are there other OS'es, and if so do they show errors too?
Is it a new or an old installation?
If it is new one, I probably would just re-install. Or maybe trying to update to daedalus.
Sometimes it has to lolcat ... for a colourful experience.
$ neofetch | lolcat
Nobody has ever had and probably never will have a repository for "Debian Chimaera".
Of course not.
But this is what you get, when using the linked installation instructions on chimaera.
Let's say there was a temptation to suggest "wouldn't you like to do a dist-upgrade to daedalus?", instead of answering the question.
Probably something strange in your user's $HOME or ~/.config ?
I would delete ~/.cache; can not hurt.
Then create a new user and check.
Some thoughts:
Correct BIOS time and non-fucntional RTC sounds contrary. Both are the same device, aren't they?
Debian shows correct time: Probably systemd-timesync forces a clock-update. ntpd could do so too with addional switches. google found e.g. https://askubuntu.com/questions/254826/ … -using-ntp
cat /proc/interrupts|grep -i rtc on my 97x-based mainboard looks almost equal, only one of the four zeros is not zero. Just to mention, whatever it means.
Excellent - Thanks a lot, guys!
And something learned again.
Thanks for the info - I was not aware of that possibilty.
At least there is nothing strange happening, as thought before.
It is a log of recently used files. There is some kind of standard form gnome / freedesktop.org. Let's say I don't want that:
The file is created if not existing, which is to expect. Then I recreated it read-only, and then read-only owned by root. This bloody thing always re-apperars with new content (see code-block below). Especially the last case is something I do not like at all. Meanwhile, I think it is dconf-service, but not sure; apt says it is neded by gtk3.
How to tame that beast?
$ cat .local/share/recently-used.xbel
'recently-used.xbel' is owned by root now, and contains this line.
$ ls -la .local/share/recently-used.xbel
-r--r--r-- 1 root root 67 2023-06-02 16:01 .local/share/recently-used.xbel
# 20 minutes later
$ ls -la .local/share/recently-used.xbel
-rw------- 1 tom tom 1473 2023-06-02 16:15 .local/share/recently-used.xbel
Err:5 http://nginx.org/packages/debian chimaera Release 404 Not Found [IP: 3.125.197.172 80]
Looks like they don't have a devuan repository. You may interchange 'chimaera' with 'bullseye' in 'nginx.list', using an edior or e.g.:
$ sudo sed -i 's/chimaera/bullseye/g' /etc/apt/sources.list.d/nginx.list
Sounds like a defective hardware to me. Either the pendrive itself, the USB jack on the computer or something inbetween you may have used.
Is it impossible to play commercial DVDs on a Linux machine?
Most commercial DVDs are encrypted with "css" and decryption libraries are needed to play them.
I remember remarks on the vlc web site (dvdcss or decss). The DVD-player-software loads the library(s), if present. css is broken since years and some keys are public, even printed on T-shirts. Not sure about the current legal state, but I don't think this will ever make it into debian officially.
I lost track of this one. Anyway, thanks for mentioning Xpra.
"non-free-firmware" was separeted in the upcomming Debian release.
It is the essential (non avoidable) part of non-free software, which is needed for some pieces of hardware to function at all.
"from Debian Wheezy to Devuan" https://dev1galaxy.org/viewtopic.php?id=5664
Thanks for the input!
@UnixRocks, @steve_v
Then tigerVNC and x2go it is for the next tries.
@nixer
Thanks for the detailed description, Xephyr sounds very interesting. I need time to get used to the concept, currently the nested / recursive X-server creates a knot in my head. As you mentioned, specifying the correct DISPLAY sounds like challange.
All three suggestions can be used with ssh, which is great.
PS:
Yesterday, while trying to theme lightdm ... .
The arch wiki mentioned a test mode lightdm --test-mode --debug, which works using xephyr. lightdm.conf has a VNC section and there is the installble lightdm-remote-session-x2go debian package. First I thought these components were addressing the server-side function, but the x2go module seems to be client related. Anyway.
USB to RCA audio & video (...) pic here: https://drive.google.com/file/d/1j7DbXk … share_link
I would guess the shown cable is an analog input, not an output.
It is made for digitisinging (recording) analog TV signals consisting of composit-video and audio, e.g. from video-tape-recorders (VHS/BetaMax/video8/whtever) or old video-cameras with TV-out.
it doesn't seem the image was resized (...), the restoring of the image file still results error.
I did not know that the size of the image file would be the same, sorry.
However. The file system in the image file has become smaller. The last 7 GB are present, but unused by now - df will tell.
$ sudo mount -o loop HP.shrinkme.img /mnt
$ df
The error at restore using dd should not matter here. If you really want to be sure and write it again:
$ sudo ntfsclone -f -o /dev/sdb1 HP.shrinkme.img
The file system should be in a mountable condition. Probably it isn't ... .
Did you try to mount /dev/sdb1 ?
If you want back the shrinked 7GB HDD space, you still need to:
$ sudo ntfsresize -x /dev/sdb1
I deleted and recreated the windows partition at same location, not sure whether this leads to the partition change.
HDD situation:
There is the "master boot record" (mbr) and "partition start sector 2048" from the new installation, and the file system from the old installation (different mbr and "partition start sector 63") to fit the image size to the HDD space. I'm not aware of all implicit issues.
The disk itself will likely not boot. grub form the other disk may or may not be able to help ($ sudo update-grub).
Does the first version of the win7-install-cd the start-at-sector-63 partitioning? Think so, but not 100% sure. Probably, if you have such a install-cd, it may recreate the partition as before.
I'm not used to read chkdsk output.
Or just use the new installation and copy back all the files form the mounted image.
Hello,
I'm asking for suggestions for remote desktop access (the server component). What are you using?
ssh, vnc, rdesktop is basically all I know. "X-application with display on a different X-host" can be an option. Maybe there are other protocols commonly used. Something straight and simple would be nice.
The connection ability from anydesk / teamviewer to pass a router is not needed.
File transfer would be nice, but also not needed.
It may be a virtual session or mirror of the current display.
If there is a real killer application, it could be wayland too.
Sorry, but I need a client for windows too (work; can not change that).
xrdp: Currently used. The keymap issue is only one thing. Usage feels not very responsive, even in the same network. Moving a browser window ... raises +20 years old memories.
vnc: occasionally used, but good memories. Small and simple to setup. What would it be? tigervnc, tightvnc, x11vnc, ... ?
Thanks and regards.
@guuml.dev1: Thanks for the reply (yes, long ago). There are "ä,ö,ü,ß". [AltGr] is onyl working, if xrdp uses an appropriate keymap too.
Update - a cleaner way to set a default keymap for xrdp:
Initially loaded is /etc/xrdp/km-00000000.ini. The file is not existing, so a link or copy can be made without interfering the installation. The issue occurred again on a new PC.
In my case:
$ sudo cp -a /etc/xrdp/km-00000407.ini /etc/xrdp/km-00000000.ini
After logging in, it is still a "us" or "en" keymap, but switching to "de" now fully works.
$ setxkbmap de
Finally a suggestion:
The image file is working (mountable) and the target device is a bit smaller the image itself.
The solution is simple and straight forward: Resize the image to fit the device.
Get some information:
ntfsresize -i HP.qcow2
ntfsresize works directly on the device or image file, a copy is recommended. The last command expands the filesystem to partiton size.
cp HP.qcow2 HP.shrinkme.img
ntfsresize -s 97G HP.shrinkme.img
sudo dd if=HP.shrinkme.img of=/dev/sda1 bs=10M
sudo ntfsresize -x /dev/sda1
And it should be done.
Alternatively:
Grow /dev/sda1 to fit HP.qcow2.
Thanks for posting the file size.
Testing:
Just dd'ed a small 100M partition using bs=13M to have a "fractional block count". Sizes of image-file and device are equal. Also tried dd with "bs=15M" and "bs=512", and pure cat. All image files are identical. On daedalus and on chimaera. No errors at all during creation and restore.
The main question is now:
Why is the image-file (104864062464 bytes) bigger than the partiton (104862842880 bytes)? How is this possible?
The partititon must have been shrinked after creating the backup image.
I don't see any other possibility.
EDIT:
fdisk -lbefore the reinstalltion of windows would be informative.
Older (windows-)partition schema start at sector 63 (not sector 2048) and there is a gap of 398 sectors (or 0.2 MB) between sda1 and sda2. This is 1.2 MB potential addional space for sda1. The image file is 1.1 MB bigger than sda1.