How to get back to the desktop in Linux?

Cooky

Golden Member
Apr 2, 2002
1,408
0
76
Quick question:
I used vncviewer on a Linux box to connect to a PC in full screen mode. Now I can't get back to the desktop or terminate the vncviewer.
Anyone know what I should do, besides shutting down the PC??
 

Cooky

Golden Member
Apr 2, 2002
1,408
0
76
Right or left mouse click has no effect at all. Clicking the middle bottom gives me a sub menu (kinda like when you right click on a Windows PC).
I have options to launch programs and switch to different workspaces but no matter what I choose, I'm stuck w/ the vncviewer in full screen mode. It wouldn't go anywhere.
 

Cooky

Golden Member
Apr 2, 2002
1,408
0
76
"control-alt-F2 doesnt work?"
I was able to reboot after loggin in under command-line interface.
Thanks.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Cooky
"control-alt-F2 doesnt work?"
I was able to reboot after loggin in under command-line interface.
Thanks.

Why not just kill the vncviewer process?
 

Cooky

Golden Member
Apr 2, 2002
1,408
0
76
n0cmonkey - "Why not just kill the vncviewer process?"
Good question, I thought about it but wasn't exactly sure of the command, vncviewer -kill ?? Also, how can I find out the process ID?? ps doesn't give me active processes opened from another session.

nitsuj3580 - "linux version of alt+tab to get to a different prog? "
Pressing alt+tab gives me option to jump to different prog but no matter which program I choose, my screen stays at the vncviewer and wouldn't go anywhere.

Once again, thanks for all of your suggestions!
 

Kappo

Platinum Member
Aug 18, 2000
2,381
0
0
1) to get the pid just do PS -au (or you can change consoles and log in as root) and do a "kill 1774" (orwhatever your pid is) on vncviewer.

2) the option "allow vnc to remain on top of all other applications" should be unchecked and also, disable the thing that says "on clean exit only" for how to close the window.

I got this working last night and had some issues very similar to yours :D
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Cooky
n0cmonkey - "Why not just kill the vncviewer process?"
Good question, I thought about it but wasn't exactly sure of the command, vncviewer -kill ?? Also, how can I find out the process ID?? ps doesn't give me active processes opened from another session.

. . .

Once again, thanks for all of your suggestions!

ps -ef | grep vnc

kill <pid>

man ps
man kill
 

civad

Golden Member
May 30, 2001
1,397
0
0
just wondering...

use just 'ps' or 'ps aux'??

-->Been using th latter whenever needed; though the 'needed' is abt once a month.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: civad
just wondering...

use just 'ps' or 'ps aux'??

-->Been using th latter whenever needed; though the 'needed' is abt once a month.

ps -auxww is what I use. Its a BSD though. SysV style appears to be ps -ef.