Posted: 12/22/2007 5:47:50 PM EDT
|
I am new to Linux and have a question I am running OpenSUSE 10.3 with KDE. I need to VNC into it but I do not want to start a new session. I want to control the actual desktop that is shown on the monitor. I have x11vnc installed on the server but I do not understand the switches. Can anybody help? |
|
I'm not familiar with Open SuSe (haven't used Suse in about 3 years). As fas as remote x11 sessions go you should have an option to connect to an existing session or start a new one, additionally, any deamons/services you start should remain running after you disconnect (if that's why you want a persistent session). You may want to try "NX" or "FreeNX" instead of VNC, there should be a package for SuSe available. If it was me I'd just use a BASH shell or SSH though and spare myself the headache. |
|
Ok here i show you do it. Pake sure you connect to port 5900. First, do you want to have to put in a password when you log in remotely? If so, run this first (without the quotes) "x11vnc -storepasswd" It'll ask for a password twice, then ask if it can save it in your home folder. Ok, done with that... Now, create the link, with the following command: "x11vnc -rfbauth /home/xxx/.vnc/passwd -ncache 10 -forever -gui&" (leave off the -gui if you don't want the interface, but you'll probably find that you need it...) Make sure you put the -forever (keeps it from exiting after you close the client) and put the "&" immediately after the last command - no space. That & tells it to background the task, and not open a window for it at all. If you DON'T want to have to put in a password at login, use: "x11vnc -ncache 10 -forever -gui&" Works good - last a long time. |