Windows Terminal will be delivered via the Microsoft Store in Windows 10 and will be updated regularly, ensuring you are always up to date and able to enjoy the newest features and latest improvements with minimum effort. Windows Terminal key features Multiple tabs. You’ve asked and we’ve listened!
Active5 years, 8 months ago
From Mac OSX I login to a remote server that handles parallel computing jobs. I am not able to install anything on this server as it is administered by the university.I have multiple jobs running and want to monitor the log file in the following way:
Right now I have four jobs running, I open four terminal windows, SSH four times into the server, and do the
tail command four times for the different logfiles (which are in different folders on the server).I have the feeling that I'm doing this in a sub-optimal way and am looking to just SSH once, then from one terminal window open all the four log files in separate windows (or tabs) with the tail command.
Is this possible? Or is it mandatory to sign in four times?
Saaru Lindestøkke
Saaru LindestøkkeSaaru Lindestøkke
93322 gold badges1111 silver badges3434 bronze badges
4 Answers
The screen utility will allow to have multiple windows in a session. (You will have to install it on the server end)
This guy shows you the commands for how to split your views within the same terminal window.
It's also useful for re-connecting to a dropped session.
UPDATE:
Note that screen and tmux sessions will all 'live' within one session which will still only give you one window or tab on OSX terminal app itself (even though these utilities allow you to have multiple 'windows/views' within that view). See comments from this user:
ssh connections are a single process running in one shell, and when you create a new tab you are creating a new local shell that will not be running this process. Furthermore the remote server will not accept a duplicate connection from you without authentication. In essence, this is impossible to do. The closest thing you can do is make use of the bash history, and press the up arrow to scroll through your most recent commands until you get to the ssh command you used for your current connection, and then execute it.
If you still desire to have multiple windows/tabs in the OSX terminal app itself you will need to 'login' multiple times. Several users have created scripts to try to aid this process.
This users solution might work best for you. This user creates a menu for his remote connections.
Other solutions I've seen only work with local sessions, but the idea is similar.
Community♦
dtmlanddtmland
1,95611 gold badge1414 silver badges2828 bronze badges
tmux is a newer option similar to screen. It may be easier to find for newer operating systems than screen. You can find the documentation here
MobiusMobius
My personal favorite tool for this is Byobu. It sits on top of tmux or screen, and has nice addons built into it on those programs to make easier to see how many terminals you have open. Really, it just makes those programs easier to use.
supercheetahsupercheetah
54144 gold badges99 silver badges2525 bronze badges
Poderosa - a tabbed terminal emulator for Windows.
Screenshot: http://www.ziggi.com.br/imagens_programas/screenshots/big_1262696847_32495.jpg
MrCricketMrCricket
Not the answer you're looking for? Browse other questions tagged linuxmacossshterminal.app or ask your own question.
Like in previous client versions of Microsoft operation systems, users of Windows 10 Pro and Enterprise (but not Home) editions can connect their computers remotely using Remote Desktop Connection (RDP) service. However, there is a restriction on the number of simultaneous RDP sessions: only one remote user can work at a time. When you try to open a second RDP session, the session of the first user is prompted to be closed.
Another user is signed in. If you continue, they’ll be disconnected. Do you want to sign in anyway?
The fact is that the desktop editions of Microsoft operating systems have the following basic limitations when using the Remote Desktop service:
Actually, the number of simultaneous RDP connections is limited rather by the license, which does not allow to create an RDP server based on the workstation for use by multiple users, than by any technical aspect. From a technical point of view, any Windows version, if there is enough memory, can support simultaneous operation of several dozens of remote users if there is enough memory (on average, 150-200 MB of memory is required for one session, without taking into account the launched apps). Those the maximum number of simultaneous RDP sessions in theory is limited only by computer resources.
Linux Multiple Terminal Windows
Tip. In Windows 10 Home editions, the incoming remote desktop connections are forbidden at all. The problem, however, can be solved using RDP Wrapper Library.
Let’s consider two ways on how to eliminate the restriction of simultaneous RDP connections to Windows 10:
Important. Initially, in the very first version of this article, the main working option that allows you to remove the limit on the number of simultaneous RDP connections was the way to modify and replace termsrv.dll file in the %SystemRoot%System32 folder. However, when you install a new Windows 10 build or some security updates, this file can be replaced. As a result, you have to edit this file using Hex editor each time, which is quite tedious. Therefore, as the main way to organize a free terminal server on Windows 10 is to use the RDP Wrapper Library utility.
Note. System modifications described in the article will be probably treated as a violation of Microsoft License Agreement with all the consequences that come with it.
RDP Wrapper Library
The alternative to termsrv.dll file modification is to use RDP Wrapper Library project. This software serves as a layer between SCM (Service Control Manager) and Terminal Services and allows not only to enable the support of several simultaneous RDP sessions, but also to enable the support of RDP Host on Windows 10 Home editions. RDP Wrapper does not make any changes to termsrv.dll file, it just loads termsrv library with the changed parameters.
Thus, this solution will work even in case of termsrv.dll file update. It allows not to be afraid of Windows updates.
Important. Before installing RDP Wrapper: it is important to use the original (unpatched) version of the termsrv.dll file. Otherwise, RDP Wrapper may not work stably, or it cannot be started at all.
RDP Wrapper can be downloaded from GitHub repository: https://github.com/binarymaster/rdpwrap/releases the latest available version of RDP Wrapper Library v1.6.2 was released relatively recently – December 28, 2017). Based on the information on the developer page, all versions of Windows are supported. Windows 10 is supported right up to the version of Insider Preview build 10.0.17063.1000 (from December 13, 2017).
Tip. By the way, RDP Wrapper Library source code is also available. It means that if required, you can compile executables by yourself.
RDPWrap-v1.6.2.zip archive contains some files:
To install the utility, run install.bat with the Administrator privileges. During the installation process, the utility accessing the GitHub site for the latest version of the ini file. To undo this, remove the -o flag in the install.bat file. The program will be installed in the C:Program FilesRDP Wrapper directory.
When the installation is over, run RDPConfig.exe. Make sure that all elements in Diagnostics section are green.
Note. In my case, since there is no Internet access on the computer, the program could not get the current version of the INI file settings from Github for my Windows edition. Therefore, the status is [not supported]. Download the rdpwrap.ini file from the development page and place it in the installation folder. Restart the service and make sure that [not supported] is changed to [fully supported].
Several interesting features of the new version of RDP Wrapper:
In the event that after updating the Windows version, RDP Wrapper does not work, check that the Listener state: Not listening is listed in the Diagnostics section.
Try to update the ini file using the update.bat script (or manually) and reinstall the service:
rdpwinst.exe -u
Try to open the second RDP session (make sure that RDP access is enabled in the system settings). It worked out well! Now, our Windows 10 allows two users to start RDP sessions simultaneously.
The Modification of termsrv.dll
Note. This method is applicable only to the RTM version of Windows 10 x64 (10240).
The restriction on the number of RDP connections can be eliminated using termsrv.dll file (a library file used by Remote Desktop Services) modification. The file is located in C:WindowsSystem32) directory.
Before termsrv.dll file modification, create its backup (if necessary, you can use the original version of the file):
copy c:WindowsSystem32termsrv.dll termsrv.dll_backup
Before termsrv.dll file editing, you have to become its owner and give the Administrators group the full rights to it (all steps are similar to those that described in the article “Enable Multiple Concurrent RDP Sessions in Windows 8”). After that, stop Remote Desktop service (TermService) in services.msc console or from the command prompt:
Net stop TermService
For Windows 10 x64 RTM edition (termsrv.dll file version is 10.0.10240.16384):
Open termsrv.dll file using any HEX editor (for example, Tiny Hexer)
Multiple Terminal Windows
Find the line:
39 81 3C 06 00 00 0F 84 73 42 02 00
Replace it with:
Best Terminal Program Windows 10B8 00 01 00 00 89 81 38 06 00 00 90
How To Open Terminal In Windows 10
Save the file and run TermService.
Terminal Windows Xp
The ready patched termsrv.dll file for Windows 10 Pro x64 can be downloaded here: termsrv_for_windows_10_x64_10240.zip
Multiple Terminal Sessions Windows 7Wi-Fi Network Disappears After Sleep/Wake/Hibernate in Windows 10October 4, 2019Installing SFTP (SSH FTP) Server on Windows with...October 2, 2019How to Disable UAC Prompt for Specific Applications...September 27, 2019How to View and Parse WindowsUpdate.log on Windows...September 25, 2019Multiple Terminal Sessions Windows 10Install RSAT Feature on Demand on Windows 10...September 17, 2019Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |