Am Freitag, 20. März 2015 schrieb Gene Heskett:
On Friday 20 March 2015 13:21:32 Dr. Nikolaus Klepp
wrote:
Am Freitag, 20. März 2015 schrieb Gene Heskett:
On Friday 20 March 2015 13:05:07 Dr. Nikolaus
Klepp wrote:
Hi Gene!
You'll have to add a "xhost +" somewhere in your X11 session,
otherwise it'll not work.
Nik
Something like this? Or as a separate command line?
00 * * * * * xhost + xsetp +dpms
01 * * * * * xhost + xset dpms 300 0 600
?? etc...
Thanks Nic
Cheers, Gene Heskett
Hi Gene!
Not exactly :-)
In your TDE session start konsole and enter:
$ xhost +
access control disabled, clients can connect from any host
Your chrontab lines should be like before:
00 * * * * * xset +dpms
01 * * * * * xset dpms 300 0 600
But keep in mind, the "xhost +"-line has to be entered always when you
start a TDE session :-)
So this is a candidate to add to my .bashrc? Or .profile?
Possibly with a " 2>&1 >/dev/null &" appended?
And if this works, then I also ought to be able to:
sudo synaptic
which I cannot do now because root cannot access my display and I had to
setup a separate root password in order to run synaptic.
So theoretically I would not, if the "xhost +" was in effect, have had to
setup a separate root password, a password that once set, cannot be
deleted by any known means except by a bare metal reinstall. BTDT,
twice, wheres my T-shirt? :)
Just to be able to run synaptic? Or package-manager? IMNSHO the suckage
there is somewhere in the range of 10-41 Torr.
Me, Wanders off shaking head in bewilderment.
Thanks Nik.
Cheers, Gene Heskett
Hi Gene!
I have things like these in .xinitrc - but as .xinitrc is not executed by TDE, you'll
need to add "xhost +" to .xinitrc and add a shortcut to the Autostart folder:
eg.: ~/.xinitrc
#!/bin/bash
xhost +
Then make .xinitrc executeable.
Now add a shortcut:
$ konqueror ~/.trinity/Autostart
right mouse button, "Add shortcut to program", select ~/.xinitrc as the
executable.
Now let's test it. Log out of TDE and log in again. Change to a console
<ctrl>+<shift>+<F1> and type:
$ xset -display=:0 +dpms
Nik
--
Please do not email me anything that you are not comfortable also sharing with the NSA.
Dr. Nikolaus Klepp
Einnehmerstraße 14
A-4810 Gmunden
Tel.: +43 650 82 11 724
email: office(a)klepp.biz