PDA

View Full Version : HOWTO: share your desktop with your friends


i3dmaster
June 22nd, 2005, 04:02 PM
You probably would have never thought this can be so easy now under Linux. I had long time with the other apps like normal vnc, xdmcp, etc cause they all have a session issue and the server side just could not allow you to listen on the current display screen. Ok, now let's see how we can share our current desktop to thr world.


sudo apt-get rfb vncviewer

Yes, that's all you need. if you have vncviewer already (I think most of us do), then you just need the server side rfb pkg. After apt gets it installed, then do

x0rfbserver

Easy, just put the password you need and some other settings you like, and then it will start to share your current desktop. And this is just needed for the first time. Later, you can just

x0rfbserver &>/dev/null &

Go to another box has network connectable to your rfb server, then use normal vncviewser to hook up and enjoy it... Its a very nice tool to do presentation under Linux.

SGC
June 22nd, 2005, 04:57 PM
I found x11vnc ( In the universe ) to be a better solution to connect to the real display (display :0 ) than rfb .

i3dmaster
June 22nd, 2005, 05:33 PM
I found x11vnc ( In the universe ) to be a better solution to connect to the real display (display :0 ) than rfb .

Good. thanks for sharing that. I just tried and its very cool, also more function then rfb. rfb is simple and easy to use, so they are all very good stuff as I can see.

Ride Jib
June 23rd, 2005, 12:47 AM
what ports need to be open/forwarded on my router for this to work?

spacemonkey
June 23rd, 2005, 01:14 AM
Can't you just go to System-Preferences-Remote Desktop and set it up from there? I've had vnc since I installed Ubuntu, no extra packages needed.

i3dmaster
June 24th, 2005, 10:03 AM
Good. thanks for sharing that. I just tried and its very cool, also more function then rfb. rfb is simple and easy to use, so they are all very good stuff as I can see.
The port is 5900

i3dmaster
June 24th, 2005, 10:26 AM
Can't you just go to System-Preferences-Remote Desktop and set it up from there? I've had vnc since I installed Ubuntu, no extra packages needed.

yep, that's using vino. But it does not have the man page for the server so not sure how to use the server flags and options. So you are pretty much stuck on using the vino-preference... The other thing I found is that most of the lightweight vncserver does not have options to adjust the geometry. The triditional vncserver has it but a little bit harder to config it to show the current screen... So if you have a bigger screen resolution than the viewer, the viewer couldn't see the whole screen...