Forums: Linux Vnc Server - Win Client - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Linux Vnc Server - Win Client Linux VNC Server

#1 User is offline   Partizaan 

  • Sergeant First Class
  • Icon
  • Group: Members
  • Posts: 367
  • Joined: 13-February 04

Posted 07 December 2004 - 04:26 AM

Prolly a stupid question but here it goes:

I am running an VNC server deamon on my linux. With my windows (firefox java-applet) an can connect to the deamon (the server) however i always get another tty. For example I am in KDE tty1 (on the linux), i connect from my windows to the linux server. Log in, all ok but i get tty3 in another desktop (not kde).

Now this can be cool if u got an non legit remote shell, but i dont want that. I want to see my mouse move. Now prolly i got to edit some conf. but can somebody who uses this point me in the right direction.

Thanx and respect.
0

#2 User is offline   fenriz_ 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 67
  • Joined: 10-September 04

Posted 07 December 2004 - 06:10 AM

Partizaan, on Dec 7 2004, 07:26 AM, said:

Prolly a stupid question but here it goes:

I am running an VNC server deamon on my linux. With my windows (firefox java-applet) an can connect to the deamon (the server) however i always get another tty. For example I am in KDE tty1 (on the linux), i connect from my windows to the linux server. Log in, all ok but i get tty3 in another desktop (not kde).

Now this can be cool if u got an non legit remote shell, but i dont want that. I want to see my mouse move. Now prolly i got to edit some conf. but can somebody who uses this point me in the right direction.

Thanx and respect.


I don't use VNC much but I believe that it you want to connect to a different terminal you have to state that in the port designation. For example if you wanted to connect to display 1 then you go through to port 5901 or host:1 or host::5901.
0

#3 User is offline   Partizaan 

  • Sergeant First Class
  • Icon
  • Group: Members
  • Posts: 367
  • Joined: 13-February 04

Posted 07 December 2004 - 07:30 AM

Yes the portnumbers make the tty. example

I boot up the server:

root@LinuxBox:/usr/bin# find *vnc*
Xrealvnc
Xvnc
jvncviewer
realvncconnect
realvncserver
vncconnect
vncpasswd
vncpasswd.real
vncserver
vncviewer
xrealvncviewer
xvncviewer
root@LinuxBox:/usr/bin# realvncserver
Found /usr/share/vnc-java for http connections.

New 'X' desktop is LinuxBox:2

Starting applications specified in /etc/X11/Xsession
Log file is /root/.vnc/LinuxBox:2.log

then i can connect to -> http://linuxbox:5802 (mark the 2)

but it gives me tty2 on the viewer side (winbox). I dont want tty2 i want to server to do like this:
New 'X' desktop is LinuxBox:0 <-- zero the tty i am in on linux.

Thanx for the help.

EDIT: I dont want to swap betweet TTY from the client side. I want directly the right TTY on connect.
0

#4 User is offline   fenriz_ 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 67
  • Joined: 10-September 04

Posted 07 December 2004 - 11:27 AM

But then do you get anything if you try http://linuxbox:5901 ??
0

#5 User is offline   cornstalk 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 59
  • Joined: 27-December 03

Posted 08 December 2004 - 09:41 AM

That's the normal behaviour of VNC on Unix-like operating systems.
Here is a tutorial from gentoo-wiki to "solve" this:
http://gentoo-wiki.c...ting_X_Sessions
The interesting part for you should be "Configuring /etc/X11/XF86Config or /etc/X11/xorg.conf" if you don't want/need jpeg compression.
0

#6 User is offline   Partizaan 

  • Sergeant First Class
  • Icon
  • Group: Members
  • Posts: 367
  • Joined: 13-February 04

Posted 08 December 2004 - 11:13 AM

Quote

But then do you get anything if you try http://linuxbox:5901 ??


result = RFB 003.003

weird <_<

thanx guys
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

  • Share



Our Sponsors:


SwiftLayer Affiliate Web Hosting