Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I know this question has been asked before but I'm not really seeing a definitive answer so pardon the repeat...
I would like to be able to remote into an 'active' session as opposed to creating a new session onmy Fedora box. When I VNC into the box currently it creates a new session and after closing the connection so does it close the processes that were running withthe session. VNC does what I want it to do except allow me to pick-up where I left off or choose a particular session to login into.
Is this possible? How are people doing this? I ran across this app but don't know anything about it (h**p://xxx.nomachine.com/products.php), anyone using it or a similar program to do the above?
When i VNC into my Debian box it continues from whatever state it's left in, VNC just opens up a graphical 'view' into your system, with the ability to remote admin it. Anything you run on your system should continue unless explicitly killed by you locally or remotely, not sure why it's opening up a new session each time.
I had this same issue, where an attempt to vnc into an established session would actually open a new session for me - ie., I wanted to view an established desktop, but I was given a new one....
I'm a bit foggy on the whys and wherefores, etc., and I attributed the problem to what I consider a unique setup that I have, however, IIRC, I got around the problem by using x11vnc as the server on the desktop I wished to v and c.
"When I VNC into my Debian box it continues from whatever state it's left in,"
I get prompted for a login and if I leave an application running and then try to login again that application has ended...
I'm running Fedora and it appears that VNC is an application that it includes. Would I need to uninstall it to use x11vnc or just install and and move on?
i run vino on my main linux machine, so a 'vnc server' is always running, and then i run x11vnc on the machine/session I want vncviewer to view and control - so it's running over top of an existing vnc instance.
that being said, my setup may be rare because it involves a thinclient setup; all i can suggest is that you try it both ways and see what works.
x11vnc was exactly what I'm looking for allowing you to remote into an active session, thanks!!
I have a follow up question,
Since I'm fairly new to Linux and Fedora where and how should I start x11vnc when the machine boots? does a session need to be started or can I log in using a user then be able to log in/out using x11vnc?
As far as I know, a user would have to be logged into gnome or kde, hence an active X session, for x11vnc to be launched.
That being said, I launch x11vnc automatically when gnome starts up. I'll edit this post and post the details when I get to my *nix box later today....
I would like to be able to remote into an 'active' session as opposed to creating a new session on my Fedora box.
Sounds like a job for 'screen'. If I have to run a lengthy task (such as a script that will take a while to run), I will start a screen session by typing 'screen', then run whatever I want to, then do a Ctrl-A, followed by a D (for detach). When you log back in you can then access your screen session.
As far as I know, a user would have to be logged into gnome or kde, hence an active X session, for x11vnc to be launched.
That being said, I launch x11vnc automatically when gnome starts up. I'll edit this post and post the details when I get to my *nix box later today....
cheers,
I would like to launch x11vnc upon starting the box.
I'm using KDE but am not really sure if I just need to run a script or what??? Since I'm not that familiar yet with Linux when I read the "How to" it was just vauge enough for me not to understand...
This supposedly is all that is needed at boot time -
I created a script in /etc/X11/xinit called xvnc.sh with the following "x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/myvncpasswd -forever -b" and at boot it seems to work now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.