LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   tightvnc and slackware (https://www.linuxquestions.org/questions/slackware-14/tightvnc-and-slackware-884809/)

anti_user 06-06-2011 09:12 AM

tightvnc and slackware
 
Hello, folks!
I want to configure my tightvnc server installation to use my already running X session (on current :0 screen), but as i understand its not really and its working only at another screen. How can I configure to use it on my current screen?

Alien Bob 06-06-2011 09:31 AM

With tightvnc that will not be possible.
But if you use my tigervnc package instead (http://slackware.com/~alien/slackbuilds/tigervnc/) you can use the included x0vncserver to export your already running X session.

Remove tightvnc, install tigervnc. Then, set a password and start the x0vncserver like this:
Code:

vncpasswd
x0vncserver PasswordFile=~/.vnc/passwd

From another computer you can now start a vncviewer and connect to "yourcomputer":
Code:

vncviewer yourcomputer:0
The password that you just configured is the password that has to be entered in the vncviewer.

Eric

anti_user 06-06-2011 09:48 AM

Quote:

Originally Posted by Alien Bob (Post 4377821)
With tightvnc that will not be possible.
But if you use my tigervnc package instead (http://slackware.com/~alien/slackbuilds/tigervnc/) you can use the included x0vncserver to export your already running X session.

Remove tightvnc, install tigervnc. Then, set a password and start the x0vncserver like this:
Code:

vncpasswd
x0vncserver PasswordFile=~/.vnc/passwd

From another computer you can now start a vncviewer and connect to "yourcomputer":
Code:

vncviewer yourcomputer:0
The password that you just configured is the password that has to be entered in the vncviewer.

Eric

Thanks Eric! Another one question: how to automatically starting this service with X server?


All times are GMT -5. The time now is 10:34 PM.