GhostBSD 18.10: GSmartControl unable to run because of GTK issues

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
demetrioussharpe
Posts: 3
Joined: Sat Dec 15, 2018 3:21 pm
Has thanked: 0
Been thanked: 2 times

GhostBSD 18.10: GSmartControl unable to run because of GTK issues

Post by demetrioussharpe » Sat Dec 15, 2018 3:32 pm

While trying to run GSmartControl after a fresh installation of GhostBSD 18.10, I continue to receive a GTK warning that results in the program not being able to run. GSmartControl was not included by default in past releases of GhostBSD, but it is now included. Even in past versions, I've had the same problem. I have no idea how to solve it, and I'm wondering if anyone else is having the same issue. It's very rare for a default installation to have apps that behave in this manner. GSmartControl requires superuser privileges, so I tried running it from the command line from 'su'. Here is the result:

Code: Select all

gsmartcontrol-root -v
<dump>  [app] Application options:
<dump>  [app] 	locale: 1
<dump>  [app] 	version: 0
<dump>  [app] 	hide_tabs: 1
<dump>  [app] 	scan: 1
<dump>  [app] 	arg_add_virtual: [empty]
<dump>  [app] 	arg_add_device: [empty]
<dump>  [app] 	arg_gdk_scale: nan
<dump>  [app] 	arg_gdk_dpi_scale: nan
<dump>  [app] LibDebug options:
<dump>  [app] 	levels_enabled: 11111
<dump>  [app] 	debug_colorize: true
<dump>  [app] (): Global config file: "/usr/local/etc/gsmartcontrol.conf"
<dump>  [app] (): Local config file: "/root/.config/gsmartcontrol/gsmartcontrol.conf"
<dump>  [app] (): Old local config file: "/root/.gsmartcontrolrc"
<dump>  [rconfig] /                    [3] /                    
config               [4] /config              
default              [4] /default             
<info>  [rconfig] Setting autosave config file to "/root/.config/gsmartcontrol/gsmartcontrol.conf"
<info>  [rconfig] Starting config autosave with 180 sec. interval.
Unable to init server: Could not connect to 127.0.0.1: Connection refused

(gsmartcontrol:15335): Gtk-WARNING **: 18:57:33.217: cannot open display: 

demetrioussharpe
Posts: 3
Joined: Sat Dec 15, 2018 3:21 pm
Has thanked: 0
Been thanked: 2 times

Re: GhostBSD 18.10: GSmartControl unable to run because of GTK issues

Post by demetrioussharpe » Sun Jan 06, 2019 10:50 pm

I found the problem. Apparently, the command listed in the menu ".../bin/gsmartcontrol-root" should instead be ".../sbin/gsmartcontrol".
These users thanked the author demetrioussharpe for the post:
liam (Mon Jan 07, 2019 8:15 pm)
Rating: 50%

Post Reply