Changing Timezone in MobaXterm from GMT

Abstract: Resolve MobaXterm displaying GMT by configuring the remote Linux server's timezone via timedatectl or /etc/timezone.

Created: 2026-09-26 by
To change the timezone in MobaXterm from GMT, you must modify the environment variables on the remote Linux server itself, as MobaXterm merely reflects the system time of the connected host. You can achieve this by editing the /etc/timezone file or using the timedatectl command within an SSH session. This ensures that all logs, timestamps, and scheduled tasks align with your local geographic region rather than the default Greenwich Mean Time.

Understanding Timezone Behavior in MobaXterm

MobaXterm is a comprehensive terminal emulator that provides enhanced Unix commands, a tabbed SSH interface, and X11 forwarding. However, it does not possess a native global setting to override the timezone for every connection. Instead, the timestamp displayed in the MobaXterm interface and logged in sessions is derived directly from the operating system of the remote server you are accessing.

If your server is configured to use GMT (UTC), all activity will be recorded in that standard time. For users working across different regions, this discrepancy can cause confusion when analyzing log files or coordinating with teams. The solution lies not in the MobaXterm client settings, but in configuring the underlying Linux distribution correctly. This approach guarantees consistency across all tools, including WinSCP, which may also rely on the server's system clock for file transfer timestamps.

Method 1: Using timedatectl (Recommended)

The modern standard for managing time on most Linux distributions, such as Ubuntu, Debian, CentOS, and Fedora, is the systemd utility known as timedatectl. This tool provides a clean and safe way to adjust system time without manually editing configuration files.

  1. Open an SSH Session: Launch MobaXterm and establish a connection to your remote server using your preferred credentials.
  2. List Available Timezones: Run the following command to see a list of all valid timezone identifiers:
timedatectl list-timezones

This output will display thousands of entries formatted as Region/City, such as America/New_York or Europe/London.

  1. Set the Desired Timezone: Once you have identified the correct identifier, apply it using the set command. Replace Your/Timezone with your specific choice:
sudo timedatectl set-timezone Your/Timezone

For example, to switch to US Eastern Standard Time, you would use America/New_York. The command executes immediately, and subsequent outputs from date will reflect the new setting.

Method 2: Editing /etc/timezone Manually

In some minimal installations or older systems where systemd is not present, you may need to edit the timezone configuration file directly. This method requires careful attention to syntax to avoid breaking other services.

  1. Access the Configuration File: Use a text editor like nano or vi to open the timezone file with root privileges:
sudo nano /etc/timezone
  1. Update the Content: Delete the existing content (which likely reads Etc/GMT or UTC) and replace it with your desired timezone string, such as America/Chicago.
  2. Save and Exit: Press Ctrl+O to save and Ctrl+X to exit if using nano.

After saving, you should run dpkg-reconfigure tzdata on Debian-based systems to ensure symlinks and other dependent configurations are updated correctly.

Verifying the Change

Regardless of the method used, verification is crucial to ensure the change has propagated correctly. Open a new terminal tab in MobaXterm to ensure you are not looking at cached data from a previous session.

Run the date command. The output should now display the abbreviation corresponding to your new timezone (e.g., EST, CST, CET) instead of GMT or UTC. Additionally, check the system status using timedatectl status if available. This command provides a summary view showing whether the system clock is synchronized via NTP and confirms the current local timezone setting.

Impact on Connected Tools

Changing the server timezone affects all applications running on that host. If you are using WinScp integrated with MobaXterm, file modification times will now reflect your local business hours rather than GMT. This is particularly useful for auditing purposes, ensuring that audit trails match human working schedules.

Furthermore, cron jobs and scheduled scripts will execute based on the new local time. It is important to review any existing cron entries to ensure they do not conflict with daylight saving time changes if your chosen timezone observes them. Most modern scheduling tools handle DST automatically, but manual scripts relying on absolute hour offsets may require adjustment.

Frequently Asked Questions

Does changing the timezone affect NTP synchronization?

No, changing the timezone does not disrupt Network Time Protocol (NTP) synchronization. NTP synchronizes the actual clock ticks (seconds since epoch) with a reference server, while the timezone setting only determines how those ticks are formatted for display. Your server will remain accurate regardless of the timezone offset applied.

Can I set a custom timezone that is not in the standard list?

Standard POSIX timezones cover nearly all practical needs, but if you require a highly specific offset, you can use the TZ environment variable temporarily. However, for permanent system-wide changes, it is recommended to stick to the IANA timezone database entries provided by timedatectl to maintain compatibility with system utilities.

Why do my logs still show GMT after changing the timezone?

If logs continue to display GMT, check if your logging daemon (such as rsyslog or journald) is explicitly configured to force UTC output. Some security policies mandate UTC logging for forensic consistency. You may need to adjust the logger configuration or accept that while the system displays local time, critical logs remain in UTC for legal compliance.

How does this change impact Windows scheduled tasks via Cygwin?

If you are running Windows-specific tools through MobaXterm's Cygwin environment, those processes inherit the Windows system timezone unless overridden. Linux subsystems inside MobaXterm operate independently. Ensure you are modifying the Linux container's timezone, not the host Windows registry, if you want SSH sessions to reflect local time.

What happens during daylight saving time transitions?

Most modern Linux kernels and systemd components automatically handle daylight saving time transitions for supported timezones. The system clock continues ticking linearly, and the displayed time shifts by one hour when the transition occurs. No manual intervention is required unless you are using legacy tools that do not support DST-aware formatting.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More