LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-24-2005, 12:21 AM   #1
Mleahy
Member
 
Registered: Jan 2004
Posts: 43

Rep: Reputation: 15
Vino on FC4 - accessible before Gnome login?


I've recently begun using FC4 (for about the third time - hopefully I can stick with it). I've got the Vino server running in Gnome for remote desktop access, but it seems that I cannot connect without logging onto the machine first. Can anyone think of a way to make Vino accessible before logging in, or maybe there's a way to remotely make the machine login to the Gnome desktop. I suppose this is something Linux experts wouldn't normally do, but as a newbie, having graphical access to the desktop would be a huge advantage for me. Since I'm running it on a dual boot system, it would be nice if I could reboot the machine remotely and still have the desktop environment accessible.

Thanks in advance for any suggestions...
Mike
 
Old 11-24-2005, 03:02 AM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Vino is just one type of a VNC server, it serves the current X session. There are several other vnc servers that allow a new X to be created upon server startup(tightvnc and realvnc come to mind.)

If youre looking for a way to log into a machine remotely via GDM, then VNC is not the right course of action. Its alot simpler to take an ssh connection, fire up a normal vnc server and then connect to that.

If you realy want to go thru with GDM, then I suggest you do some reading around the topics of LTSP since thats the smartest project using remote GDM, they have the best docs on it.
 
Old 11-25-2005, 03:26 AM   #3
Mleahy
Member
 
Registered: Jan 2004
Posts: 43

Original Poster
Rep: Reputation: 15
Thanks for the advice. I eventually learned that I could get TightVNC (or regular VNC for that matter) to show my desktop by configuring the script $HOME/.vnc/xstartup. Here's what mine looks like (for anyone else that's looking to accomplish the same):

#!/bin/sh

# Red Hat Linux VNC session startup script
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
setroot -solid grey
vncconfig -iconic & xterm -ls -title "$VNCDESKTOP Desktop" & twm &


Now, in order to be able to load the vnc client without having to physically be present to login on the server first, I can ssh into the server and run vncserver <options> :<display>. Then I can connect no problem, and it looks great.

I did notice that GNOME got confused about my keyboard (is this usual?) As a note to others, if you are prompted, make sure you choose the 'GNOME' settings, not the 'X' settings, or your keys will be all mixed up.
 
  


Reply



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
only root can login to gnome (FC4) mvo Linux - Newbie 7 09-14-2005 06:30 PM
[FC4] how to make commands more accessible? polemon Linux - Newbie 6 08-21-2005 10:13 AM
Install Login Screen on FC4 leohackr Linux - Software 1 08-03-2005 03:26 AM
Having troubles connecting to a vino vnc server from windows xp using tightvnc,help? brynjarh Linux - Software 0 01-12-2005 04:28 AM
vino in Gnome 2.8? jstreed Linux - Software 2 10-28-2004 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:27 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
Open Source Consulting | Domain Registration