The officially official Devuan Forum!

You are not logged in.

#176 Re: Installation » Howto install dual-boot Windows Linux best method » 2023-07-29 08:36:49

The title includes "dual-boot" and "best method".

20 bugs for an addional SSD - it's worth it.

One operating system per physical drive is a clear approach.
Installations can be done in a way that each drive can boot its operating system independently.
Since only one drive can boot as default, other drives may be selected through the "BIOS boot menu" ([F12] on my computer).
But grub can detect and start most operating systems anyway.

#177 Re: Installation » [SOLVED] server can not be found » 2023-07-16 07:54:16

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?

#178 Re: Installation » [SOLVED] server can not be found » 2023-07-15 20:56:59

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

#179 Re: Installation » [SOLVED] server can not be found » 2023-07-15 08:37:35

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.

#180 Re: Installation » [SOLVED] No wifi on Acer Aspire 3 » 2023-07-01 17:21:49

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.

#181 Re: Other Issues » gets stuck on shutdown or restart, have to manually force shutdown » 2023-06-25 15:09:46

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.

#182 Re: Other Issues » [SOLVED] I can't upgrade my System... » 2023-06-21 13:38:57

Sometimes it has to lolcat ... for a colourful experience. smile

 $ neofetch | lolcat 

#183 Re: Other Issues » Update nginx > 1.19.4 » 2023-06-19 12:17:13

Standardpoodle wrote:

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.

#184 Re: Desktop and Multimedia » Thunar segmentation fault as user » 2023-06-15 11:18:05

Probably something strange in your user's $HOME or ~/.config ?
I would delete ~/.cache; can not hurt.
Then create a new user and check.

#185 Re: Hardware & System Configuration » [SOLVED] rtc clock problem » 2023-06-04 09:56:47

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.

#186 Re: Other Issues » [SOLVED] File "recently-used.xbel" » 2023-06-03 11:29:28

Excellent -  Thanks a lot, guys!

And something learned again.

#187 Re: Other Issues » [SOLVED] File "recently-used.xbel" » 2023-06-02 16:19:47

Thanks for the info - I was not aware of that possibilty.

At least there is nothing strange happening, as thought before.

#188 Other Issues » [SOLVED] File "recently-used.xbel" » 2023-06-02 15:05:50

delgado
Replies: 7

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

#189 Re: Other Issues » Update nginx > 1.19.4 » 2023-05-30 17:22:33

SpongeBOB wrote:
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

#190 Re: Other Issues » usb pendrive always mounted as read-only » 2023-05-28 06:51:50

Sounds like a defective hardware to me. Either the pendrive itself, the USB jack on the computer or something inbetween you may have used.

#191 Re: Desktop and Multimedia » [SOLVED] Can't figure out how to play DVDs » 2023-05-22 12:43:57

Ron wrote:

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.

#192 Re: Desktop and Multimedia » [SOLVED] Remote X session - what works? » 2023-05-17 13:04:56

I lost track of this one. Anyway, thanks for mentioning Xpra.

#193 Re: Installation » daedalus amd64 netinstall iso installer graphics displayed incorrect » 2023-05-01 14:54:39

"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.

#195 Re: Desktop and Multimedia » [SOLVED] Remote X session - what works? » 2023-05-01 14:04:05

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.

#196 Re: Hardware & System Configuration » How do I get USB to RCA connection to work? » 2023-05-01 08:09:39

amc252 wrote:

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.

#197 Re: Desktop and Multimedia » how to easily copy a windows partition? » 2023-04-23 10:21:32

erdos wrote:

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
erdos wrote:

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.

#198 Desktop and Multimedia » [SOLVED] Remote X session - what works? » 2023-04-22 14:04:03

delgado
Replies: 6

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.

#199 Re: Desktop and Multimedia » [SOLVED] How to set keyboard layout in a remote X session? » 2023-04-22 12:38:14

@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

#200 Re: Desktop and Multimedia » how to easily copy a windows partition? » 2023-04-16 09:05:34

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.

Board footer

Forum Software