Starting Xsession remotely, help
ok, i need to start an Xsession remotely on another comp, i have to root for bot remote comp and existing comp and also physical acess to both, i installed tightvnc, but it starts the session in some window manager i dont like, i need to start it in gnome, since it is on lan bandwidth is not a problem, i can use x11vnc to connect to that display, but first i need to start it on a virtual terminal there. help here plaease, also what command can i use to know which display are already running. Sorry for any questions that do not make sense, i have not much idea of this.
|
You can change the window manager that tightVNC uses by editing ~/.vnc/xstartup.
The last line will say "fvwm &" or something similar. Change this to "gnome &". That should get you into gnome (I've never used gnome with tightvnc so I could be wrong). As for the display #, Every time you start a new instance of the vnc server on the remote computer it will use the next available display. This will usually be display :1. But, if you start another instance it will be display :2. |
You'll probably actually need to change it to gnome-session, rather than gnome.
Also, instead of it being "gnome-session &", I would put Code:
gnome-session |
sorry that did not work, it is still not gnome, no difference.
|
#!/bin/sh
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & gnome-session & here is the xstartup |
sorry for th trouble, and for multiple posting, but it is working now... a reboot did the job. thanks.
|
All times are GMT -5. The time now is 01:24 AM. |