PROCESS OVERVIEW:
In order to obtain the ability to interact with an X11 GUI remotely, we will follow these general steps:
- Ensure that the foundational X11 packages are installed
- Ensure that OpenSSH server is configured to forward X11 connections
- Configure a local X11 server on our workstation (You can use MobaXterm too)
- Configure our ssh application to forward X11 requests ( I'll use MobaXterm, however, Xming can also be installed at local machine.)
- Test with a simple application
- Configured authentication if user changes are needed.
2. # cat /etc/ssh/sshd_config | grep -i X11
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no
# service sshd restart
Redirecting to /bin/systemctl restart sshd.service
3. Xming or MobaXterm need to be installed on the workstation.
4. Try to connect the server by mentioning the hostname on MobaXterm. However, for putty you need to check "X11 forwarding" under SSH settings.
5# /usr/bin/xauth
Using authority file /root/.Xauthority
xauth> exit
#xclock
#xeyes
From Putty: We need to set the display as below:
# xauth list
server:10 MIT-MAGIC-COOKIE-1 5a5f2e0832b24f8c3391614cec512363
# export DISPLAY=server:10
# xclock
Warning: Missing charsets in String to FontSet conversion
6. Suppose We need to run the X11 for a particular user - webadmin
[root@server~]# su - webadmin
Last login: Mon Sep 9 14:59:35 IST 2019 from vp-1c2oadc062.1dc.com on pts/0
[webadmin@server~]$ xclock
Error: Can't open display:
[webadmin@server~]$ xauth list
xauth: file /home/webadmin/.Xauthority does not exist
# cp .Xauthority /home/webadmin/ (from root)
#chown webadmin:webadmin /home/webadmin/.Xauthority (from root)
#chown webadmin:webadmin /home/webadmin/.Xauthority (from root)
#[webadmin@server~]$ xauth
Using authority file /home/webadmin/.Xauthority
xauth> exit
[webadmin@server~]$ xauth list
server:10 MIT-MAGIC-COOKIE-1 8d2414ef1216a5ef3b276866c490311c
export DISPLAY=server:10
[webadmin@lipvap1077 ~]$ xclock
Warning: Missing charsets in String to FontSet conversion
[webadmin@lipvap1077 ~]$
Thanks for Sharing!
ReplyDeleteReally a nice post.
Now You Can Easily Download Every Crack Software From Here*
Please Visit!
FastKeys Crack
MobaXterm 21.4 crack
Nitro Pro Enterprise crack
SlimWare DriverUpdate crack
MediaHuman YouTube Downloader crack
Such a Nice post. Thanks for Awesome tips Keep it up
ReplyDeletemobaxterm-crack
Great set of tips from the master himself. Excellent ideas. Thanks for Awesome tips Keep it up
ReplyDeletemobaxterm-crack
teamviewer-crack
ultramixer-crack
faststone-capture-crack
Thanks for sharing the crack but you need to update this version because here new version Available below;
ReplyDeletehttps://licensedinfo.com/fastkeys-crack/
Thanks for sharing the crack but you need to update this version because here new version Available below;
ReplyDeletehttps://licensedinfo.com/mobaxterm-crack/
After looking through a few blog articles on your website,
ReplyDeletewe sincerely appreciate the way you blogged.
We've added it to our list of bookmarked web pages and will be checking back in the near
future. Please also visit my website and tell us what you think.
Great work with hard work you have done I appreciate your work thanks for sharing it.
CrackBins Full Version Softwares Free Download
MediaHuman YouTube Crack
My response on my own website. Appreciation is a wonderful thing...thanks for sharing keep it up. MobaXterm Pro Crack
ReplyDeleteI read this article! I hope you will continue to have such articles to share with everyone! thank you! You can Visit my website
ReplyDeletehttps://icracker.net/https://icracker.net/
a4scandoc crack
ytd video downloader pro crack
wondershare pdfelement pro crack
I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. suripc.com I hope to have many more entries or so from you.
ReplyDeleteVery interesting blog.
MobaXterm Professional Crack