PDA

View Full Version : VNC!!!



chris-harry
06-06-2005, 07:47 AM
ok, i need info on how to make this work... me and me friend have been trying for the last past hour to try and make this work, but he can't find me and i cant find him... but i can view meself... all we want to do on it is play around... :D:D

UnderScore
06-06-2005, 03:21 PM
On Linux/Unix, run:
vncserver -geometry 1024x768 -depth 24
If you haven't already run it, then it will ask you to secure it with a password.
Next it will run and give you display information:
New 'my-test-machine:1 (james)' desktop is my-test-machine:1

Starting applications specified in /home/james/.vnc/xstartup
Log file is /home/james/.vnc/my-test-machine:1.log
That :# is very important to get vnc connected.

On windows I use RealVNC 4 from www.realvnc.com. On linux I krdc which is the built in KDE remote desktop connection (http://docs.kde.org/development/en/kdenetwork/krdc/using-krdc.html) which knows the vnc protocol, command: krdc. Or I use the xvncviewer xvnc4viewer commands. When connecting to a linux/unix vnc desktop you MUST include the display info, the :#, so that it knows to connect to that desktop. So to connect to my-test-machine I would enter the machine's hostname/IP immediatley follows by the display number: 192.168.100.83:1.

This display number is necessary to connected to a linux/unix machine because you can have multiple vnc sessions for multiple users from 1 machine. If you trying to connect to a vnc running on a windows machine, then the display number is not necessary as VNC for windows can not provide multiple desktops for multiple users from 1 machine.

If you successfully get connected to a linux/unix box and you do not see your usual KDE/GNOME/IceWM/WindowMaker/etc desktop, then it is because vnc did not start your normal X session but rather ran a boring ugly twm x session. To change this you must edit the /home/username/.vnc/xstartup file and tell it to start either KDE/GNOME/IceWM/WindowMaker/etc.

To end a vnc session on a linux/unix machine, use the command line:
vncserver -kill :#
where the :# is the display number of the session you want to kill. You do not need to run it from the physical console or a ssh session. You can run it right from a running vnc session so that it will self terminate.

I hope this helps.
James

pureone
06-07-2005, 07:07 AM
i belive vnc for debian is java based. so you have to view it with your web browser.


netstat -tupln will show the listerning port its using.

markb
06-07-2005, 11:59 AM
i belive vnc for debian is java based. so you have to view it with your web browser.

netstat -tupln will show the listerning port its using.
The web interface to VNC is available on all platforms (there is nothing different about debian). However, VNC works better and faster using a proper VNC client. I use the standard realvnc vncserver + vncviewer and they work well.

diogenes
06-07-2005, 09:33 PM
i prefer ultr@NVC

but i dont know how to complile and run stuff on linux
andbody can help me understand how

i am trying to install 3 things and dont know how

WASTE (encrypted decentralized p2p)
Nicotine (soulseek linux clone)
UltraVNC (remote control)

also once i learn how to install linux software how do i keep these on the boot cd setup?
rebuild? and how

UnderScore
06-07-2005, 09:42 PM
i prefer ultr@NVC

but i dont know how to complile and run stuff on linux
andbody can help me understand how

i am trying to install 3 things and dont know how

WASTE (encrypted decentralized p2p)
Nicotine (soulseek linux clone)
UltraVNC (remote control)

also once i learn how to install linux software how do i keep these on the boot cd setup?
rebuild? and how Make your own post about this. Please do not put your support requests at the end of somone else's. If you make your own post I will provide support as I already have it all typed out.

diogenes
06-07-2005, 10:40 PM
http://www.knoppix.net/forum/viewtopic.php?p=85625#85625

chris-harry
06-11-2005, 07:23 AM
thank you all people... i am testing it today... so, if i dont ask anymore questions, you know it worked...

THANK YOU!

okie
08-25-2005, 08:27 AM
I want get Desktop display:0 in my Windows.
How to set this...
When I type >vncserver [defaults] it showed me X Server Display:1
That NOT display the Real desktop but virtual one. I dont want this...

Pleasse HELP.. how I can view REAL desktop linux in Windows [display:0 or 5900]

Please write the instruction here... Thanks

okie

patelbhavesh
01-16-2006, 12:44 AM
I want get Desktop display:0 in my Windows.
How to set this...
When I type >vncserver [defaults] it showed me X Server Display:1
That NOT display the Real desktop but virtual one. I dont want this...

Pleasse HELP.. how I can view REAL desktop linux in Windows [display:0 or 5900]

Please write the instruction here... Thanks

okie
I have been able to share the :0 display on a monitor and have been able to remote control it at the same time from another machine.
It is very simple
Just download x11vnc from http://www.karlrunge.com/x11vnc/
Follow the instructions on the website and you will be up and running in 5-10 mins.

NuxIT
04-27-2006, 03:19 PM
Marked for later. When I do my VNC hookup.