Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do I get TightVNC to connect to current session?[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
knodi
n00b
n00b


Joined: 05 Sep 2005
Posts: 29

PostPosted: Mon Sep 12, 2005 5:25 pm    Post subject: how do I get TightVNC to connect to current session?[SOLVED] Reply with quote

I followed this HOWTO http://gentoo-wiki.com/HOWTO_Xvnc_terminal_server and it works well. But it opens up a new session everytime, which is nice. But how do I get it to connect to the current session?

Last edited by knodi on Tue Sep 13, 2005 2:24 am; edited 1 time in total
Back to top
View user's profile Send private message
opentaka
l33t
l33t


Joined: 18 Feb 2005
Posts: 840
Location: Japan

PostPosted: Mon Sep 12, 2005 5:34 pm    Post subject: Reply with quote

emerge x11vnc

on server side:
dp
Code:
 x11vnc -display :0


and

emerge vncviewer(tightvnc or watever)

then

Code:
vncviewer server.ip.address


isnt this much easir than what you trying to do?

cheers,
_________________
"Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
Back to top
View user's profile Send private message
knodi
n00b
n00b


Joined: 05 Sep 2005
Posts: 29

PostPosted: Mon Sep 12, 2005 7:31 pm    Post subject: Reply with quote

when I do
Code:
x11vnc -display :0


I get this error:

Code:
Settings:
 display:    :0
 authfile:   null
 subwin:     0x0
 -sid mode:  0
 flashcmap:  0
 force_idx:  0
 visual:     null
 overlay:    0
 ovl_cursor: 1
 scaling:    0 1.00000
 viewonly:   0
 shared:     0
 conn_once:  1
 timeout:    0
 inetd:      0
 connect:    null
 connectfile null
 vnc_conn:   1
 allow:      null
 input:      null
 passfile:   null
 accept:     null
 gone:       null
 users:      null
 using_shm:  1
 flipbytes:  0
 onetile:    0
 solid:      null
 blackout:   null
 xinerama:   0
 xrandr:     0
 xrandrmode: null
 padgeom:    null
 logfile:    null
 logappend:  0
 rc_file:    ""
 norc:       0
 bg:         0
 mod_tweak:  1
 isolevel3:  0
 xkb:        0
 skipkeys:   null
 addkeysyms: 0
 xkbcompat:  0
 clearmods:  0
 remap:      null
 norepeat:   1
 nofb:       0
 watchbell:  1
 watchsel:   1
 watchprim:  1
 cursor:     1
 multicurs:  0
 curs_mode:  null
 xfixes:     1
 alphacut:   240
 alphafrac:  0.33
 alpharemove:0
 alphablend: 1
 cursorshape:1
 cursorpos:  1
 xwarpptr:   0
 buttonmap:  null
 dragging:   1
 ptr_mode:   2
 inputskip:  10
 speeds:     null
 debug_ptr:  0
 debug_key:  0
 defer:      30
 waitms:     30
 take_naps:  1
 sb:         60
 sigpipe:    null
 threads:    0
 fs_frac:    0.75
 gaps_fill:  4
 grow_fill:  3
 tile_fuzz:  2
 snapfb:     0
 gui:        0
 gui_mode:   null
 noremote:   0
 safemode:   1
 deny_all:   0

[b]12/09/2005 11:37:38 x11vnc version: 0.7.1 lastmod: 2005-02-23
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
12/09/2005 11:37:38 XOpenDisplay failed (:0)[/b]
Back to top
View user's profile Send private message
opentaka
l33t
l33t


Joined: 18 Feb 2005
Posts: 840
Location: Japan

PostPosted: Tue Sep 13, 2005 12:54 am    Post subject: Reply with quote

read x11vnc main page please.xhost perm error.
_________________
"Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
Back to top
View user's profile Send private message
knodi
n00b
n00b


Joined: 05 Sep 2005
Posts: 29

PostPosted: Tue Sep 13, 2005 1:30 am    Post subject: Reply with quote

thx, it works.

now shower then tightvnc new session thing but x11vnc works for current session.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum