Please,
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.
Thanks, Fernando.
Fernando,
do us a favor for archive sake, post what you had/used for the F17 version.
-thanks
On Wed, Jan 30, 2013 at 12:03 PM, Fernando Gozalo fgozalo0@alumno.uned.es wrote:
Please,
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.
Thanks, Fernando.
-- users mailing list users@lists.fedoraproject.org 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
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
On Wed, Jan 30, 2013 at 11:42 AM, Tom Horsley horsley1953@gmail.com wrote:
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@lists.fedoraproject.org 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
I doubt if what I have will help. It is from F14 or F15 I think.
I start x11vnc as a user, not as root. I think you start x11vnc as root.
sewill@localhost:~/.vnc <3:3> $ more xstartup #!/bin/sh
# Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & twm & rsewill@localhost:~/.vnc <3:4> $
rsewill@localhost:~/.vnc <3:4> $ ls certs passwd xstartup rsewill@localhost:~/.vnc <3:5> $
rsewill@localhost:~ <3:7> $ more .x11vncrc quiet bg usepw allow 192.168.1. # ssl forever avahi # gui tray rsewill@localhost:~ <3:8> $
I also needed to enable vncserver in the KDE settings tab, firewalld
Fernando Gozalo wrote:
Please,
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.
Grammar check warning: you have used the adjective "working" in the same sentence with the explitive/noun "gnome3."
Hi,
do us a favor for archive sake, post what you had/used for the F17 version.
First time I used this info (http://www.oracle-base.com/articles/linux/configuring-vnc-server-on-linux.ph...) to correlate the old and the new config.
To use the display number 10 this is the recipe:
1. Install tigervnc-server:
yum install tigervnc-server
2. Create the .service file:
cp /lib/systemd/system/vncserver@.service \ /lib/systemd/system/vncserver@:10.service
3. In the new file are instruccions to customize vncserver@:10.service. You need to change the "username" that will use this access. In a command:
sed -i -e 's/<USER>/username/g' /usr/lib/systemd/system/vncserver@:10.service
or, like me, customize the start line with "-geometry 800x600 -nolisten tcp -localhost". In a command:
sed -i -e 's/<USER>/username/g' \ -e 's/ExecStart(.*)"/ExecStart\1 -geometry 800x600 -nolisten tcp -localhost"/g' \ /usr/lib/systemd/system/vncserver@:10.service
4. Reload systemd config files:
systemctl daemon-reload
5. Enable the new service:
systemctl enable vncserver@:10.service
6. Before start the new service set a VNC password for "username":
su - username vncpasswd exit
7. Start the new service:
systemctl start vncserver@:10.service
When you want to access your VNC server you must open a SSH connection redirecting the port 5910 and then connect to localhost:10:
ssh -l username -L 5910:localhost:5910 your-vnc-server vncviewer localhost:10
Regards, Fernando.
Hi,
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 --
Thanks to all. I've found https://bugzilla.redhat.com/show_bug.cgi?id=896648
Waiting for a fix...
Thanks, Fernando.