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?

Off-Topic discussions about science, technology, and non Debian specific topics.
Message
Author
ruffwoof
Posts: 298
Joined: 2016-08-20 21:00

Re: What does your non-Debian desktop look like?

#1471 Post by ruffwoof »

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.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: What does your non-Debian desktop look like?

#1472 Post by Head_on_a_Stick »

ruffwoof wrote:Someone (developer I believe) on reddit suggested that it was more secure to run X as user that way
Yes, I see now that X is running as the _x11 user, this means it uses a chrooted sandbox, which is a major advantage.

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:
Theo 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.
https://marc.info/?l=openbsd-cvs&m=154050453117246&w=2

So it looks like I should have been using xenodm all along... :oops:

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? :roll:

Scrot:

Image

EDIT: to avoid bad mirrors, try the redirect service:

Code: Select all

Puffy:~$ cat /etc/installurl                                   
https://fastly.cdn.openbsd.org/pub/OpenBSD
Puffy:~$
^ That should work well anywhere in the world (theoretically).
deadbang

ruffwoof
Posts: 298
Joined: 2016-08-20 21:00

Re: What does your non-Debian desktop look like?

#1473 Post by ruffwoof »

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.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: What does your non-Debian desktop look like?

#1474 Post by Head_on_a_Stick »

^ I was tempted to submit a patch for the webpage to correct their tagline, which will have to be changed to
Only three remote holes in the default install, in a heck of a long time!
No wonder Theo is so pissed...
deadbang

ruffwoof
Posts: 298
Joined: 2016-08-20 21:00

Re: What does your non-Debian desktop look like?

#1475 Post by ruffwoof »

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

Code: Select all

# find / -user root -perm -4000 -exec chmod o-wrx {} \;
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).

ruffwoof
Posts: 298
Joined: 2016-08-20 21:00

Re: What does your non-Debian desktop look like?

#1476 Post by ruffwoof »

Head_on_a_Stick wrote:EDIT: to avoid bad mirrors, try the redirect service:

Code: Select all

Puffy:~$ cat /etc/installurl                                   
https://fastly.cdn.openbsd.org/pub/OpenBSD
Puffy:~$
^ That should work well anywhere in the world (theoretically).
Big thanks.

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)
Image

X
Image

With chromium pledged/unveiled, anything else run by chromium also falls under that umbrella (playing mp4's, creating/viewing PDF's, online email ...etc.).

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1387
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 64 times

Re: What does your non-Debian desktop look like?

#1477 Post by None1975 »

Devuan 2.0.0 ASCII with my favorite wm-Xmonad
Image
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
HuangLao
Posts: 485
Joined: 2015-01-27 01:31
Been thanked: 1 time

Re: What does your non-Debian desktop look like?

#1478 Post by HuangLao »

Is there a gui script for shutdown, reboot, suspend etc... for WM's and Debian or Devuan?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: What does your non-Debian desktop look like?

#1479 Post by Head_on_a_Stick »

HuangLao wrote:Is there a gui script for shutdown, reboot, suspend etc... for WM's and Debian or Devuan?
I use

Code: Select all

# ln -s $(which systemctl) /usr/local/bin/{reboot,poweroff}
Then call `reboot` & `poweroff` from `dmenu` :)

Alternatively, try this python script:

https://gist.github.com/Head-on-a-Stick ... 4dad1b2754

^ That requires systemd though.

EDIT: scrot to stay on-topic:

Image
deadbang

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1387
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 64 times

Re: What does your non-Debian desktop look like?

#1480 Post by None1975 »

HuangLao wrote:Is there a gui script for shutdown, reboot, suspend etc... for WM's and Debian or Devuan?
In system with systemd init system, you can use this little script (it work with dmenu). Just bind this script to hot-key.

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

User avatar
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?

#1481 Post by Nili »

HuangLao wrote:Is there a gui script for shutdown, reboot, suspend etc... for WM's and Debian or Devuan?
From my Obmenu:

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
I do not hesitate to put the password once in ten days to do reboot/shutdown. Sorry, No script from me.
openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

ruffwoof
Posts: 298
Joined: 2016-08-20 21:00

Re: What does your non-Debian desktop look like?

#1482 Post by ruffwoof »

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
Image

User avatar
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?

#1483 Post by Nili »

Image
Openbox>Tint2>Conky>DeaDBeeF
openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1387
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 64 times

Re: What does your non-Debian desktop look like?

#1484 Post by None1975 »

As always, Nili, looks nice. Keep a good work!
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
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?

#1485 Post by Nili »

Thank you None1975 :P
openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: What does your non-Debian desktop look like?

#1486 Post by Head_on_a_Stick »

Image

Adobe fonts :)
deadbang

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1387
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 64 times

Re: What does your non-Debian desktop look like?

#1487 Post by None1975 »

Head_on_a_Stick wrote:Adobe fonts :)
Not so good...
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: What does your non-Debian desktop look like?

#1488 Post by Head_on_a_Stick »

^ 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.
deadbang

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1387
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 64 times

Re: What does your non-Debian desktop look like?

#1489 Post by None1975 »

Head_on_a_Stick wrote:^ have you tried their fonts?
Yes, of course. I just do not like their license.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

xepan
Posts: 89
Joined: 2018-11-28 06:38

Re: What does your non-Debian desktop look like?

#1490 Post by xepan »

Void linux taken serious.
Image
When busy, in this case running a terminal emulator:
Image

Post Reply