Improve this question. That is: -r tells it to restart, hh:mm sets a specific time, +mm sets a countdown.) Update: I switched to using VcXsrv as an X-server instead of using MobaXterm. How To. The X server supports OpenGL rendering and the latest extensions in order to allow you to run up-to-date applications through it. This X server is based on the well-known Xorg server and compiled in order to run natively on Windows platform. I'm not sure how to configure xauth. Sudo works for a brief period of time. 1,709 6 6 gold badges 25 25 silver badges 32 32 bronze badges. Share. In this tutorial, you have learned how to restart a Linux server from the command prompt. However, in some cases you may need to start a graphical application like nedit or firefox in a sudo or su context. Open MobaXterm and Connect to your Linux Desktop/Server: Use sudo on Login. If you want to execute Sudo commands without having to enter the Sudo shell each time, you can enable passwordless sudo. 1.4. If are root or if you have issued sudo killall you will reboot your computer! MobaXterm has a lot of different features but the one we care about is that it can run an X server session. Follow asked Aug 6 '09 at 16:19. The sudo command runs any command as another user account and is commonly used to elevate permissions so that the command is run with elevated security privileges (which in Linux terms is known as the root user). Setting Up MobaXterm to Run Graphical Linux Apps. To run as another user for a prolonged period of time, use the su command. In order to achieve this, you could manually retrieve X credentials in the su/sudo context by looking up the “xauth list” for the original username and then … Display X11 session in a Window. The sudo reboot command can be switched out for sudo shutdown and the above options above can be used. Method 2 – adding passwordless sudo to Linux via sudoers file. For putty, simply provide the IP address and hit ENTER. The SFTP and SCP protocols allow for this, but the actual method is platform dependent. Additionally, you can use an ssh client like Putty or MobaXterm especially if you are working on a windows environment. FTP protocol does not allow this. During the research for this article, this behavior was confirmed with the latest version of OpenIndiana Hipster 2018.10. Try: cat /etc/sudoers. How do i do this? Phil Phil. Users with permissions to ‘sudo’ are stored in /etc/sudoers – which will generally contain a line allowing ‘admin’ users to run sudo. In some cases (with Unix/Linux server) you may be able to use sudo command straight after login to change a user, before file transfer session starts. I thought that i could use xauth and sudo/su to user2 from user1 to run this application. I noticed that the X11 desktop overlaps the Windows Desktop to the point that I cannot use Windows when running X Server. Conclusion. sudo apt-get install gnome-session-fallback; And in MobaXterm, enter ‘gnome-session-fallback’ instead of entering ‘gnome-session’ to start the session. Passwordless sudo is a configuration file change that, when enabled, will make every sudo command run without a password. The killall command operates in a similar way to the pkill command but with a specific difference. The permissions on /etc/sudoers is root read-only, so you’ll need to be in an ‘admin’ group to view it – but then only if you have permissions to run ‘sudo’. When you invoke sudo for the first time, you will get a brief summary of things to keep in mind. Thereafter, provide the user’s sudo password and hit ENTER. If you want to do the same, you can skip steps 1 and 2 here, but you’ll still need to do step 3. Download MobaXterm. MobaXterm is a free Xserver and tabbed SSH client for Windows Operating Systems. MobaXterm is a free Xserver and tabbed SSH client for Windows Operating Systems which allows you to run native Linux Applications like they are running on your Windows. linux sudo. X11 server A X11 server is embedded into MobaXterm executable.