- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- VNC log out how to log in
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2007 08:29 AM
тАО08-13-2007 08:29 AM
I open a linux remote virtual desktop via VNC (version E4.2.9). Just now, I did a "Log Out" via main menu - log out - ok. But, I meet problem when I wanna log in. The VNC window no any log in prompt like real linux desktop. No available on mouse right/left only F8 key.
How can I re-login in this VNC window? ( I know, I could kill this process of VNC xxx:1 and startup another VNC process via command vncserver).
Any answers will be very appricate
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2007 06:38 PM
тАО08-13-2007 06:38 PM
SolutionStart by looking at the '~/.vnc/xstartup' routine. The last line should be your windows manager.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2007 12:09 AM
тАО08-14-2007 12:09 AM
Re: VNC log out how to log in
ps -ef | grep vnc
Lets get a handle on whether the process is dead or not. I'm not sture at this point.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2007 01:13 AM
тАО08-14-2007 01:13 AM
Re: VNC log out how to log in
Thank you very much for your help.
Have a great day.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2007 01:24 AM
тАО08-14-2007 01:24 AM
Re: VNC log out how to log in
Below is my xstartup file
#cat .vnc/xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
exec gnome-session &
the last line is execute "Gnome" desktop when startup VNC, right? So, which one is my windows manager?
I have a another way to fix it, kill -9 "server1:1" process and re-start "vncserver". But, when I kill server1:1 and restart the nmuber became server:2, when kill :2 restart, number becaume :3. So, how to let the system use the server1:1 "1" again? is there a configuration file and parameter that let vncserver re-use.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2007 08:58 AM
тАО08-14-2007 08:58 AM
Re: VNC log out how to log in
'gnome-session' is your windows manager / desktop.
When you Log Out, that's what you are exiting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2007 07:00 PM
тАО08-14-2007 07:00 PM
Re: VNC log out how to log in
vncserver :1
to stop:
vncserver -kill :1
There's a file /etc/sysconfig/vncservers,
where you can configure the vnc to start on specific port(s) for specific user(s).Thus every time you'll reboot your system, the VNC will start listening on these ports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2007 01:32 AM
тАО08-15-2007 01:32 AM
Re: VNC log out how to log in
Thank you very much for your kindly help.
I know, vncserver restart and vncserver:1 can fix it. But, I remember there is a Linux server of our company can automatic use the lowest number via "vncserver" when the VNC process of the lowest number be stopped. For example: server:1 for root, server:2 for oracle. kill the process of server:1. root run "vncserver" again. It still used server:1 not server:3. Probably, I should remove some files or change some configurations of VNC.
But, It doesn├в t matter , I could use vncserver:1 to reuse the specific number.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2007 02:16 AM
тАО08-15-2007 02:16 AM
Re: VNC log out how to log in
cd /tmp
ll -al you will find some files like these: .X0-lock .... .X7-lock
rm -r .X*
vncserver
reuse :1 not :8