The officially official Devuan Forum!

You are not logged in.

#2476 Re: Installation » Clean installation, keeping home » 2017-06-12 14:48:01

albert wrote:

1. add users and groups and force them to the same uid

2. copy /home/*

3. find a list of installed packages and install them anew

Yes, that will work.

1. Be aware that some system users might get different uid/gid. That might be an issue if you're doing stuff over the local network. (I ran into this with geneweb.) It might depend on the order that some apps are installed.

2. I usually copy my home files last, and sometimes I just mount the old partition and symlink to the old home.
It's usually better not to copy your old desktop configs. Some things may have changed.

3. 'dpkg -l' will give you a list of all installed packages. You don't need to install all of them, as most will be installed automatically with others. In some cases, package names have changed. 'apt-cache search' or 'aptitude search' for partial names will help.

#2477 Re: Hardware & System Configuration » How to change the Hostname in DEVUAN ? » 2017-06-11 20:13:57

Change it permanently:

echo "mynewpcname" > /etc/hostname

(or open it in your favorite root editor)

Change it now:

hostname mynewpcname

Then log out and log in again. No need to reboot.

And if the old name is in /etc/hosts, change it there, too.

#2478 Re: DIY » The devuan 1.0.0 desktop-live amd64 » 2017-06-10 11:39:11

I don't know if there will be an official bare-bones-with-X release. Maybe something like that from Refracta or one of the other derivatives (or "project" if that's what you're calling your rose now.)

In the past, I made refracta isos with no-X when the Testing release went into freeze. But those builds are not minimal. I can't resist adding a lot of extra packages. That will happen again soon. When debian jessie was in testing, I also made some early isos with openbox and sysvinit. I might do that again, but it would probably be less polished. One way or another, I can assure you that ascii isos are coming soon.

#2479 Re: Devuan Derivatives » how to setup installer with different desktop rather than Xfce4 » 2017-06-06 23:21:07

If you would like to see lxde and mate in that list, use the DVD instead of the CD.

#2480 Re: Other Issues » policykit-1, polkit, polkitd authentication problems » 2017-06-04 22:14:15

This works in the full desktop install. My user (named 'user') is not in the sudo group and does not have any sudo privs.
You're probably missing a package or two. I see some hints in the auth.log when I start synaptic. Make sure you have consolekit and libpam-ck-connector. It's possible that you also need libsystemd0 for this to work. I don't know.

Jun  4 22:02:31 user polkitd(authority=local): Operator of unix-session:/org/freedesktop/ConsoleKit/Session1 successfully authenticated as unix-user:root to gain ONE-SHOT authorization for action com.ubuntu.pkexec.synaptic for unix-process:3030:52170 [/bin/sh /usr/bin/synaptic-pkexec] (owned by unix-user:user)
Jun  4 22:02:31 user pkexec: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Jun  4 22:02:31 user pkexec: pam_ck_connector(polkit-1:session): cannot determine display-device
Jun  4 22:02:31 user pkexec[3031]: user: Executing command [USER=root] [TTY=unknown] [CWD=/home/user] [COMMAND=/usr/sbin/synaptic]

If that's not enough, check the package list for the desktop install. Her'e's the list for the desktop-live which is what you get if you take the default desktop installation from the dvd (plus a few packages to run it live and install it.)
https://files.devuan.org/devuan_jessie/ … e.list.txt

#2481 Re: Installation » Installing devuan to lvm partitions within dm-crypt container » 2017-06-04 17:20:32

Which live-CD and installer are you using? Your screenshot is not a link.

The devuan desktop-live isos don't contain the standard installer. You might be able to do it with the cli version of refractainstaller, but you would have to edit the script so that it did not format your partitions.

The thread you linked is for a full-disk encryption that includes encrypted /boot. That's different from what you have. Here's an account of someone doing it with a debian-live iso: http://forums.debian.net/viewtopic.php? … 3e#p571829
You might be able to do this with one of the regular devuan installer isos (e.g. netinstall). Choose expert install from the advanced options, before you get to partitioning, go to another virtual terminal and mount your partitions, then go back to installer and choose manual partitioning. You should be able to select partitions and use them without formatting them.

I have never tried either of these things. Be careful you do not lose your data. There are probably some config files you want to save from the old setup (fstab, crypttab, maybe others.)

The debian-installer/devuan-installer will allow you to create encrypted lvm from scratch, if you can figure it out. It's not intuitive at all.

UPDATE 28 Aug 2018: I finally tried it. It's possible to set up lvm, encryption, raid, or any combination of those and then install with refractainstaller. Here are some examples -
https://dev1galaxy.org/viewtopic.php?id=2323

#2482 Re: DIY » The devuan 1.0.0 desktop-live amd64 » 2017-06-04 15:17:47

The pre-checked items in the installer options window are "Disable auto-login..." (desktop and console). Un-check them if you want auto-login in the installed system.

A live iso with just xorg and a window manager is something I'm thinking about for ascii. Then people can add stuff (or fail to add it and report problems.) I will bring this up in discussion with the devs.

I had previously tried an installation from the regular installation media, & found it quite slow, as was Debians originally, which basically drove me to using live installable media.

That exact same thing drove me to writing live installers.

You can set single-click in thunar preferences, but it won't affect the desktop icons. For a short time when debian jessie was still in testing, xfce desktop had single-click. I guess they considered it a bug and "fixed" it. It's possible that there's a way to recover that feature by messing with config files, but I've never tried it.

#2483 Re: Installation » How to install DEVUAN Stable using DEBOOTSTRAP method to /target? » 2017-06-04 11:22:05

What error message did you get?

If you used the second method to add the key, make sure to include the final "-" after "add".

#2484 Re: Other Issues » Could the great, famous, FVWM95 put back into the DEVUAN repositories? » 2017-06-01 14:41:19

It's already in the repo. Install fvwm, click on the desktop to get a menu and select fvwm95 setup (or something like that - it's gone now that I've run it.) You'll get a crude looking wizard that lets you choose some options. I took the defaults, and now my window title bars are win95 blue.

For a more modern look, there's also fvwm-crystal. There's also fvwm1. I didn't try that. I assume that it's more retro than retro.

#2486 Re: News & Announcements » Devuan Jessie 1.0.0 Stable LTS is here!!! » 2017-05-27 12:22:07

@rufwoof:
You're right that there's no console autologin in debian-live jessie. That's a new thing for jessie, and I don't know if it was intended that way or a consequence of deprecating live-build. Lack of autologin doesn't add much in the way of security, since the login and password are public knowledge.

The console autologin is enabled in /lib/live/config/0160-sysvinit.

sed -i -e "s|^\([^:]*:[^:]*:[^:]*\):.*getty.*\<\(ttyS\?[0-9]*\).*$|\1:/bin/login -f ${LIVE_USERNAME} </dev/\2 >/dev/\2 2>\&1|" /etc/initta

Since you're modifying the images, you can do it however you need. You could remove live-config or modify the script or create a hook script to disable the sed line.

#2487 Re: Documentation » Make a live-CD with live-sdk » 2017-05-26 17:10:36

I didn't specify any packages when I tried live-build. The default setting tries to get live-config-systemd. Phil shows how to deal with that in this thread: https://dev1galaxy.org/viewtopic.php?id=612

I know at one point, I wrote a short script to go through and change the links from debian to devuan. I also tried open-infrastructure. I'll say something about those things in the live-build tips thread.

What do you mean about using the /etc/apt folder from the latest iso. You put that in the chroot includes dir so it gets copied into the iso? Or something else?

#2488 Re: News & Announcements » Devuan Jessie 1.0.0 Stable LTS is here!!! » 2017-05-26 14:24:40

rufwoof wrote:

Wow. MAJOR SECURITY FLAW where for at least one boot choice anyone can just Ctrl-Alt-Fn to another terminal session .... that is already logged in. Yep. Choice of each/any of all six of 'em, all conveniently pre-logged in.

You must be looking at one of the live isos. Autologin to desktop and console has been a standard debian-live feature for as long as I've been using it. (since Lenny). I think the reasoning behind it is that if you are running a live session, then you are probably sitting at the computer and will shut down the session and take your live media with you when you are finished. Autologin gets disabled for the installed system unless you change the defaults in the installer.

Note that on a regular installation, if you ctrl-alt-Fn to console and login and don't log out, that login will still be accessible even if you go back to desktop and lock the screen. This is not new and not unique to devuan. I first discovered it on debian.

#2489 Re: DIY » The devuan 1.0.0 desktop-live amd64 » 2017-05-26 10:49:46

Yes, it uses refractainstaller. The desktop icon (and the apps menu) runs a wrapper script that starts either the uefi or non-uefi version of the graphical installer. The cli installer is there, too.

Any changes in sofware or configuration of the system get copied to the hard drive.  I would anticipate some potential problems around the fact that the destop was installed with metapackages, so removal of a single package could result in a slash and burn of the desktop, including the graphical installer. That's not as bad as it sounds - since it's a live system, you can just reboot and try it again. Also, you need to have enough RAM to update the package cache and the installed packages.

#2490 Re: Hardware & System Configuration » No configuration options when (re)installing lirc » 2017-05-25 13:52:16

I just installed lirc in devuan, and the messages I get at the end of the install say that there is no /etc/lircd.conf and to configure it manually. Running 'dpkg-reconfigure lirc' returns without any messages and without runing the ncurses debconf. Installing the same package in debian jessie does not give me the messages about the config file. Running 'dpkg-reconfigure lirc' again returns without any messages and without ncurses debconf. So, I don't know if it's broken or not. Can you use it? Do you have or know what goes in the missing config file?

#2491 Re: Devuan » Bypassing networking problems with the installer. A suggestion. » 2017-05-21 02:55:55

edbarx' post was a solution to a problem with the beta installer. That problem has been fixed. The devuan installation disks will now detect your wireless hardware and provide the correct firmware. The regular install does this automatically, and the expert install asks if you want the non-free firmware or not. The live images have the firmware pre-installed and provide a script to remove all the non-free packages.

#2492 Re: Devuan Derivatives » Derived how? » 2017-05-20 01:47:13

Refracta was declared stable last August. The main things that were holding up Devuan from being declared stable had to do with the installer and desktop-base. Refracta doesn't use either of those, so there was no reason to wait. Devuan is as stable as Debian because it IS Debian with a few unnecessary dependencies removed.

#2493 Re: Documentation » Time zone » 2017-05-19 22:40:31

Thanks for pointing that out. I thought I enabled the pre-install scripts for simple install. Time zone and locale debconf dialogs should run at the beginning of the installation. They do in expert install, and post-rc2 also has keyboard settings at the same time. The simple install button is going to disappear in a future installer. Simple can be achieved with the expert install by ignoring all the checkboxes and proceeding without changing anything.

The default timezone should be UTC. That's what I get when I boot live media.

You can set the locale at boot, too. Take the second item in the boot menu, press TAB, and backspace to erase the locale code. Then replace it with your own. That runs a hook script that creates a file with the following lines (with your locale code for example.)
/etc/profile.d/zz_locale.sh

export LANG=en_GB.UTF-8
export LC_ALL=en_GB.UTF-8

But that won't change the keyboard. When editing the boot command, you could also add

keyboard-layouts=xx

where xx is the lower-case two-letter country code. In your case, I think that would be gb.

Or, on the xfce desktop, and the keyboard layout plugin to the panel, add codes (choose from the list) and use that to switch layouts.

Edit: keyboard-layouts gets a two-letter code.

#2494 Re: Installation » [SOLVED] Redshift fails to start - .service files missing? » 2017-05-19 20:33:26

Maybe you need to install the firmware from backports.

apt-get -t jessie-backports install firmware-iwlwifi

#2495 Re: Hardware & System Configuration » wicd disrespect » 2017-05-19 20:31:38

I just tried it in a live-usb (with a post-rc2 iso) and the off switch works. I got mixed results on the wired connection. Once it connected about a minute after I killed the wireless connection, and on a subsequent reboot, it did not. I've noticed similar when I boot up with the wire unplugged and then plug it in. Sometime the connection will come up on its own, and sometimes I have to start it with 'dhclient eth0'. Maybe this is the buggy behavior I've heard people complain about. I always rely on manually connecting and disconnecting when I use the wireless.

I also tried it in debian, where hitting the 'shut off wifi' button changes it from saying 'connected' to saying 'disconnected'. But that's just what it said - I could not get out to the internet regardless of what it said.

#2496 Re: Installation » [SOLVED] Redshift fails to start - .service files missing? » 2017-05-18 15:23:47

Yes, go with backports. Disable ascii. All the devs have been focused on getting jessie ready, and not much work has been done on ascii.

apt-get -t jessie-backports install linux-image-4.9.0-0.bpo.2-amd64

#2497 Re: Hardware & System Configuration » No configuration options when (re)installing lirc » 2017-05-18 12:47:00

Yes, this is a good place to ask. I don't know lirc, but it should work the same as in debian. That package wasn't altered.

The desktop-live has the same packages as a default desktop install, and the minimal-live has much less (and more, in some ways). Maybe some package is missing and isn't listed as a Depends, but I don't know what that might be.

#2498 Re: Installation » [SOLVED] Redshift fails to start - .service files missing? » 2017-05-17 15:44:32

I have this feeling that it might be related to the fact I needed to add nomodeset to linux boot line in grub

Trust the Force, Luke. You are correct.
I just booted with 'nomodeset' and redshift no longer works. Neither does my brightness script that I've been using.

#2499 Re: Installation » [SOLVED] Redshift fails to start - .service files missing? » 2017-05-17 14:31:36

Upgrading those four packages was probably not the right thing to do. I don't know if that will cause problems or not.

There is no randr package. Sorry. But you can run 'xrandr' on the command line to see your display settings. You should be able to change settings with xrandr, too, but maybe it's not working. Run it with no arguments to get the display name (maybe VGA-1, DVI-something, or maybe it's just called 'default').
Then try

xrandr --output <the display name> --brightness 0.7

and see if it decreases the brightness to 70%.

You might be able to use one of the other methods listed. There's a line for it in the config file. Mine says "adjustment-method=randr". You could try replacing randr with the other methods (vidmode, drm or dummy). That's my best guess. I don't really know anything about it.

#2500 Re: Installation » [SOLVED] Redshift fails to start - .service files missing? » 2017-05-17 00:32:37

Make sure randr is installed. Check in synaptic. You can also see what methods are available to redshift with

redshift -m list

I can start 'redshift-gtk' on the command line if I give it my latitude and longitude. It works, it puts an icon in the system tray, and I can get an information window from that.

Board footer

Forum Software