Partizaan
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.
fenriz_
QUOTE(Partizaan @ Dec 7 2004, 07: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.
*



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.
Partizaan
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.
fenriz_
But then do you get anything if you try http://linuxbox:5901 ??
cornstalk
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.com/HOWTO_Use_TightVNC_...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.
Partizaan


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


result = RFB 003.003

weird dry.gif

thanx guys
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.