Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
What does your non-Debian desktop look like?
Re: What does your non-Debian desktop look like?
Yes I use Xenodm. Someone (developer I believe) on reddit suggested that it was more secure to run X as user that way. I was tracking current (having only recently switched over to that from stable), but a late upgrade had no chromium available on the mirror I use so I reverted to 6.4 release.
The image was captured by running a tmux in X, more usually I run that on the console so the dotted lines return anyway (using TERM=pccon0 keeps the colours and seems to work well IME). Works great when you ssh into that box and tmux attach to its session. (I know you know all this but for the benefit of others) Any old low powered device - provided it can run ssh then has access to all of the tmux windows/functions. Nice for collaboration also as you both can control/see the exact same things when actions/changes are made.
The image was captured by running a tmux in X, more usually I run that on the console so the dotted lines return anyway (using TERM=pccon0 keeps the colours and seems to work well IME). Works great when you ssh into that box and tmux attach to its session. (I know you know all this but for the benefit of others) Any old low powered device - provided it can run ssh then has access to all of the tmux windows/functions. Nice for collaboration also as you both can control/see the exact same things when actions/changes are made.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: What does your non-Debian desktop look like?
Yes, I see now that X is running as the _x11 user, this means it uses a chrooted sandbox, which is a major advantage.ruffwoof wrote:Someone (developer I believe) on reddit suggested that it was more secure to run X as user that way
I can get X working without xenodm on my -current box by applying the setuid bit to the Xorg binary but then X runs as my user (which is Very Bad).
This message on cvs@ cleared things up for me:
https://marc.info/?l=openbsd-cvs&m=154050453117246&w=2Theo de Raadt wrote:Disable setuid on the X server. We have always known it is a trash fire
and we held out hope too long.
So it looks like I should have been using xenodm all along...
Also, I used the setuid bit in my Alpine Linux box so I could run X as my normal user rather than root — how dumb is that decision looking now?
Scrot:
EDIT: to avoid bad mirrors, try the redirect service:
Code: Select all
Puffy:~$ cat /etc/installurl
https://fastly.cdn.openbsd.org/pub/OpenBSD
Puffy:~$
deadbang
Re: What does your non-Debian desktop look like?
I was running X as user myself until it was pointed out to use Xenodm. Others are also seeing some light https://old.reddit.com/r/openbsd/commen ... scalation/ and one of those links to https://www.openbsd.org/errata64.html
001: SECURITY FIX: October 25, 2018 All architectures
The Xorg X server incorrectly validates certain options, allowing arbitrary files to be overwritten. As an immediate (temporary) workaround, the Xorg binary can be disabled by running: chmod u-s /usr/X11R6/bin/Xorg
A source code patch exists which remedies this problem.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: What does your non-Debian desktop look like?
^ I was tempted to submit a patch for the webpage to correct their tagline, which will have to be changed to
No wonder Theo is so pissed...Only three remote holes in the default install, in a heck of a long time!
deadbang
Re: What does your non-Debian desktop look like?
I don't have any root owned setuid's open to 'others', chmod'd them all so only owner and group have access to those. But then again I don't run any root windows/tasks under X, and 'user' isn't a member of group wheel (no su), nor have I any doas configured (no sudo type functions either). I only run root/admin tasks from within a console session (tmux/mc/dialog).
Primarily I use X only to run chromium (pledged/unveiled) and use that for playing mp4's, viewing/creating PDF's ...etc. so contained, as though X/chromium were in a sandbox/container. Data (docs etc) are owned by root (isolated from user).
Code: Select all
# find / -user root -perm -4000 -exec chmod o-wrx {} \;
Re: What does your non-Debian desktop look like?
Big thanks.Head_on_a_Stick wrote:EDIT: to avoid bad mirrors, try the redirect service:^ That should work well anywhere in the world (theoretically).Code: Select all
Puffy:~$ cat /etc/installurl https://fastly.cdn.openbsd.org/pub/OpenBSD Puffy:~$
OpenBSD Base (-current) + mc + chromium meets most of my desktop needs
Console (captured a copy in X as I can't snap the actual console, console appearance is however very similar to this image)
X
With chromium pledged/unveiled, anything else run by chromium also falls under that umbrella (playing mp4's, creating/viewing PDF's, online email ...etc.).
- None1975
- df -h | participant
- Posts: 1404
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 46 times
- Been thanked: 68 times
Re: What does your non-Debian desktop look like?
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
Re: What does your non-Debian desktop look like?
Is there a gui script for shutdown, reboot, suspend etc... for WM's and Debian or Devuan?
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: What does your non-Debian desktop look like?
I useHuangLao wrote:Is there a gui script for shutdown, reboot, suspend etc... for WM's and Debian or Devuan?
Code: Select all
# ln -s $(which systemctl) /usr/local/bin/{reboot,poweroff}
Alternatively, try this python script:
https://gist.github.com/Head-on-a-Stick ... 4dad1b2754
^ That requires systemd though.
EDIT: scrot to stay on-topic:
deadbang
- None1975
- df -h | participant
- Posts: 1404
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 46 times
- Been thanked: 68 times
Re: What does your non-Debian desktop look like?
In system with systemd init system, you can use this little script (it work with dmenu). Just bind this script to hot-key.HuangLao wrote:Is there a gui script for shutdown, reboot, suspend etc... for WM's and Debian or Devuan?
Code: Select all
#!/bin/sh
cmd=$(printf "poweroff\nreboot\nlock\n" | dmenu -p "Execute:" $*)
if [ -z "$cmd" ]; then
exit 0
fi
case "$cmd" in
poweroff)
systemctl poweroff ;;
reboot)
systemctl reboot ;;
lock)
i3lock --color '#000000' ;;
*)
printf "Option not recognized: %s\n" "$cmd" >&2
esac
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
- Nili
- Posts: 441
- Joined: 2014-04-30 14:04
- Location: $HOME/♫♪
- Has thanked: 5 times
- Been thanked: 3 times
Re: What does your non-Debian desktop look like?
From my Obmenu:HuangLao wrote:Is there a gui script for shutdown, reboot, suspend etc... for WM's and Debian or Devuan?
Code: Select all
urxvt -bl -geometry 50x1-400+450 -e sudo /sbin/reboot
Code: Select all
urxvt -bl -geometry 50x1-400+450 -e sudo /sbin/poweroff
openSUSE Tumbleweed KDE/Wayland
♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.
♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.
Re: What does your non-Debian desktop look like?
In OpenBSD, X only runs as user, I've set all root owned setuid's off for 'others', no doas/su/sudo ...etc.). For root I just ctrl-alt-F4 into a root console/terminal and do 'admin' stuff from there. I have the console set to run tmux, mostly use mc for file manager and text editor, and have a tput based 'menu' ... so it has a BBS type look and feel. Shutdown is one of those menu options.
This is a picture of the actual console
This is a picture of the actual console
- None1975
- df -h | participant
- Posts: 1404
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 46 times
- Been thanked: 68 times
Re: What does your non-Debian desktop look like?
As always, Nili, looks nice. Keep a good work!
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
- None1975
- df -h | participant
- Posts: 1404
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 46 times
- Been thanked: 68 times
Re: What does your non-Debian desktop look like?
Not so good...Head_on_a_Stick wrote:Adobe fonts
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: What does your non-Debian desktop look like?
^ have you tried their fonts?
Adobe may be complete and utter bastards but their fonts are the prettiest around (IMO). The monospace variant is particularly beloved by those peculiar people who prefer non-bitmap fonts in the terminal.
Adobe may be complete and utter bastards but their fonts are the prettiest around (IMO). The monospace variant is particularly beloved by those peculiar people who prefer non-bitmap fonts in the terminal.
deadbang
- None1975
- df -h | participant
- Posts: 1404
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 46 times
- Been thanked: 68 times
Re: What does your non-Debian desktop look like?
Yes, of course. I just do not like their license.Head_on_a_Stick wrote:^ have you tried their fonts?
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github