Ask Your Question

remote access F18 from Win7

asked 2013-01-31 16:07:27 -0500

tcoburn gravatar image

in previous versions of Fedora, I always used freeNX, but is there an easier way to remote access a computer running Fedora 18 from a Windows 7 machine?

I suppose I could still use freeNX server and nomachine like I always did in Fedora 9 and 10, but that requires configuring Samba to transfer over an encrypted file to get the NX server running, is there an easier way? I've seen the tightVNC method from Fedora 16 but that looks more difficult yet.


edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2013-10-18 09:50:54 -0500

cobra gravatar image

updated 2013-10-18 10:10:19 -0500

If your Win machine and your F18 machine are both protected from the internet, i.e. they're both behind a firewall or router which does firewalling, then VNC is pretty easy. Here's the quick guide:

  1. Install VNCserver on your Fedora machine ('yum install vncserver')
  2. Edit /etc/sysconfig/vncservers on the Linux box to add the user and display number you want to use
  3. Create an xstartup file for that user: ~/.vnc/xstartup - it should contain the kickoff line for their chosen environment, e.g. 'startkde' or whatever.
  4. Use the vncpasswd command to set that user's vnc access password
  5. Open the vnc port on the Linux firewall (if running), remember it's port 590X where X is the screen number
  6. Start vncserver on your Linux box with (as root) 'chkconfig vncserver on' followed by 'service vncserver start'.
  7. Install tightvnc, realvnc or your chosen package on Windwos, run it, and connect to your Linux machine by its hostname/ip and screen number

It might seem complicated, but each step is pretty straightforward and at the end it gives you a desktop session over VNC. If you're using this alongside the ssh server stuff proposed in other answers, then you can forward your vnc session port over the ssh session. Then you don't have to expose your vnc port on your Linux firewall.

edit flag offensive delete link more

answered 2013-10-18 09:17:31 -0500

Hi: It will depend on what do you want to do. For me ssh (putty) + Xming** is more than enough. The good thing is that you don't need anything special on the Fedora box (other than enable ssh).

Kind regards


edit flag offensive delete link more

answered 2013-10-18 03:30:45 -0500

totaam gravatar image

updated 2014-03-21 03:06:47 -0500

Try (sorry not a link)

Either using the standard method on the homepage, or using "xpra shadow" mode if you want to access an existing display (shadowing). With recent versions, you can clone the existing display to your windows desktop (in a window) with one command:

xpra shadow ssh:username@FEDORAHOST:DISPLAY
edit flag offensive delete link more

Question Tools


Asked: 2013-01-31 16:07:27 -0500

Seen: 622 times

Last updated: Mar 21 '14