Export display is quite important for people that work in data center since it is impossible to put every server with a monitor, well actually you can do it with KVM switch, but then you still have to walk to get them. With this way you don’t have to do it, the requirement is only good network connection and strong computer to handle all the GUI😀
In the case where your server doesn’t have any VGA card, so it’s impossible for you to plug in your monitor and all you can do is to connect by terminal server using COM port, you can try to export your Server’s Desktop into your desktop using export DISPLAY. This also will be useful if you employ a tight security option in your server, for example all of the port in your server is closed but port 22 or 23, then to make a remote desktop connection you can try this option.
In my environment I’m using a Windows PC but then I want to Remote Desktop My Solaris and OpenSuse, but I only have PuTTy and Xmanager as my communication tools with them. So what I can do is make a little modification in PuTTy configuration by enabling X11 forwarding, by going to category, connection, SSH, Tunnels, in X forwarding part tick enable X11 forwarding.
Before you need to turn on your Xmanager, by clicking Xmanager – Passive. Xmanager works as the one who receive export command from your Unix box, and turn it into GUI in you. After that click session and put your destination’s IP address, put some credentials. When you already able to login;
- For OpenSuse to start KDE as desktop, just type startkde
- For Solaris 10 to start JDS as desktop, just type gnome-session
- For the other operating system I haven’t try it😀
For any application that has GUI and you want to display it in your desktop, you just need to type the comment, for example
- If we want to start Mozilla browser from Solaris 10 in our Windows Desktop, in PuTTy just type /usr/sfw/bin/mozilla
- If we want to start FYast2 from OpenSuse in our Windows Desktop, in PuTTy just type yast2
- It will apply to any application that has GUI, just type the command to start it.
Anyway we can also do it from our OpenSuse PC, we don’t need any tools to do it. To do it go to console type this in your PC:
- xhost + #it will replace the function of Xmanager, I think it came from X windows packet
- ssh -X user@comp # it will replace PuTTY function, already built in the system
When you already in the remote computer type:
- set DISPLAY your-ip-address =:0.0
- export DISPLAY
- type anything to start the GUI of the application
For Solaris you can do the same thing😀
Anyway there are something that you have to know if you want to remote desktop an OpenSuse with KDE and your computer is using KDE also your Desktop won’t be displayed, it does display something, it just too many error in it, for that I don’t know how to fix that😀