LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-22-2010, 01:04 AM   #1
roshanekka
LQ Newbie
 
Registered: May 2010
Posts: 28

Rep: Reputation: 15
How to stay logged in on gnome.


Hello,

how to stay logged in to my gnome even if i directly close the VNC viewer without logging out.

i always get Incorrect password if i dont logout while closing the VNC client.

How to do this any ideas.

I want that when ever i connect my VNC i will be on the same place where i was working last time.
 
Old 06-25-2010, 09:42 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,865
Blog Entries: 27

Rep: Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662Reputation: 4662
I am not a VNC user, but I would not want any door into one of my machines to keep me logged in after a disconnect.

It's like leaving a window open and going away. It invites an unwanted guest to come visit.

If the computer is on a completely private network unconnected to any other network and wholly under your control, maybe, but otherwise the idea sort of gives me the willies.

Just my 2 cents.
 
Old 06-26-2010, 07:55 AM   #3
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
Any success or progress so far?

I am pretty sure vnc is designed to log you out.. although I'd check if there are any switches which you can set either when you boot it or if you compile a copy which is more dedicated to your needs.
 
Old 06-26-2010, 11:44 PM   #4
roshanekka
LQ Newbie
 
Registered: May 2010
Posts: 28

Original Poster
Rep: Reputation: 15
i understand that the logged in Desktop will not be secure.

i can logout also. i want it to be logged in always because after i get logged out from the system. then if i try to login again then i cant do.

i get a popup to enter the pass but if i enter the Pass i get a error "Incorrect Password", and i enter the correct password.

then to login i have to first login to SSH and i have to restart the vncserver. then i am able to login again.
 
Old 06-27-2010, 07:26 AM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,111

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
I start a vnc server, running as my username, at boot, and just leave it running (it's on my secure LAN only) with this line in /etc/rc.local just before the final exit 0
Code:
# Start a vnc server for tredegar
su - tred -c "cd /home/tred/ && vncserver :1 -geometry 1024x768 -depth 24" 2>/dev/null &
You can connect with vncviewer server:1 You only need your vncpassword for the first connection.

To disconnect, just close the vncviewer window. All programs will continue running on the vncserver, you just can't see them.

To reconnect: vncviewer server:1 and you are back where you left it.

If you "logout" the vncserver will be killed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Regular user accounts wont stay logged in aes canis Slackware 12 01-10-2010 01:43 AM
[SOLVED] Gnome will not remain logged in ctkroeker Linux - Desktop 1 10-13-2009 03:59 PM
Text based browser - Can't stay logged in a website LarryLevan Linux - Newbie 27 09-29-2009 03:58 PM
why is gnome logged on behind kde? abbott Linux - Newbie 2 06-10-2005 10:37 AM
can't stay logged in at runlevel 5 trb Linux - Software 2 05-25-2005 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration