virtual studio code gui launches fine from my two x-render options [mobaxterm and x-win32/ssh] but fails on Gnome gui remote graphics - graphics

Latest rpm version of virtual studio code gui launches fine from my two x-render options [mobaxterm and x-win32/ssh] but fails to launch gui from either of my remote graphics Gnome Desktop solutions [x-win32 LIVE and NICE DCV], aside from --disable-gpu, which failed to help, what else would cause this topic when DISPLAY environment variable is set in all cases?

Related

Can I use same software after switching Window Manager or Desktop Environment in Linux

Suppose I am using Kubuntu.
So I have Kwin as Window Manager and
KDE as Desktop Environment.
I use VSCode and other software.
I am switching to other Desktop Environment and Window Manager alongside Kwin and KDE.
Note: This means I will have both KDE and other Desktop Environments installed on my computer and I will switch between these from login screen. [Same for window manager]
Now, If I switch to Cinnamon Desktop Environment or GNOME Desktop Environment or any other Desktop Environment.
or if I switch to i3, bspwm, dwm Tiling Window Manager or Fluxbox, Openbox Stacking/Floating Window Manager.
or switched both Desktop Environment and Window Manager.
Now can I use the same VSCode and other softwares on these different Desktop Environment and Window Manager? or do I need to install same software for each of these Desktop Environments and Window Managers?
All your self installed programs will work fine in whatever environment you choose.
For maximum compatibility, you should still prefer x11 over Wayland as display server - for example screen sharing in ms teams needs x11, last time I checked. This depends on your personal needs.
Although you can always start any program from a terminal, we usually like to have a graphical menu of some kind that lists all available GUI apps. Desktop environments all contain their own menu.
If you go down the window manager route, you are expected to install a launcher yourself (such as dmenu or rofi), and configure keyboard shortcuts to launch each one of your favorite apps.
I recommend watching DistroTube on YouTube for lots of good info about tiling window managers and Linux in general.

How to configure Mabinogi to run in Lutris?

I'm attempting to play Mabinogi by Nexon on Linux Mint 20 (Ulyana) using Lutris. I've previously used Lutris to play Heroes of the Storm but otherwise don't have much experience with it (or with gaming on Linux, in general). There's no installer on the Lutris website for Mabinogi like there was for Heroes of the Storm, so I was on my own to try and figure everything out.
What I've tried
I started by downloading the Nexon Launcher Installer from their website. I configured Lutris to launch this executable using Wine within a simulated Windows environment. When it first launched I noticed several files were created ("drive_c", "Program Files", "Users", etc -- mimicking a Windows file system). The launcher installer ran without issue and I installed the launcher to "C:\Program Files (x86)\Nexon"
I then re-configured Lutris to try and launch the Nexon Launcher instead of the Nexon Launcher Installer. When I hit "Play" in Lutris, nothing happened. Running ps -ax | grep "Nexon" showed that it was theoretically running, but there was no window or visible UI even after several minutes of waiting. I checked the Lutris logs and noticed a message about a file missing (something like "10000.manifest.hash"). I Google'd this error and found plenty of people in Windows who had trouble running the Nexon Launcher with the same error, and the solution was to just install Mabinogi through Steam.
So next I downloaded the "Wine Steam" runner in Lutris and set this as the runner for Mabinogi, plugging in the app ID (212200). After Steam installed, launched, logged in, and downloaded Mabinogi I tried to launch the game. This time I saw a window pop up saying "Mabinogi is launching" and in the bottom-right the Nexon Game Security icon popped up, but then everything closed and the game never started.
Finally out of desperation I tried setting up a virtual computer using VirtualBox to play the game in its native Windows environment. I installed Windows 7 (the minimum required version according to the Nexon website). I downloaded Mabinogi through Steam on the virtual box. Upon trying to launch Mabinogi, I received the error error: "api-ms-win-crt-runtime-l1-1-0.dll is missing". I'm curious if this error is related to why I couldn't get Mabinogi working in Lutris.
Looking at a game that I had previously played in Lutris (Heroes of the Storm), I noticed a very similar DLL was listed in the "DLL overrides" section: "api-ms-win-crt-private-l1-1-0.dll". So I tried adding the runtime DLL to the overrides in Mabinogi with the same value ("n,b") - but this didn't work.
Looking at the Lutris logs when I try to launch Mabinogi through Wine Steam, there are several errors from \main\game-launch.js:109. I'm not sure if this JS script is part of Lutris of part of the Nexon Launcher, but it could provide some hints. Among the logs the following lines stand out as potentially meaningful:
...
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
...
fixme:d3d12_get_vk_physical_device: Could not find Vulkan physical device for DXGI adapter.
fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 2560, may be inaccurate.
...
warn: OpenVR: Failed to locate module
...
What I don't know
I'm not familiar with using Wine and I've never written a Lutris installer. Up until now I've only ever run Linux binaries on Linux and Windows binaries on Windows. So there's a lot I don't understand, like: What's Vulkan? What's DXVK? How do "override DLLs" work? Do I need to provide alternative DLLs for anything I want to override? What does the value "n,b" mean in the DLL override?
I'm welcome to any help
After a lot of work and research, I've gotten as far as I can and figured out where the major road block lies. The simple answer is: You cannot run Mabinogi in Lutris
Mabinogi uses an anti-cheat system that runs in kernel mode (ring 0). Wine runs in user mode (ring 3) and therefore cannot run this anti-cheat program.
The only solution is to play Mabinogi within a virtual machine (e.g. VirtualBox), since VMs run on a hypervisor (which from my understanding is kind of like a "negative" ring number, but effectively ring 0)
If you want to try some other Nexon games, I got the Nexon Launcher working in Lutris / Wine fairly easily. The trick was to download the latest Nexon Launcher since the older one (linked on the Mabinogi website) isn't sending a valid request to download the manifest file so it gets a 403. The latest launcher can be downloaded here: https://games.nexon.net/nexonlauncher

