Networking Forums

Networking Forums > Computer Networking > Linux Networking > VNC (Virtual Network Computing)

Reply
Thread Tools Display Modes

VNC (Virtual Network Computing)

 
 
Saruri.SMKN1Brebes@gmail.com
Guest
Posts: n/a

 
      07-21-2005, 11:02 AM
I have some problem when execute vncserver in linux, I can't see the
linux desktop which computer I remote. But I only see the IceWM Desktop
(Not same with running program (Desktop) computer which I remote. Could
you help me to get the solv?

regards

rurylinux


Do More with linux and open sources, OK!

 
Reply With Quote
 
 
 
 
Tauno Voipio
Guest
Posts: n/a

 
      07-21-2005, 12:01 PM
(E-Mail Removed) wrote:
> I have some problem when execute vncserver in linux, I can't see the
> linux desktop which computer I remote. But I only see the IceWM Desktop
> (Not same with running program (Desktop) computer which I remote. Could
> you help me to get the solv?
>


Linux is not Windows, and Linux VNC server does not
copy an existing X session, but it creates a session
of its own. This is the behaviour you see, and it
is perfectly correct.

Have a lok at x0vncserver instead of the standard
server if you want a more Windows-like system.

HTH

--

Tauno Voipio
tauno voipio (at) iki fi


 
Reply With Quote
 
Marco Dieckhoff
Guest
Posts: n/a

 
      07-21-2005, 12:12 PM
On 2005-07-21, (E-Mail Removed) <(E-Mail Removed)> wrote:
> I have some problem when execute vncserver in linux, I can't see the
> linux desktop which computer I remote. But I only see the IceWM Desktop
> (Not same with running program (Desktop) computer which I remote. Could
> you help me to get the solv?


I think you misunderstood how vnc works with linux:

With windows, you get the only desktop available: the one in use.

As linux is a multi user environment, you get a whole new x session
started with vncserver.

It is as if you just logged in a second time.

Therefore you do not get the desktop you see on the screen, but a
fresh, new, empty one.

--
Marco Dieckhoff
icq# 22243433
GPG Key 0x1A6C95BA -- http://www.frankonia-brunonia.de/keys
 
Reply With Quote
 
Saruri.SMKN1Brebes@gmail.com
Guest
Posts: n/a

 
      07-22-2005, 04:12 AM
OK, thanks for your explanation. But I need some configuration about
this file (/etc/vnc.conf). After I installed the execute file (rpm) in
redhat 9.0, this file is nothing. In an articles, I have read that file
configuration is in /etc/vnc.conf.

Buy the way, this is my command in my computer (IP : 192.168.1.45):

# vncsever
Then ;

New 'X' desktop is Pentium4C:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/Pentium4C:1.log

In another computer (IP : 192.168.1.44) , I do same command :
# vncserver :1 -geometry 800x600
Then ;

New 'X' desktop is Linux:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/Linux:1.log

After that, I do this command:

#vncviewer -fullscreen 192.168.1.45

then ;
vncviewer: ConnectToTcpAddr: connect: Connection refused
Unable to connect to VNC server

But, If I do this commnand :
#vncviewer 192.168.1.45:1
Password: xxxxxx
I can see the desktop on that computer (192.168.1.45). But not same
with running desktop.
Do you wanna help me again?

Best Regards,

rurilinux

 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      07-22-2005, 07:08 AM
(E-Mail Removed) wrote:
> OK, thanks for your explanation. But I need some configuration about
> this file (/etc/vnc.conf). After I installed the execute file (rpm) in
> redhat 9.0, this file is nothing. In an articles, I have read that file
> configuration is in /etc/vnc.conf.
>
> Buy the way, this is my command in my computer (IP : 192.168.1.45):
>
> # vncsever
> Then ;
>
> New 'X' desktop is Pentium4C:1
>
> Starting applications specified in /root/.vnc/xstartup
> Log file is /root/.vnc/Pentium4C:1.log
>
> In another computer (IP : 192.168.1.44) , I do same command :
> # vncserver :1 -geometry 800x600
> Then ;
>
> New 'X' desktop is Linux:1
>
> Starting applications specified in /root/.vnc/xstartup
> Log file is /root/.vnc/Linux:1.log
>
> After that, I do this command:
>
> #vncviewer -fullscreen 192.168.1.45
>
> then ;
> vncviewer: ConnectToTcpAddr: connect: Connection refused
> Unable to connect to VNC server
>
> But, If I do this commnand :
> #vncviewer 192.168.1.45:1
> Password: xxxxxx
> I can see the desktop on that computer (192.168.1.45). But not same
> with running desktop.
> Do you wanna help me again?
>


Please read my first response again: the standard VNC server
*does not* connect to an existing desktop. Get and read the
VNC documentation again.

--

Tauno Voipio
tauno voipio (at) iki fi

 
Reply With Quote
 
johnny bobby bee
Guest
Posts: n/a

 
      07-22-2005, 08:16 AM
(E-Mail Removed) wrote:
> I have some problem when execute vncserver in linux, I can't see the
> linux desktop which computer I remote. But I only see the IceWM Desktop
> (Not same with running program (Desktop) computer which I remote. Could
> you help me to get the solv?


use this as your VNC server:
http://www.karlrunge.com/x11vnc/
it lets you connect to an existing x-session on one PC, which then, you
can view with vncviewer on the client side.


--
Let's not complicate our relationship
by trying to communicate with each other.
 
Reply With Quote
 
chris-usenet@roaima.co.uk
Guest
Posts: n/a

 
      07-22-2005, 09:48 AM
(E-Mail Removed) <(E-Mail Removed)> wrote:
> By the way, this is my command in my computer (IP : 192.168.1.45):
> # vncsever
> New 'X' desktop is Pentium4C:1


OK, VNC has created a *NEW* desktop display on :1 (presumably :0 is
already assigned to your screen?)


> In another computer (IP : 192.168.1.44) , I do same command :
> # vncserver :1 -geometry 800x600
> New 'X' desktop is Linux:1


I don't see the relevance of this second server


> After that, I do this command:
> #vncviewer -fullscreen 192.168.1.45
> Unable to connect to VNC server


This is trying to view VNC display :0 on the first of your servers (.45),
but there isn't such a thing.


> #vncviewer 192.168.1.45:1
> Password: xxxxxx
> I can see the desktop on that computer (192.168.1.45). But not same
> with running desktop.


This is successfully connecting to the newly created VNC desktop 1 on
the first of your servers (.45). THIS IS NOT THE SAME AS WHAT YOU SEE
ON THE SCREEN OF THAT SERVER.


> Do you wanna help me again?


It's the same answer as someone else has already told you. VNC on
GNU/Linux platforms does not share an existing display; it creates a
new one.

I suggest you go back and read the advice in the other posts, because
one of them even gives you a correct alternative command to achive
your requirements.

Chris
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simulated NAT Traversal on Virtual Box | Two Virtual Interface - eth-0/eth1 Sumit Linux Networking 0 06-24-2011 01:09 AM
Distributed computing with routers... William R. Walsh Wireless Internet 0 09-07-2007 04:06 AM
computing and network support moffs Home Networking 1 09-11-2006 09:15 PM
GRID computing Christo Home Networking 8 04-23-2005 10:26 PM
OT - GRID Computing Christo Linux Networking 3 04-15-2005 06:38 PM



1 2 3 4 5 6 7 8 9 10 11