On Friday 20 March 2015 13:55:53 Dr. Nikolaus Klepp wrote:
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:
But would this not be per xsession startup=reboot? It does not remember those settings that long. Hence the need to remind it via a crontab entry. Current up time is 19d 16:29 and it forgot it several days ago.
$ 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
Anyway, I think I have it sussed, so thank you's to both Nik and Gerhardt. :)
Cheers, Gene Heskett