This is in principle possible using xdmx (distributed multihead X) which allows you to create a single desktop using two X-servers running on separate machines. To remove the created display, call vnc4server -kill :1, where instead of :1 you may set your new display's number.Then you will first need to move it to foreground ( fg), or kill it with kill $! (be cautious, it kills last process launched in background). Alternatively, you may launch it in the background ( x2x -east -to :1 &). for display :1 port number will be 5901) (display number is shown in the vnc4server's output)). Connect to the display created with vnc4server from your tablet (the port number is 5900 + display number (e.g.You won't be able to move apps from one display to another, but you may use one mouse and one keyboard to control them both. That command says your computer to act as if display :1 had been to the right of the screen (use -west option if you want it to be on the left). Of course, instead of 800x480 you have to set your tablet's resolution. To launch vnc server, use vnc4server -geometry 800x480 command.It launches gnome-fallback desktop (I don't know how to make gnome 3 launch in vnc). #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & # Uncomment the following two lines for normal desktop: X11vnc -clip 1280x1024+1281+0 plus any other x11vnc options to taste :) Now that the screen is bigger than your primary monitor, you have to make sure there is no panning or any other unwanted "feature" activated and also that the coordinates of your primary monitor's top left corner are 0x0. (extend it horizontally and make the vertical resolution the bigger of the two) So run xrandr -fb 2560x1024. The thread linked by recognitium has a really interesting idea, not sure whether he meant this one because I couldn't find the author he indicated and also because I followed up on the forum post there, I will post this separately and not as an edit:įirst, let's assume: the primary machine does have a screen resolution of 1280x800, the secondary machine that you want to extend your desktop to over VNC has screen resolution of 1280x1024 and you want the extended screen to be right of your primary screen. More X11vnc opts: -find, -clip, -display. Tl dr: xrandr -fb and x11vnc -clip together make a killer combo. VNC accessible without password through port 5900 in all internet interfaces. Gtf $W $H 60 | sed '3q d' | sed 's/Modeline//g' | awk '+0+0 #**WARNING** Unencrypted stream. # sed: get third line, delete 'Modeline', get first word, remove first and last characters Gtf $W $H 60 | sed '3q d' | sed 's/Modeline//g' | xargs xrandr -newmode The tutorial implemented as a script (Change the IP for use with the USB cable OR delete it and uncomment the line to use with Wi-Fi). ![]() step must be repeated for another connection. Running any of the 1 - 4 steps twice may output errors. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |