Re: ssh -X authentication with sudo

2022-10-05 Thread martin f krafft
I really didn't mean to kick this off ;) Original poster: instead of the GUI programm, I recommend you try cfdisk. It's not "graphical", but it has a nice UI, and it can do everything you need. `sudo cfdisk /dev/device` and you're going to be much happier. -- .''`. martin f. krafft

Re: ssh -X authentication with sudo

2022-10-05 Thread Charles Curley
On Wed, 05 Oct 2022 10:59:47 -0400 The Wanderer wrote: > > Sorry, must have missed the memo that made an apparently-typo-ed > > double question mark into an emoticon. > > It's not an emoticon. There is a convention, which if I'm not mistaken > goes back decades and originates well before

Re: ssh -X authentication with sudo

2022-10-05 Thread The Wanderer
On 2022-10-05 at 11:21, debian-u...@howorth.org.uk wrote: >> On 2022-10-05 at 10:48, debian-u...@howorth.org.uk wrote: >>> Perhaps you could explain why the debian manpage specifically >>> says it must be run as root then? >> >> What is "it" here? That is, what is the specific program to whose

Re: ssh -X authentication with sudo

2022-10-05 Thread debian-user
> On 2022-10-05 at 10:48, debian-u...@howorth.org.uk wrote: > > >> On Wed, Oct 05, 2022 at 10:30:37AM +0100, > >> debian-u...@howorth.org.uk wrote: > > >>> Yes, I am running a GUI as root. It won't run as normal user. > >> > >> You seem to have missed the implied criticism and/or

Re: ssh -X authentication with sudo

2022-10-05 Thread The Wanderer
On 2022-10-05 at 10:48, debian-u...@howorth.org.uk wrote: >> On Wed, Oct 05, 2022 at 10:30:37AM +0100, >> debian-u...@howorth.org.uk wrote: >>> Yes, I am running a GUI as root. It won't run as normal user. >> >> You seem to have missed the implied criticism and/or incredulity. >> Hint: look at

Re: ssh -X authentication with sudo

2022-10-05 Thread debian-user
> On Wed, Oct 05, 2022 at 10:30:37AM +0100, debian-u...@howorth.org.uk > wrote: > > > Regarding the following, written by "debian-u...@howorth.org.uk" > > > on 2022-10-04 at 13:52 Uhr +0100: > > > >PS as you surmised, I don't really want root ssh access. > > > > > > But you are running GUIs

Re: ssh -X authentication with sudo

2022-10-05 Thread Brad Rogers
On Wed, 05 Oct 2022 15:52:58 +0300 Anssi Saari wrote: Hello Anssi, >I only run one, GParted. As I don't mess around with partitions that >often I want a clear GUI tool that hopefully shows me if I'm about to do >something catastrophical. IOW, I don't see an alternative. AFAIR, you run GParted

Re: ssh -X authentication with sudo

2022-10-05 Thread Anssi Saari
martin f krafft writes: > But you are running GUIs as root?? I only run one, GParted. As I don't mess around with partitions that often I want a clear GUI tool that hopefully shows me if I'm about to do something catastrophical. IOW, I don't see an alternative.

Re: ssh -X authentication with sudo

2022-10-05 Thread Greg Wooledge
On Wed, Oct 05, 2022 at 10:30:37AM +0100, debian-u...@howorth.org.uk wrote: > > Regarding the following, written by "debian-u...@howorth.org.uk" on > > 2022-10-04 at 13:52 Uhr +0100: > > >PS as you surmised, I don't really want root ssh access. > > > > But you are running GUIs as root?? > >

Re: ssh -X authentication with sudo

2022-10-05 Thread The Wanderer
On 2022-10-05 at 05:30, debian-u...@howorth.org.uk wrote: >> Regarding the following, written by "debian-u...@howorth.org.uk" >> on 2022-10-04 at 13:52 Uhr +0100: >> >>> PS as you surmised, I don't really want root ssh access. >> >> But you are running GUIs as root?? > > Yes, I am running a

Re: ssh -X authentication with sudo

2022-10-05 Thread debian-user
> Regarding the following, written by "debian-u...@howorth.org.uk" on > 2022-10-04 at 13:52 Uhr +0100: > >PS as you surmised, I don't really want root ssh access. > > But you are running GUIs as root?? Yes, I am running a GUI as root. It won't run as normal user.

Re: ssh -X authentication with sudo

2022-10-04 Thread martin f krafft
Regarding the following, written by "debian-u...@howorth.org.uk" on 2022-10-04 at 13:52 Uhr +0100: PS as you surmised, I don't really want root ssh access. But you are running GUIs as root?? -- .''`. martin f. krafft @martinkrafft : :' : proud Debian developer `. `'`

Re: ssh -X authentication with sudo

2022-10-04 Thread Jeremy Ardley
On 4/10/22 8:52 pm, debian-u...@howorth.org.uk wrote: To use the display without ssh root login. ssh as normal user to host. Then echo $DISPLAY su - export DISPLAY=localhost:10 (or whatever your logged in user DISPLAY is set to) xauth add $(xauth -f ~/.Xauthority list | tail -1) xhost

Re: ssh -X authentication with sudo

2022-10-04 Thread debian-user
> On 4/10/22 7:39 pm, Greg Wooledge wrote: > > Change the sshd_config to allow direct root logins. > > Then do ssh -X r...@debian.box. > > > > If you're the paranoid type, or if the Debian system is exposed to > > the public Internet, then make sure you only permit root logins > > when using

Re: ssh -X authentication with sudo

2022-10-04 Thread Jeremy Ardley
On 4/10/22 7:39 pm, Greg Wooledge wrote: Change the sshd_config to allow direct root logins. Then do ssh -X r...@debian.box. If you're the paranoid type, or if the Debian system is exposed to the public Internet, then make sure you only permit root logins when using pubkey authentication, not

Re: ssh -X authentication with sudo

2022-10-04 Thread Greg Wooledge
On Tue, Oct 04, 2022 at 12:31:23PM +0100, Dave Howorth wrote: > I have a machine running debian that I access using ssh. I use the -X > with ssh and can successfully run e.g. xeyes on the debian machine > showing the display on my local machine. But now I want to run a > graphical program that

ssh -X authentication with sudo

2022-10-04 Thread Dave Howorth
I have a machine running debian that I access using ssh. I use the -X with ssh and can successfully run e.g. xeyes on the debian machine showing the display on my local machine. But now I want to run a graphical program that needs to run as root on the debian machine while displaying on my local