View previous topic :: View next topic |
Author |
Message |
XST1 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 27 Jan 2004 Posts: 163
|
Posted: Tue Jan 04, 2005 4:15 am Post subject: VNC Question |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
robind Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/11020446244183335b9c940.jpg)
Joined: 08 Oct 2004 Posts: 260 Location: California
|
Posted: Tue Jan 04, 2005 5:31 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
nobspangle Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/210249061640b0c1d626f5b.gif)
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Tue Jan 04, 2005 8:01 am Post subject: |
|
|
The version 4 of realvnc should be able to you install an X11 module and configure it in your X config |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
XST1 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 27 Jan 2004 Posts: 163
|
Posted: Tue Jan 04, 2005 7:28 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
robind Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/11020446244183335b9c940.jpg)
Joined: 08 Oct 2004 Posts: 260 Location: California
|
Posted: Wed Jan 05, 2005 2:52 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
battra Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Megaman/Mega_Man_2_-_QuickMan.gif)
Joined: 09 Nov 2004 Posts: 77
|
Posted: Wed Jan 05, 2005 6:36 am Post subject: |
|
|
I'd use tightvnc:
And put this in ~/.vnc/xstartup:
Code: |
#!/bin/sh
xrdb $HOME/.Xresources
startkde &
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
battra Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Megaman/Mega_Man_2_-_QuickMan.gif)
Joined: 09 Nov 2004 Posts: 77
|
Posted: Wed Jan 05, 2005 6:41 am Post subject: Re: VNC Question |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
pem Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/2100555766415dbfbd9f3e3.png)
Joined: 29 Aug 2004 Posts: 390 Location: France
|
Posted: Sat Jan 08, 2005 1:03 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|