= Trouble Shooting - Software == Stopping Programs - **never** stop a not hanging program with ctrl+c - when a restart of the program is really necessary use .q instead - restarting a program is in most cases not a solution and only increase the risk to trigger more problems. So avoid restarting programs as long as possible == Starting Programs Do not forget **start.sh** before all programs! It makes sure that the programs are automatically restarted.[[BR]] When you start a program from /home/fact/operation, this is taken care of automatically by links. == vnc and screen == All programs are running all the time and run either in a screen or in a vnc session. For the screen sessions, there are configuration files which contain the setup such that all programs are started automatically.[[BR]] 0. check if a screen session is running (to a running session you connect with ''screen -x'') 0. if none is running start one with ''screen -c .screenrc_configfile'' (where the names and paths of these config files can be found below) More useful screen commands: [wiki:ScreenSessionHelpfulCommands] For the vnc-session: 0. check if a screen session is running, e.g. ''ps aux | grep vnc'' 0. if none is running, start one: ''vncserver :1'' where :1 stands for desktop 1. You can also give the size with e.g. ''--geometry '1600x1050' '' == List of needed software and the corresponding screen sessions === screen-session on NEWDAQ === see also /home/fact/.screenrc_newdaq on newdaq 0. dimserver /home/fact/operation/dimserver 0. mcp /home/fact/operation/mcp 0. fadctrl /home/fact/operation/fadctrl 0. datalogger /home/fact/operation/datalogger 0. drivectrl /home/fact/operation/drivectrl 0. lidctrl /home/fact/operation/lidctrl 0. biasctrl /home/fact/operation/biasctrl 0. pwrctrl /home/fact/operation/pwrctrl 0. ftmctrl /home/fact/operation/ftmctrl 0. feedback /home/fact/operation/feedback 0. ratecontrol /home/fact/operation/ratecontrol 0. ratescan /home/fact/operation/ratescan 0. fscctrl /home/fact/operation/fscctrl 0. temperature /home/fact/operation/temperature 0. magiclidar /home/fact/operation/magiclidar 0. magicweather /home/fact/operation/magicweather 0. tngweather /home/fact/operation/tngweather 0. agilentctrl-24V /home/fact/operation/agilentctrl 24V 0. agilentctrl-50V /home/fact/operation/agilentctrl 50V 0. agilentctrl-80V /home/fact/operation/agilentctrl 80V 0. gpsctrl /home/fact/operation/gpsctrl 0. sqmctrl /home/fact/operation/sqmctrl 0. gcn /home/fact/operation/gcn 0. chatserv /home/fact/operation/chatserv 0. dns /home/fact/operation/dns 0. bash === screen-session on GATE === see also /users/fact/.screenrc_gate on gate 0. smartfact /home/fact/FACT++/start.sh smartfact 0. evtserver /home/fact/FACT++/start.sh evtserver 0. bash === screen-session on AUX === see also /home/fact/.screenrc_aux on aux 0. timecheck /home/fact/operation/timecheck 0. bash == List of needed software and the corresponding vnc sessions === vnc-session on AUX === cosy (software for drive system) is running on aux to restart it: [[BR]] ''cd /home/fact/Drive/cosy''[[BR]] ''./cosy''[[BR]] === vnc-session on GUI === on gui you can start the old gui (not needed as you have smartfact) in case you need the old gui, go to the screen on gui and do[[BR]] cd operation[[BR]] ''fact''[[BR]] be aware that this is as defined in .bashrc