FAQ #34
Windows no longer shows channels when connecting to a smuxi-server running on Ubuntu 11.10
Category: | Troubleshooting | Difficluty: | |
Assigned to: | - | Due date: | |
Related issue: | - | Related Message: | - |
Related version: | - | Views: | 228 |
Valid: | Valid |
Answer
This probably means the smuxi-server is running on Mono 2.10 which uses the .NET 4.0 runtime profile while the Windows frontend uses the .NET 2.0/3.5 runtime profile.
To verify if the smuxi-server uses .NET 4.0, run this command:monodis --assemblyref /usr/lib/smuxi/smuxi-server.exeIf that shows output like this:
AssemblyRef Table 1: Version=4.0.0.0 Name=mscorlib Flags=0x00000000 Public Key: 0x00000000: B7 7A 5C 56 19 34 E0 89
See the Version=4.0.0.0? That means smuxi-server runs on .NET 4.0
Now you need to force the smuxi-server to use the .NET 2.0/3.5 profile again by starting it like this:mono --runtime=v2.0.0.0 /usr/lib/smuxi/smuxi-server.exeOr you need to force the Windows frontend to use the .NET 4.0 profile by adding a smuxi-frontend-gnome.exe.config file to the application directory with this as content:
<?xml version="1.0"?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup> <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> </configSections> <log4net> <root> <level value="DEBUG" /> <appender-ref ref="ConsoleAppender" /> <appender-ref ref="RollingFile" /> </root> <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date [%thread] %-5level %logger - %message%newline" /> </layout> </appender> <appender name="RollingFile" type="log4net.Appender.RollingFileAppender"> <file value="smuxi-frontend-gnome.log" /> <appendToFile value="true" /> <maximumFileSize value="10240KB" /> <maxSizeRollBackups value="1" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date [%thread] %-5level %logger - %message%newline" /> </layout> </appender> </log4net> </configuration>