How to use ec2 instance as personal dev box using intellij as IDE?

I have searched the questions and have not found an answer to this one:
I am developing an existing project (git repo) that runs only on Linux. For the time being I have at my disposal only a windows laptop which I cannot modify. This laptop has Intellij installed and internet access. I cannot, for example, create a Linux VM on this laptop.
Is there a way I can put the project code on an Amazon ec2 Linux instance and build the project on that instance, while viewing and developing the code in Intellij? All compilation and code execution has to be done remotely, on the ec2 Linux instance. I cannot build locally and push from the windows laptop.
2 possible configurations might be:
(1) install intellij on the ec2 instance and x-window in from windows to view the intellij screens;
(2) use the intellij on the Windows laptop and somehow point the intellij to the ec2 instance in order to view, edit, build, and run the project on that instance.
Any ideas are greatly appreciated!
ec2 with enough memory for development is billed / hour. For 32gb RAM it's >$80/month (always online ~450h).
You could use wls 2 under windows. You can install IDEA and use it trough X server like
VcXsrv and access to windows files. It's not the best idea to run full GNOME (even xfce4). Google chrome also works very well
Downsides are:
(still) slow access to drive compared to raw Linux
I cannot configure WSL to access same VPN as in Windows. It simply cuts off internet connection for WSL while I click connect in windows.

Effiecient Windows to Linux desktop sharing solution that support multiple screens

I am looking for an efficient Windows to Linux desktop sharing software that support multiple screen.
As of now my team develops (mustly Scala) code on our local windows machines (laptops).
For various reasons the data we are working on can't usually be copied to our local machines.
Currently we quite frequently need to exports our code/jars to a different environment that is also connected to an Hadoop cluster containing the data.
We are looking for a desktop sharing solution that will enable us to develop and execute code on remote, strong, stable Linux machines, that are connected via broadband connection to our data clusters.
Its crucial for us that the solution above will be able to run remote GUI based developing tools such as IntelliJ on the Linux machines and display them on our local Windows machine multiple screens smoothly.
Any recommendation?
Thanks in advance,
Mishael
One of the options is to use Cygwin - this will allow you to run UI applications from a remote server on your Windows environment
In order to that you should do the following:
A. On Windows side:
Download and install Cygwin/X from : http://x.cygwin.com/
In the Cygwin/X installer make sure the following packages are chosen:
xorg-server (required, the Cygwin/X X Server)
xinit (required, scripts for starting the X server: xinit, startx,
startwin)
X-start-menu-icons (optional, adds icons for X Clients to the Start menu)
xorg-docs (optional, man pages)
font-bh-ttf
font-bitstream-vera-ttf
Setup X Launcher
Create a new shortcut on your desktop which points to the following (assume your cygwin was installed in c:\software):
C:\software\cygwin\bin\run.exe C:\software\cygwin\bin\XWin.exe -multiwindow -clipboard -ac
Double click the shortcut you just created :) this will start small icon on the left side of windows taskbar.
B. On Linux side
login to your remote server for the same windows machine (use any terminal - e.g Putty)
set the DISPLAY parameter your server:
export DISPLAY=<windows-host-name>:0.0
now you can run any application that requires GUI and it will open up on your windows machine
:)

Xserver on Windows7

I have been using X11 with windows Maker provided with cygwin package for multi windows in windows Xp. Currently I am moving to windows 7 but unable to install cygwin.
Is there any other multi windowing system like windows maker for cygwin on windows ?
Thanks for your help in advance.
~ JJA
I really like to use MobaXterm as nice ssh client, but more importantly as very lightweight and fast X server for Windows.
Typical usage on Windows: start MobaXterm, then from its console ssh user#linux-box. Now, you can simply execute any GUI program on your Linux box, like gedit, eclipse, etc., and it simply works! This is because MobaXterm automatically supports forwarding of you graphical DISPLAY from Linux to Windows.
This method for remote access works much faster than VNC. Performance is actually similar to Remote Desktop, if not even faster.

Resources