Starting X remotely to start a vnc connection

wattst-dxuVLtCph9gsA/PxXw9srA at public.gmane.org wattst-dxuVLtCph9gsA/PxXw9srA at public.gmane.org
Wed Mar 29 19:08:50 UTC 2006


Quoting Jamon Camisso <jamon.camisso-H217xnMUJC0sA/PxXw9srA at public.gmane.org>:

> wattst-dxuVLtCph9gsA/PxXw9srA at public.gmane.org wrote:
> > Quoting Jamon Camisso <jamon.camisso-H217xnMUJC0sA/PxXw9srA at public.gmane.org>:
> >
> >> wattst-dxuVLtCph9gsA/PxXw9srA at public.gmane.org wrote:
> >>> Quoting Jamon Camisso <jamon.camisso-H217xnMUJC0sA/PxXw9srA at public.gmane.org>:
> >>>
> >>>> wattst-dxuVLtCph9gsA/PxXw9srA at public.gmane.org wrote:
> >>>>>> What happens if you try starting X with GDM/KDM/XDM? I usually do it
> >>>>>> this way with debian and then start vncserver and connect.
> >>>>>>
> >>>>>> Jamon
> >>>>> Sorry, I must sound clueless, but how do you start X with one of those?
> >>>> Like,
> >>>>> what is the command?  I can't seem to find it.
> >>>> Try /etc/init.d/gdm start. Substitute kdm/xdm depending on which you
> >>>> have installed.
> >>>>
> >>>> Jamon
> >>> It seems I don't have an /etc/init.d/gdm (or kdm or xdm).  I do have an
> >>> /etc/pam.d/gdm, but when I pass it start, I get permission denied, for
> both
> >>> regular user and root.  Any more thoughts?
> >> I could have sworn that Fedora Core 5 uses /etc/init.d. Take a look in
> >> the /etc/rc directories for an file like S99kdm (xx being a number
> >> between 1-99). For example, in /etc/rc5.0/ I have the file S99kdm --
> >> yours could be /etc/rc5.0/Sxxgdm/kdm/xdm (the xx being a number between
> >> 1-99). Perhaps switching to runlevel 5 with "init 5" from your ssh will
> >> bring up X as well. You do have kdm or gdm installed?
> >
> > Doing a quick find for files with *gdm* under /etc returns:
> >
> > /etc/security/console.apps/gdmsetup
> > /etc/gdm
> > /etc/pam.d/gdm
> > /etc/pam.d/gdmsetup
> > /etc/pam.d/gdm-autologin
> >
> > There are no files with kdm or xdm in it.  gdm in installed, according to
> yum.
>
> I apparently am the clueless one. Running /sbin/init 5 will bring up
> everything on your system, including gdm. To only bring up gdm, run
> /usr/sbin/gdm. Yeah... Got me there, making things far more complicated
> than they really are. Good learning for me though, so thanks.
>
> To anyone reading this: How does one change the default runlevel on
> Fedora? Whenever I boot Fedora (Core 5 x86_64), I end up at a prompt in
> runlevel 2. I'd like very much to not have to do anything at all and be
> greeted with the usual gdm screen in runlevel 5.
>
> Thanks,
>
> Jamon
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
>

FYI, this is what /usr/sbin/gdm returns when run as a normal user:

(process:4076): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table !=
NULL' failed

(process:4076): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table !=
NULL' failed

(process:4076): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table !=
NULL' failed

(process:4076): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table !=
NULL' failed

(process:4076): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table !=
NULL' failed

Run as root, it returns nothing, but I don't want to vnc into my computer as
root.

Thanks,

Tom Watts
wattst-dxuVLtCph9gsA/PxXw9srA at public.gmane.org


--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list