Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VNC Question
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
XST1
Apprentice
Apprentice


Joined: 27 Jan 2004
Posts: 163

PostPosted: Tue Jan 04, 2005 4:15 am    Post subject: VNC Question Reply with quote

Is there a way to set up my VNC server to run under screen 0 (:0)? I'd like to be able to connect to my main pc remotely and not through a whole other X session. Thanks.
Back to top
View user's profile Send private message
robind
Apprentice
Apprentice


Joined: 08 Oct 2004
Posts: 260
Location: California

PostPosted: Tue Jan 04, 2005 5:31 am    Post subject: Reply with quote

If you're using tightvnc, then yes (I'm not familiar with other vncservers). Read the manual, it's like...the first entry. vncserver :display.

Robin
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Tue Jan 04, 2005 8:01 am    Post subject: Reply with quote

The version 4 of realvnc should be able to you install an X11 module and configure it in your X config
Back to top
View user's profile Send private message
XST1
Apprentice
Apprentice


Joined: 27 Jan 2004
Posts: 163

PostPosted: Tue Jan 04, 2005 7:28 pm    Post subject: Reply with quote

nobspangle wrote:
The version 4 of realvnc should be able to you install an X11 module and configure it in your X config


Thats exactly what I would like to do. Everytime I use realvnc 4, it starts up with X's crap window software, but I want it to start up with KDE. Anyone know where the init file for it is?
Back to top
View user's profile Send private message
robind
Apprentice
Apprentice


Joined: 08 Oct 2004
Posts: 260
Location: California

PostPosted: Wed Jan 05, 2005 2:52 am    Post subject: Reply with quote

WHAT'S WRONG WITH TWM?

And no, I don't know where the init file is.

However:
Code:

killall twm && <start_other_window_manager> &
Back to top
View user's profile Send private message
battra
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2004
Posts: 77

PostPosted: Wed Jan 05, 2005 6:36 am    Post subject: Reply with quote

I'd use tightvnc:
Code:

$ emerge tightvnc



And put this in ~/.vnc/xstartup:

Code:

#!/bin/sh

xrdb $HOME/.Xresources
startkde &
Back to top
View user's profile Send private message
battra
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2004
Posts: 77

PostPosted: Wed Jan 05, 2005 6:41 am    Post subject: Re: VNC Question Reply with quote

XST1 wrote:
Is there a way to set up my VNC server to run under screen 0 (:0)? I'd like to be able to connect to my main pc remotely and not through a whole other X session. Thanks.


P.S. Your aim was to use KDE in VNC, I think. But, if you're still interested in accessing a current running X session (:0) remotely through VNC, there is a way to do that, too. Don't remember though, but already answered - search the forum and/or gentoo-wiki for the answer( http://gentoo-wiki.com/).
Back to top
View user's profile Send private message
pem
Guru
Guru


Joined: 29 Aug 2004
Posts: 390
Location: France

PostPosted: Sat Jan 08, 2005 1:03 pm    Post subject: Reply with quote

On my laptop, I use ssh to address my desktop box, which, obsiously, run a ssh server. Then, I remotely launch x0vncserver (it comes along with vnc) on the desktop box and make it acquire the already started display. On my laptop, I use tigthtvnc to have a hand on my desktop box.

I guess this is what you're looking for:
Code:
#On the laptop
ssh USER@DESKTOP x0vncserver PasswordFile=~/.vnc/passwd display=:0.0


Don't forget to generate the password file on the desktop box.
_________________
Registered user #30505
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