Announcement

Collapse
No announcement yet.

DESKTOP= :0 or :1 ?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [CONFIGURATION] DESKTOP= :0 or :1 ?

    Within the past week or so most of my cron jobs are not showing. The system and root crons work well (they are scripts) but the personal crons (GUIs) are not showing. I have hourly GUI reminders but they are not showing.

    After a few hours of search and debugging, I located a problem with the GUI personal cron jobs prepared by gnome-schedule and lodged in the crontab. Each one of the GUIs start off with export DISPLAY=:0

    Using echo $DISPLAY I get
    :1
    instead of :0.

    These same cron jobs have worked perfectly for many, many, many years but now all of a sudden :0 has changed to :1. I have added no software only updates.

    Q1. Can anyone tell me what may have caused the sudden change? Best guess?

    My quick and dirty solution is to change all the DISPLAY=:0 to DISPLAY=:1 in /var/spool/log/crontabs.

    This works well but it does not help me with the debugging.

    All the searches that I have made return the fact that :0 is for the primary screen and :1 is for a secondary screen. I only have one screen and I have only ever had one screen.

    I looked through Display and Monitor in System Settings but there is no indication that I have more than one monitor.

    Q2. How can I revert back to DISPLAY=:0 ?

    Any Help? Please?

    Thanks
Working...
X