We don't need more than the currently logged in user to have access to the X session, so don't grant X host access to other users.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			241 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			241 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| # Disable access control
 | |
| xhost +SI:localuser:$USER
 | |
| 
 | |
| # Themes, etc
 | |
| gnome-settings-daemon &
 | |
| 
 | |
| # Fallback cursor
 | |
| xsetroot -cursor_name left_ptr
 | |
| 
 | |
| # Keyboard repeat rate
 | |
| xset r rate 200 60
 | |
| 
 | |
| # Start Emacs
 | |
| exec dbus-launch --exit-with-session emacs
 |