Re: more Fedora Cookbook: VNC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 05 Jan 2008 21:09:35 +0900
John Summerfield <debian@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> 3.
>   gnome-session
> play with that for a while, then logout

It probably depends on the distribution, but I notice
on a lot of versions of linux the "gnome-session"
program all by itself isn't sufficient to get a
complete session up and running. I've taken to adding
these lines in my VNC xstartup script:

kill_agent="no"
if [ -z "$SSH_AUTH_SOCK" ]
then
   eval `ssh-agent -s`
   kill_agent="yes"
fi
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]
then
   eval `dbus-launch --sh-syntax --exit-with-session`
fi

run gnome-session or whatever here...

if [ "$kill_agent" = "yes" ]
then
   ssh-agent -k
fi

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux