View previous topic :: View next topic |
Author |
Message |
HomerSimpson l33t
Joined: 25 Jan 2003 Posts: 869 Location: Ohio, USA
|
Posted: Tue Nov 04, 2003 5:54 pm Post subject: Today's tips and tricks |
|
|
I tried the tip from the GWN but it is not working. I ran "at" with the -m command and got an email that said Quote: | ** CRITICAL **: Unable to open display |
To test:
Code: | at -m -v +1minute
at> xmms
at> <CTRL-D> |
atq shows the job and in 1 minute I get the email. So the scheduling part is working.
I am running these commands from the gnome-terminal. If I run xmms from the terminal it is fine. What do I need to set to get this to work with at?
Thx _________________ The strong must protect the Sweet. |
|
Back to top |
|
|
Unne l33t
Joined: 21 Jul 2003 Posts: 616
|
Posted: Tue Nov 04, 2003 8:32 pm Post subject: |
|
|
You need to give permissions for other users to access your X server. CTRL+ALT+F1 to a console and try to run XMMS and you should get the same error. If you export DISPLAY=:0.0 and then run XMMS I think it'll work. I also read that you can use xhost to do the same thing, but I've never used it. |
|
Back to top |
|
|
HomerSimpson l33t
Joined: 25 Jan 2003 Posts: 869 Location: Ohio, USA
|
Posted: Wed Nov 05, 2003 12:19 am Post subject: |
|
|
Thanks for your response Unne. Unfortunately that did not work. What I did, in a gnome-terminal was:
Code: | export DISPLAY=:0.0
at -m +1minute
at>xmms
at><CTRL-D> |
In one minute I got an email that said: Quote: | ** CRITICAL **: Unable to open display |
I also tried: but got the same error.
Any other ideas?
Thx _________________ The strong must protect the Sweet. |
|
Back to top |
|
|
Unne l33t
Joined: 21 Jul 2003 Posts: 616
|
Posted: Wed Nov 05, 2003 3:03 am Post subject: |
|
|
How about
Code: | at -m +1minute
at> export DISPLAY=:0.0
at> xmms
at><CTRL-D> |
|
|
Back to top |
|
|
HomerSimpson l33t
Joined: 25 Jan 2003 Posts: 869 Location: Ohio, USA
|
Posted: Wed Nov 05, 2003 3:49 am Post subject: |
|
|
That did it! Excellant!!! Thank you very much! _________________ The strong must protect the Sweet. |
|
Back to top |
|
|
|