bash - Linux X-Session Script -


okay, have strange issue. trying create x-session script automatically log remmina remote desktop, , return login screen when remote desktop disconnected. here script x-session calls:

#! /bin/bash  gnome-wm & sleep 10 exec remmina -c /home/user/.remmina/opi.remmina; logout 

this correctly connects requested remote desktop, when session logged out nothing happens, screen freezes, mouse works nothing active. if adjust script call firefox instead so:

#! /bin/bash  gnome-wm & sleep 10 exec firefox; logout 

it works expected. firefox loads, , when closed, returned login screen. ideas?

do not use exec makes firefox take on of script:

exec firefox

must be:

firefox


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -