You are not logged in.

#1 2015-10-01 22:25:33

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 730

[SOLVED] :8 Logout / Login cycle causes conky not to reappear.

Reproducible in both Microsoft Virtual PC and VMware Player, haven't tried on the real hardware yet, but it seems likely this is universal.

Steps to reproduce:
boot & login
logout without powering down
log back in.

Last edited by Bearded_Blunder (2015-10-02 06:41:38)


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#2 2015-10-01 23:07:58

damo
....moderator....
Registered: 2015-08-20
Posts: 5,249

Re: [SOLVED] :8 Logout / Login cycle causes conky not to reappear.

Bearded_Blunder wrote:

Reproducible in both Microsoft Virtual PC and VMware Player, haven't tried on the real hardware yet, but it seems likely this is universal.

Steps to reproduce:
boot & login
logout without powering down
log back in.

I can't reproduce this either in VBox or harddrive installation - conky behaves as expected for me.

There was a `bl-conky-session` bugfix earlier, which fixed the default `~/.conkyrc` not restarting from the menu "Reload Conkys", but I have tried with both the iso version and the github version, and don't see your issue.

Do you have a conky sessionfile - `~/.config/conky/conky-sessionfile`? It shouldn't make a difference, but...


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2015-10-01 23:34:48

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,029

Re: [SOLVED] :8 Logout / Login cycle causes conky not to reappear.

or ~/.xsession-errors. If something is causing your conky to not load properly, the error output will end up there.

Offline

#4 2015-10-02 00:16:38

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 730

Re: [SOLVED] :8 Logout / Login cycle causes conky not to reappear.

@damo it appears i don't, goodness knows why that would be the case in virtual machines...

Reason I'm sure is because following the clue given by @tknomanzr
~/.xsession-errors

Xsession: X session started for beardy at Fri  2 Oct 00:49:57 BST 2015
localuser:beardy being added to access control list
Failure: Module initialization failed
ERROR: sessionfile "/home/beardy/.config/conky/conky-sessionfile" not found. Using default
tint2 : nb monitor 1, nb monitor used 1, nb desktop 2
Loading Faenza-Dark-Bunsen. Icon theme : 'Faenza-Dark-Bunsen', 'Faenza-Bunsen', 'gnome', 'hicolor',
launcher.c 215: Using icon /usr/share/icons/Faenza-Bunsen/apps/22/web-browser.png
launcher.c 215: Using icon /usr/share/icons/Faenza-Bunsen/apps/22/system-file-manager.png
launcher.c 215: Using icon /usr/share/icons/Faenza-Bunsen/apps/22/accessories-text-editor.png
launcher.c 215: Using icon /usr/share/icons/Faenza-Bunsen/apps/22/utilities-terminal.png
Conky: forked to background, pid is 6720

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0x2c00001
  Serial number of failed request:  196
  Current serial number in output stream:  197

(thunar:6645): GLib-CRITICAL **: Source ID 90 was not found when attempting to remove it

(thunar:6645): GLib-CRITICAL **: Source ID 177 was not found when attempting to remove it

(thunar:6645): GLib-CRITICAL **: Source ID 182 was not found when attempting to remove it

... 

Results from a terminal without arguments

beardy@Bl-Test-Rig-VMplayer:~$ bl-conky-session
/usr/bin/bl-conky-session: line 78: /home/beardy/.config/conky/conky-sessionfile: No such file or directory

and it fails to start.

With the argument --autostart

beardy@Bl-Test-Rig-VMplayer:~$ bl-conky-session --autostart
ERROR: sessionfile "/home/beardy/.config/conky/conky-sessionfile" not found. Using default
Conky: forked to background, pid is 6964
beardy@Bl-Test-Rig-VMplayer:~$ 
Conky: desktop window (191) is root window
Conky: window type - normal
Conky: drawing to created window (0x3400001)
Conky: drawing to double buffer

and it does start, till I logout and back.

Something is screwey, my changed screen resolution doesn't seem to carry across reboots either.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#5 2015-10-02 00:22:47

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,029

Re: [SOLVED] :8 Logout / Login cycle causes conky not to reappear.

OK. The changed screen resolution is a separate issue, that is easy enough to fix. Once you get stuff setup in arandr, go to layout --> Save As, and save it somewhere into ~/user/.screenlayout, then add that file to your autostart script.
So for instance I saved
Example:

~/user/.screenlayout &

If for some reason, it does not work it may need to sleep a bit such as:

sleep 2s && ~/user/.screenlayout &

This method will persist your resolutions across reboots and is even useful for multi-monitor setups, assuming you have your multi-monitor stuff setup correctly.

Offline

#6 2015-10-02 00:29:13

damo
....moderator....
Registered: 2015-08-20
Posts: 5,249

Re: [SOLVED] :8 Logout / Login cycle causes conky not to reappear.

There isn't a conky-sessionfile created until you use the Conky Chooser, so the default ~/.conkyrc is a fallback. This caused a problem when using Reload Conkys, so I've pushed a fix for that (github link in a previous post), which will appear in the repos at some point.

If you use the Conky Chooser and pick `$HOME/.conkyrc`(therefore creating a sessionfile), does the problem persist?


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#7 2015-10-02 01:02:45

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 730

Re: [SOLVED] :8 Logout / Login cycle causes conky not to reappear.

That caused me to get no conky at all, although the screen res fix worked.

Edit: Dunno if this is useful or not, but the logout/login process or a reboot causes conky chooser to uncheck whatever box I had previously checked although the conky-sessionfile remains present.

SOLVED .. turned out something screwey *was* going on.. rebooted host machine, when I played with B-L as guest OS again, everything was fine suddenly....

Last edited by Bearded_Blunder (2015-10-02 06:43:12)


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

Board footer

Powered by FluxBB