Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a PC running Opensuse 11.0 Linux. I currently login using ssh with putty. However this is a command line login. How to do a remote xserver login from windows to run a gnome or kde session. what software should I use? I have the root password for the Linux PC and admin privileges on vista.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Running a VNC server on your Linux machine is probably the fastest route to success here. Here's a nice article from Redhat that details making your desktop something you can access whenever, where ever using VNC. From your Windows machine you only need a freely and readily available VNC client to connect to your Linux machine and display your login session in all it's desktop UI glory. You've got a couple of choices for clients: RealVNC and TightVNC are two that come to mind.

The only downside I can think of with VNC is it's not the most efficient protocol. So if you're on a network with a lot of lag it can make your GUI sessions unpleasant. But on a LAN it's usually just a-okay.

Edit: Here's a guide for setting up VNC straight from the OpenSuSE project. Should make it easier to just yast in the pieces you need.

share|improve this answer
    
someone told me not to use VNC as it can be compromised easily by hackers. Are you aware of any security issues. what are the alternatives in that case? –  Rohit Banga Mar 12 '10 at 4:37
    
Are you behind a firewall? If yes: don't worry about it. If you're doing this over the public network then, yes, VNC isn't amazingly secure. You should always run it with a password. That's probably enough to make 99.999% of everyone malicious look for an easier target. You can also help reduce your VNC servers likelyhood of being found by running it on a port other than the default. That's Good Enough(tm) to stave off most baddies. –  Ian C. Mar 12 '10 at 6:34
    
If you're really paranoid you can look at a virtual session tool from NoMachine called NX: nomachine.com/select-package.php?os=linux&id=1 . No nearly as easy to setup and use as VNC but it does tunnel in over ssh so it's as secure as your ssh sessions now. Alternatively you could run an XServer on Windows like the one from the XMing project, ssh in and do port forwarding. This would let you launch GUI based apps that draw their displays on your Windows machine, securely. –  Ian C. Mar 12 '10 at 6:39
    
OK i will give it a try. It is on the Lan. So not going through a public network. –  Rohit Banga Mar 12 '10 at 6:39
    
VNC works. but there is one problem. I have rightnow tested only on localhost. I had firefox open on the host computer. when i tried to open vnc in the client session. it told me that firefox is already running. can't we have independent sessions or will the sessions be independent when done on a remote client. –  Rohit Banga Mar 12 '10 at 9:13

If you want to use the remote desktop client that is included in Windows, there is xrdp, a compatible server which runs on your Linux box, that I have used in the past when I wasn't allowed to install anything on a Windows machine...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.