Message: previous - next
Month: August 2015

Re: [trinity-users] Running GUI programs as root in 14

From: "Roy J. Tellason, Sr." <rtellason@...>
Date: Wed, 12 Aug 2015 14:14:51 -0400
On Wednesday 12 August 2015 11:49:56 am Felix Miata wrote:
> Roy J. Tellason, Sr. composed on 2015-08-12 10:05 (UTC-0400):
> > Lisi Reisz wrote:
> >> Debian has decided not to allow GUI root log-ins.  It is not a case of
> I'm not so sure whether it has anything to do with Debian, but rather the
> default tdm config file specifies safer when there are alternatives available.

It does indeed seem to be Debian doing it,  since I've not gotten as far as getting TDM installed here...
> >> "not being bothered", and there is nothing wrong with Konsole (which is
> >> supplied by TDE, not Debian).
> > I don't know where this is defined,  but if I find it I'm surely going to
> > change it!

Referring to the system's default behavior here.
> root@myhost# whoami
> root
> root@myhost:~# ps -A | egrep 'mc|onsole'
>  1152 ?        00:00:01 konsole
>  1167 pts/2    00:00:00 mc
> root@myhost:~# uname -a
> Linux myhost 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64
> GNU/Linux
> root@gmyhost:~# grep PRETTY /etc/os-release
> PRETTY_NAME="Debian GNU/Linux 8 (jessie)"

Not a problem for me as I've logged in as root in a text console,  and also have mc installed.

> root@myhost:~# egrep 'root|wRoot' /etc/trinity/tdm/tdmrc
> AllowRootLogin=true
> SelectedUsers=root,...

No /etc/trinity here (yet?).  And I can find nothing of the sort in any other config file that I've looked at.  I've got mc open on two of the four desktops,  and am poking around in assorted config files,  but this stuff is so convoluted I'm having some trouble sorting it all out.
> > As of this point in time,  I find that if I log in as root in a text console,  ignoring
> > the GUI login for the moment,  then I can "startx" and it will get me there.  But
> > there's no obvious way to choose what desktop I want,  so even though I have
> > several installed (TDE is coming soon!  :-)  I'm stuck in Xfce.
> > Anybody know how to fix either of these things?
> Man startx.

A front end to xinit,  it says.

I'm sure that the info I'm looking for has to be documented *somewhere*,  but I haven't found it yet...   :-(

> Simply startx works here with TDE as the already selected/default session.
> startx /opt/trinity/bin/starttde also works here, but it disregards my xrandr
> display startup commands in /etc/X11/*.

Member of the toughest, meanest, deadliest, most unrelenting -- and
ablest -- form of life in this section of space,  a critter that can
be killed but can't be tamed.  --Robert A. Heinlein, "The Puppet Masters"
Information is more dangerous than cannon to a society ruled by lies. --James 
M Dakin