Talk:Using X without a Display Manager: Difference between revisions

From NixOS Wiki
Latest comment: 28 January 2019 by Makefu
imported>Redfish64
Created page with "The following excerpt from this script doesn't seem like the best practice. It's modifying the nix-store directly: #make the intel backlight helper setuid if it isn't already..."
 
mNo edit summary
 
(7 intermediate revisions by 5 users not shown)
Line 7: Line 7:
sudo chmod +s ${xf86_video_intel_path}/libexec/xf86-video-intel-backlight-helper
sudo chmod +s ${xf86_video_intel_path}/libexec/xf86-video-intel-backlight-helper
fi
fi
-- [[User:Redfish64]]
:You're right, this page is a WIP by a user, I'll add a note describing how it isn't using best-practices with NixOS.
:--[[User:Samueldr|samueldr]] ([[User talk:Samueldr|talk]]) 15:26, 7 June 2018 (UTC)
Now that https://github.com/NixOS/nixpkgs/pull/47773 (displayManager.startx option) is implemented I would replace this whole page with the instructions of the issue, what do you think?
--[[User:Zarelit|Zarel]] ([[User talk:Zarelit|talk]]) 08:54, 28 January 2019 (UTC)
@zarelit - i would wait to completely remove the part until the PR hit master. you can however add something like:
{{outdated|With {{pull|47773}} got merged the setup is much more simple}} and add a section for the description for the new behavior --[[User:Makefu|Makefu]] ([[User talk:Makefu|talk]]) 10:19, 28 January 2019 (UTC)
== Added displayManager.startx instructions ==
I've update this page with instructions for using <code>displayManager.startx</code>. Perhaps the WIP badge should be removed now? I think the previous way of doing it doesn't require root permissions so it is not completely unuseful for the WiKi IMO.

Latest revision as of 00:58, 5 April 2024

The following excerpt from this script doesn't seem like the best practice. It's modifying the nix-store directly:

  1. make the intel backlight helper setuid if it isn't already

xf86videointel_path=$(get_pkg_path xorg.xf86videointel) backlight_helper_path="${xf86_video_intel_path}/libexec/xf86-video-intel-backlight-helper" if [ -e "$backlight_helper_path" -a ! -u "$backlight_helper_path" ]; then sudo chmod +s ${xf86_video_intel_path}/libexec/xf86-video-intel-backlight-helper fi

-- User:Redfish64

You're right, this page is a WIP by a user, I'll add a note describing how it isn't using best-practices with NixOS.
--samueldr (talk) 15:26, 7 June 2018 (UTC)Reply

Now that https://github.com/NixOS/nixpkgs/pull/47773 (displayManager.startx option) is implemented I would replace this whole page with the instructions of the issue, what do you think?

--Zarel (talk) 08:54, 28 January 2019 (UTC)Reply

@zarelit - i would wait to completely remove the part until the PR hit master. you can however add something like:

and add a section for the description for the new behavior --Makefu (talk) 10:19, 28 January 2019 (UTC)Reply

Added displayManager.startx instructions

I've update this page with instructions for using displayManager.startx. Perhaps the WIP badge should be removed now? I think the previous way of doing it doesn't require root permissions so it is not completely unuseful for the WiKi IMO.