Re: Fedora 23 KDE Desktop sharing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/10/2016 11:07 AM, Gary Baribault wrote:
Hello All,

     I've been running Fedore for years, and it used to be I could just
walk the menus and share my desktop. That doesn't seem to work any more.
I've googled until my fingers bled... I can get VNCServer up and running
but when I access it from another machine I get a desktop but it's a new
desktop. I want to access the existing desktop from another computer...

I know, it's dangerous, but my FW to the internet is a CentOS box with
SSH and to get to my desktop you need to ssh to my FW with proper
credentials, and forward a tunnel to my desktop and then log in there as
well, so I'm comfortable with the security.

So, how do I set it up to share the existing desktop?

You need to a) make sure you've installed the "tigervnc-server-module"
RPM (which provides the /usr/lib64/xorg/modules/extensions/libvnc.so
module); and b) add the "vnc" module to X.

To do the latter, I have a file:

	/etc/X11/xorg.conf.d/00-system-setup-vnc.conf

that contains this content:

	# This file was manually created by Rick Stevens
	Section "Module"
	    Load "vnc"
	EndSection

	Section "Screen"
	    Identifier "Screen0"
	    Device "Videocard0"
	    Option "SecurityTypes" "VncAuth"
	    Option "UserPasswdVerifier" "VncAuth"
	    Option "passwordfile" "/path/to/your/vncpasswd/file"
	EndSection

Obviously, replace "/path/to/your/vncpasswd/file" with the appropriate
stuff (the double quotes MUST be there) and you'll need to create
that password file and password using

	vncpasswd /path/to/your/vncpasswd/file

Then reboot and you SHOULD be able to just "vncviewer remotehostname",
enter the password you used for the "vncpasswd" command and the main
main desktop should appear (assuming your firewall permits incoming
connections for that port, typically TCP port 5900).

You can also tunnel the remote VNC session via ssh:

	vncviewer --via user@hostname hostname

You'd need to put in the ssh password first, then the VNC password.
I do this to access my desktop at home (my firewall only permits
incoming ssh sessions from my office IP or my internal home network).

Alternately, you can use something like TeamViewer. It's up to you.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-        Brain:  The organ with which we think that we think.        -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux