Export Display in Linux



 Export Display in Linux-
 
If you login Linux Server through putty at that time you can EXPORT DISPLAY-- 
 
[root@ip-10-46-113-21 ~]# echo $DISPLAY
10.46.113.21:2.0 
 
[root@ip-10-46-113-21 ~]# DISPLAY=10.46.113.21:2.0;
 
[root@ip-10-46-113-21 ~]# export DISPLAY
 
[root@ip-10-46-113-21 ~]# xhost +
 
access control disabled, clients can connect from any host

No comments:

java.sql.SQLSyntaxErrorException: Access was denied to the user in MySQL 8.4.

 java.sql.SQLSyntaxErrorException: Access denied for user 'SIT'@'%' to database 'SIT' means the MySQL user SIT does ...