Re: F18: ~/.vnc/xstartup example

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

 



On Wed, 30 Jan 2013 18:03:49 +0100
Fernando Gozalo wrote:

> could someone copy-paste a working ~/.vnc/xstartup so I can have a gnome3
> session when I access my computer using VNC?
> 
> The ~/.vnc/xstartup I used in F17 doesn't work in F18.

It has been years since the last time I got gnome
to work in a VNC session, it seems way too dependent
on 3D stuff to function reasonably. I do have a
working script, but I use FVWM and don't try
to run a full blown gnome 3. I think the main
trick to getting apps to work is to get a dbus
session started. This provides me a minimal session
where I can manually run other programs as I need them:

#!/bin/bash
exec > $HOME/.vnc/xstartup.log 2>&1
. $HOME/.bash_profile
unset SSH_AGENT_PID
unset SSH_CLIENT
unset SSH_AUTH_SOCK
unset DBUS_SESSION_BUS_ADDRESS
unset SSH_CONNECTION
eval `dbus-launch --exit-with-session --sh-syntax`
fvwm &
/usr/bin/xterm
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux